Query parameters
-
folder_id
string Id of the folder to list documents for.
-
conversation_id
string 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.
GET
/documents
curl \
--request GET https://getcody.ai/api/v1/documents \
--header "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
}
}
}