Knowledge
Get Knowledge Document
Get Knowledge Document — Nirmos Control Plane REST API.
better-auth.session_token<token>
Production cookie uses __Secure- prefix.
In: cookie
Path Parameters
id*string
Length
1 <= length <= 128documentId*string
Length
1 <= length <= 128Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/knowledge-bases/string/documents/string"{ "data": { "id": "string", "knowledgeBaseId": "string", "title": "string", "status": "string", "vectorStatus": "string", "sourceType": "string", "sourceUri": "string", "externalId": "string", "mimeType": "string", "metadata": "string", "tokenCount": 0, "characterCount": 0, "chunkCount": 0, "content": "string", "contentHash": "string", "error": "string", "errorCode": "string", "errorMessage": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "indexedAt": "2019-08-24T14:15:22Z" }, "requestId": "string"}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}