Archust Docs
Documents

Get document preview content (storage + doc_chunks fallback)

GET
/v1/documents/{id}/content

Authorization

bearerAuth
AuthorizationBearer <token>

Clerk session JWT. Also send x-clerk-org-id if org context needed.

In: header

Path Parameters

id*string
Formatuuid

Response Body

application/json

curl -X GET "https://example.com/v1/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08/content"
{  "id": "string",  "filename": "string",  "file_type": "string",  "status": "string",  "content": "string",  "contentError": "string"}