API ReferenceKnowledge base documents

Get specific document from Knowledge Base

GET
/api/knowledge-bases/{id}/documents/{documentId}

Retrieves a specific document by its ID within a Knowledge Base.

Authorization

ApiKeyAuth
AuthorizationBearer <token>

Bearer token for API authentication

In: header

Path Parameters

id*string

Unique ID of the Knowledge Base

documentId*string

Unique ID of the document

Response Body

application/json

curl -X GET "https://app.docutray.com/api/knowledge-bases/string/documents/string"
{
  "data": {
    "id": "string",
    "documentId": "string",
    "content": {},
    "metadata": {},
    "hasEmbedding": true,
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z"
  }
}
Empty
Empty
Empty
Empty
Empty