Request
Bearer token authentication. See our Authentication guide for more details. Example: Bearer YOUR_API_KEY
Query Parameters
Number of records to skip for pagination
Maximum number of records to return
Example Request
curl https://api.doctly.ai/api/v1/documents/ \
-H "Authorization: Bearer YOUR_API_KEY"
Response
Array of document objects.
Unique identifier for the document
Size of the file in bytes
ISO 8601 timestamp of creation
Current processing status: PENDING
, PROCESSING
, COMPLETED
, FAILED
, or EXPIRED
Selected accuracy level: lite
or ultra
Number of pages in the document
Total number of documents available
Example Responses
{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"file_name": "document1.pdf",
"file_size": 1048576,
"created_at": "2024-03-21T13:45:00Z",
"status": "COMPLETED",
"accuracy": "ultra",
"page_count": 10
},
{
"id": "987fcdeb-a654-3210-9876-543210987654",
"file_name": "document2.pdf",
"file_size": 2097152,
"created_at": "2024-03-21T13:45:00Z",
"status": "PROCESSING",
"accuracy": "lite",
"page_count": null
}
],
"count": 150
}