List Documents

GET /documents

Get all documents

Query parameters

  • Id of the folder to list documents for.

  • Id of the conversation to only list documents the conversation is focused on.

  • keyword string

    Keyword to filter the list to documents that partially match the name.

Responses

GET /documents
curl \
 -X GET https://getcody.ai/api/v1/documents \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": [
    {
      "id": "string",
      "name": "string",
      "status": "syncing",
      "content_url": "string",
      "folder_id": "string",
      "created_at": 42
    }
  ],
  "meta": {
    "pagination": {
      "count": 42,
      "total": 42,
      "per_page": 42,
      "total_pages": 42,
      "next_page": 42,
      "previous_page": 42
    }
  }
}