Skip to main content
GET
Get a document

Authorizations

Authorization
string
header
required

Send your organization API key as Authorization: Bearer <key>.

Path Parameters

id
string<uuid>
required

Query Parameters

organization_id
string<uuid>

Organization UUID. Required when the request is authenticated with the internal server API key; ignored for organization API keys.

Response

Document

id
string<uuid>
required
organization_id
string<uuid>
required
type
enum<string>
required
Available options:
url,
text,
file
created_at
string<date-time>
required
file_type
enum<string>
Available options:
pdf,
txt
file_name
string
path
string

Storage path of an uploaded PDF.

value
string

Indexed text. For a URL this is the summary.