API Reference
Components
Documents
- POSTUpload and process a document
- GETGet all documents
- GETGet a signed upload URL for a document
- PUTUpdate document file content
- GETGet all tags
- GETGet a document by ID
- DELDelete a document
- PUTUpdate a document
- GETGet document visual components
- GETGet document text blocks
- GETGet document collaborators
- PUTAdd collaborators to a document
- PUTUpdate document file content
- POSTAdd a tag to a document
- GETGet tags for a document
- DELRemove a tag from a document
- POSTSearch for documents
- GETGet a document search by ID
- POSTAdd a retention policy to a document
- GETGet retention policies for a document
- DELRemove a retention policy from a document
Job Status
Questions & Answers
Documents
Get document visual components
Retrieves all visual components associated with a document.
GET
/
api
/
v0
/
documents
/
{document_id}
/
visual-components
Copy
[
{
"id": 123,
"type": "string",
"document_id": 123,
"page_number": 123,
"label": "string",
"bbox": {
"x0": 123.45,
"y0": 123.45,
"x1": 123.45,
"y1": 123.45
},
"description": "string",
"created_at": "string",
"updated_at": "string"
}
]
Get document visual components
Retrieves all visual components associated with a document.
Path Parameters
integer
required
No description provided
Response
The response data for this endpoint.
Copy
[
{
"id": 123,
"type": "string",
"document_id": 123,
"page_number": 123,
"label": "string",
"bbox": {
"x0": 123.45,
"y0": 123.45,
"x1": 123.45,
"y1": 123.45
},
"description": "string",
"created_at": "string",
"updated_at": "string"
}
]
Copy
[
{
"id": 123,
"type": "string",
"document_id": 123,
"page_number": 123,
"label": "string",
"bbox": {
"x0": 123.45,
"y0": 123.45,
"x1": 123.45,
"y1": 123.45
},
"description": "string",
"created_at": "string",
"updated_at": "string"
}
]
Assistant
Responses are generated using AI and may contain mistakes.