Skip to main content
POST
/
projects
/
list
Python
import os
from unstructured import UnstructuredClient

client = UnstructuredClient(
    username=os.environ.get("UNSTRUCTURED_USERNAME"),  # This is the default and can be omitted
    password=os.environ.get("UNSTRUCTURED_PASSWORD"),  # This is the default and can be omitted
)
projects = client.projects.list()
print(projects.limit)
{
  "projects": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "user_id": "<string>",
      "name": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "description": "<string>",
      "data_source": [
        "<string>"
      ],
      "data_slice": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "taxonomy": [
        "<string>"
      ],
      "sensitive_data": false,
      "unique_data": false,
      "relevant_data": false
    }
  ],
  "total": 123,
  "limit": 123,
  "offset": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.deasylabs.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
limit
integer
default:100
offset
integer
default:0
search_query
string | null

Response

Successful Response

projects
ProjectResponse · object[]
required
total
integer
required
limit
integer
required
offset
integer
required