Skip to main content
GET
/
ai
/
documents
/
list
List documents
curl --request GET \
  --url https://api.getcargo.io/v1/ai/documents/list \
  --header 'Authorization: Bearer <token>'
{
  "documents": [
    {
      "uuid": "<string>",
      "workspaceUuid": "<string>",
      "userUuid": "<string>",
      "title": "<string>",
      "content": "<string>",
      "kind": "text",
      "createdAt": "<string>",
      "deletedAt": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

uuid
string
required

Document identifier.

limit
string

Maximum number of documents to return.

offset
string

Number of documents to skip.

Response

Successful response

documents
Documents · object[]
required

List of documents.