Skip to main content
GET
/
documents
/
{document_id}
Get Document
curl --request GET \
  --url https://api.example.com/documents/{document_id}/ \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_at": "2023-11-07T05:31:56Z",
  "name": "<string>",
  "organisation_id": "<string>",
  "status": "<string>",
  "content": "<string>",
  "detailed_description": "<string>",
  "description": "<string>",
  "num_tokens": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Api-key
string | null

Path Parameters

document_id
string<uuid>
required

Response

Successful Response

id
string<uuid>
required
created_at
string<date-time>
required
name
string
required
organisation_id
string
required
status
string
required
content
string | null
detailed_description
string | null
description
string | null
num_tokens
integer | null