Skip to Content
API referenceKnowledge

Get Document

GET
/api/v1/knowledge/documents/{document_id}

Get a specific document.

Required scope: knowledge:read

Authorization

headerAuthorizationBearer <luso8_sk_live_<40 characters>>

A workspace API key, sent as Authorization: Bearer <key>. Create keys in Settings → Developers → API keys.

Path Parameters

document_id*Document Id
Formatuuid

Response Body

Successful Response

application/json
  1. response
name*Name
Lengthlength <= 500
description?string|null
document_type*Document Type
id*Id
Formatuuid
folder_id*Folder Id
Formatuuid
created_by?string|null
original_type?string|null
status?Status
Default"pending"
error_message?string|null
source_url?string|null
file_path?string|null
file_size?integer|null
mime_type?string|null
content?string|null
processed_content?string|null
chunk_count?Chunk Count
Default0
vector_ids?array<string>|null
doc_metadata?
crawled_pages?array<>|null
created_at*Created At
Formatdate-time
updated_at?|null
indexed_at?|null
processing_started_at?|null
processing_completed_at?|null
Example Request
curl -X GET 'https://api.luso8.rexplore.ai/api/v1/knowledge/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "name": "string",  "description": "string",  "document_type": "string",  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901",  "created_by": "string",  "original_type": "string",  "status": "pending",  "error_message": "string",  "source_url": "string",  "file_path": "string",  "file_size": 0,  "mime_type": "string",  "content": "string",  "processed_content": "string",  "chunk_count": 0,  "vector_ids": [    "string"  ],  "doc_metadata": {},  "crawled_pages": [    {}  ],  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z",  "indexed_at": "2019-08-24T14:15:22Z",  "processing_started_at": "2019-08-24T14:15:22Z",  "processing_completed_at": "2019-08-24T14:15:22Z"}