List all documents
Retrieve a list of documents for the authenticated team.
Query parameters
A cursor for pagination. Pass the value returned from the previous response to get the next page.
A cursor for pagination. Pass the value returned from the previous response to get the next page.
Sort as [column, direction]. Currently documents are sorted by created date descending.
Sort as [column, direction]. Currently documents are sorted by created date descending.
Number of documents to return per page.
Number of documents to return per page.
Search query string to filter documents by text.
Search query string to filter documents by text.
Array of tag IDs to filter documents by tags.
Array of tag IDs to filter documents by tags.
[ "tag1", "tag2" ]
Start date for filtering documents (ISO 8601 date).
Start date for filtering documents (ISO 8601 date).
End date for filtering documents (ISO 8601 date).
End date for filtering documents (ISO 8601 date).
Response
Retrieve a list of documents for the authenticated team.
Example response
{
"meta": {
"cursor": "20",
"hasPreviousPage": false,
"hasNextPage": true
},
"data": [
{
"id": "doc_1234567890abcdef",
"title": "Invoice April 2024",
"pathTokens": [
"invoices",
"2024",
"april",
"invoice-123.pdf"
],
"metadata": {
"size": 204800,
"mimetype": "application/pdf"
},
"processingStatus": "processed",
"summary": "Invoice for April 2024, total $1,200.00",
"date": "2024-04-30"
}
]
}