element_id, element_type, text, markdown, html, img_base64 (optional), position, page_number, bounding_box, page_layout, and more.
Endpoint overview
HTTP Method
GET
Endpoint URL
Authentication
This endpoint requires authentication using an API token. Include your API token as a Bearer token in theAuthorization header.
Learn how to create and manage API tokens in the API Tokens guide.
Request format
Headers
Query parameters
When
page and page_size are omitted, all elements are returned (no pagination). When only one is provided, pagination is not applied.
Response format
Success response (200 OK)
Paginated response with items asBuildStatusElement (same shape as elements in Get build status):
Pagination fields
Element fields (BuildStatusElement)
Element types
Code examples
JavaScript/Node.js
Python
cURL
Error responses
Example body:
Best practices
- Use
file_id: Obtain it from List sources or Get build status after ingestion. - Reduce payload: Set
suppress_img_base64=truewhen you don’t need image data. - Filter server-side: Use
type,page_numbers, andelementsToRemoveto limit results. - Pagination: Use
pageandpage_size(max 100) for large documents to avoid large responses.
Next steps
Get build status
Poll build status and optionally get elements for an async ingestion
List sources
List all sources and their
file_idsUpload sources
Ingest files, URLs, GitHub, or YouTube (async)
Reprocess source
Re-process a source with a different partition method (async)

