Skip to main content
GET
Get document

Authorizations

Authorization
string
header
required

API token from your Timeless dashboard.

Path Parameters

document_id
string
required

The document ID (e.g., doc_abc123).

Query Parameters

format
enum<string>
default:html

Output format for the document content.

  • html — HTML markup
  • markdown — Markdown text
  • raw — raw/plain text
  • docx — base64-encoded Word document
  • json — JSON array of content blocks
Available options:
html,
markdown,
raw,
docx,
json

Response

The document.

id
string
required
Example:

"doc_abc123"

title
string
required
Example:

"Meeting summary"

format
enum<string>
required
Available options:
html,
markdown,
raw,
docx,
json
content
string
required

Document content in the requested format. For docx, this is base64-encoded. For json, this is a JSON-serialized array of content blocks.

created_at
string<date-time>
required