Skip to main content
GET
https://app.autocalls.ai/api/
/
user
/
knowledgebases
/
{knowledgebaseId}
/
documents
/
{documentId}
Get document
curl --request GET \
  --url https://app.autocalls.ai/api/user/knowledgebases/{knowledgebaseId}/documents/{documentId} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": 1,
    "name": "Product Manual",
    "description": "Complete product user manual",
    "type": "pdf",
    "type_label": "PDF",
    "status": "active",
    "status_label": "Active",
    "created_at": "2025-01-05T10:30:00.000000Z",
    "updated_at": "2025-01-05T10:35:00.000000Z"
  }
}
This endpoint returns the details of a specific document within a knowledgebase.

Path Parameters

knowledgebaseId
integer
required
The unique identifier of the knowledgebase
documentId
integer
required
The unique identifier of the document

Response

data
object
The document object
{
  "data": {
    "id": 1,
    "name": "Product Manual",
    "description": "Complete product user manual",
    "type": "pdf",
    "type_label": "PDF",
    "status": "active",
    "status_label": "Active",
    "created_at": "2025-01-05T10:30:00.000000Z",
    "updated_at": "2025-01-05T10:35:00.000000Z"
  }
}