List Documents
curl --request GET \
--url https://api.capout.ai/documentsconst options = {method: 'GET'};
fetch('https://api.capout.ai/documents', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.capout.ai/documents"
response = requests.get(url)
print(response.text){
"documents": [
{
"status": "<string>",
"document_id": "<string>",
"file_name": "<string>",
"progress": {
"ocr": "<string>",
"structure": "<string>",
"actions": "<string>",
"trades": "<string>",
"categories": "<string>"
},
"workflow_complete": false,
"billing": {},
"export": {},
"created_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"exported_at": "2023-11-07T05:31:56Z"
}
],
"total": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}List Documents
List all API-submitted documents for the authenticated organization.
GET
/
documents
List Documents
curl --request GET \
--url https://api.capout.ai/documentsconst options = {method: 'GET'};
fetch('https://api.capout.ai/documents', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.capout.ai/documents"
response = requests.get(url)
print(response.text){
"documents": [
{
"status": "<string>",
"document_id": "<string>",
"file_name": "<string>",
"progress": {
"ocr": "<string>",
"structure": "<string>",
"actions": "<string>",
"trades": "<string>",
"categories": "<string>"
},
"workflow_complete": false,
"billing": {},
"export": {},
"created_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"exported_at": "2023-11-07T05:31:56Z"
}
],
"total": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}⌘I