Fetch the full recognition payload for a document, including pagination, document metadata, key-value fields, and table extraction results.
GET
/v1/documents/{doc_id}/full-detailsRequest
curl -X GET 'https://api.docsintel.com/v1/documents/DOC202604170001/full-details' \
-H 'api-key: <api-key>'OkHttpClient client = new OkHttpClient();
String url = "https://api.docsintel.com/v1/documents/DOC202604170001/full-details";
Request request = new Request.Builder()
.url(url)
.addHeader("api-key", "<api-key>")
.build();
Response response = client.newCall(request).execute();import requests
url = 'https://api.docsintel.com/v1/documents/DOC202604170001/full-details'
headers = {
'api-key': '<api-key>',
}
response = requests.get(url, headers=headers)
print(response.status_code)
print(response.text)Response200
{
"is_moderated": true,
"code": 200,
"message": "请求成功",
"data": {
"pagination": {
"total": 1,
"total_pages": 2
},
"results": [
{
"approval_status": "PASSED",
"arrived_channel": "api",
"document": {
"file_name": "invoice.pdf",
"file_url": "https://files.example.com/invoice.pdf",
"pages": [
1,
2
]
},
"label_content": [
{
"schema_id": "baseInfo",
"children": [
{
"label_texts": "Invoice No",
"label_field": "invoiceNo",
"confidence": 0.99,
"value": "INV-001",
"type": "string"
}
]
}
],
"items_content": [
{
"schema_id": "itemTable",
"children": [
{
"row_index": 1,
"columns": [
{
"column_texts": "Description",
"column_field": "description",
"confidence": 0.98,
"value": "Item A",
"type": "string",
"column_index": 1
}
]
}
]
}
]
}
]
}
}Authorization#
Header
api-key
stringrequiredAPI keyRequest#
Base URL
Path parameters
doc_idstringrequiredDocument ID
Example: DOC202604170001
Response#
200#
Full recognition payload. application/json
is_moderatedboolean
Nullable.
code
integermessage
stringdataobject
Object with dynamic keys; see the response example.