Wentong Cloud Software Development Co., Ltd.

Retrieve Full Details

Last updated

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-details
Request
curl -X GET 'https://api.docsintel.com/v1/documents/DOC202604170001/full-details' \
  -H 'api-key: <api-key>'
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-keystringrequiredAPI key

Request#

Base URL

https://api.docsintel.com

Path parameters

doc_idstringrequiredDocument ID

Example: DOC202604170001

Response#

200#

Full recognition payload. application/json

is_moderatedboolean

Nullable.

codeinteger
messagestring
dataobject

Object with dynamic keys; see the response example.