Feel free to reach techsupport@surepass.io for any technical support or guidance.
client_id (obtained from the execute-processor API), clients can monitor the progress, completion status, and output data of document parsing or transformation jobs. This endpoint is essential for tracking asynchronous processing, accessing extracted data, and integrating SureParse results into downstream business workflows.Authorization header as Bearer TOKEN.https://sandbox.surepass.apphttps://kyc-api.surepass.app| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer token for authentication (JWT) |
| Content-Type | No | Optional for GET requests |
| Parameter | Type | Required | Description |
|---|---|---|---|
| client_id | string | Yes | Unique identifier of the execution to fetch. This value is obtained from the execute-processor API. |
{
"client_id": "studio_executor_orZubjXLHSOxtcQczLpl"
}| Parameter | Type | Description |
|---|---|---|
| data | object | Contains execution and result details |
| ββ client_id | string | Unique identifier for the execution instance |
| ββ processor_id | string | Identifier of the processor used |
| ββ processor_name | string | Name of the processor |
| ββ file_id | string | Identifier of the associated file |
| ββ filename | string | Name of the file processed |
| ββ processor_type | string | Type of processor (e.g., splitter) |
| ββ status | string | Current status of the execution (e.g., "completed") |
| ββ created_at | string | ISO timestamp of execution creation |
| ββ updated_at | string | ISO timestamp of last update |
| ββ total_documents | integer | Number of documents processed |
| ββ total_pages | integer | Number of pages processed |
| ββ result_data | object | Parsed results, including extracted fields |
| ββ error_message | string | Error message if execution failed (nullable) |
| status_code | integer | HTTP status code (e.g., 200 for success) |
| success | boolean | Indicates if the request was successful |
| message | string | Human-readable status message |
| message_code | string | Machine-readable status code |
{
"data": {
"client_id": "studio_executor_orZubjXLHSOxtcQczLpl",
"processor_id": "studio_processor_blypAacKhRnHxPmZuOXr",
"processor_name": "demo",
"file_id": "studio_file_lyoWkhcQyExjuhhzcqow",
"filename": "sample.pdf",
"processor_type": "splitter",
"status": "completed",
"created_at": "2025-12-17T11:19:17.218000",
"updated_at": "2025-12-17T11:19:40.949000",
"total_documents": 1,
"total_pages": 1,
"result_data": {
"documents": [
{
"start_page": 1,
"end_page": 1,
"identifier": "other",
"category": "other",
"fields": {
}
}
]
},
"error_message": null
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}{
"data": null,
"status_code": 404,
"success": false,
"message": "Execution not found",
"message_code": "execution_not_found"
}curl --location --request GET 'https://kyc-api.surepass.app/api/v1/sureparser/fetch-execution?client_id="client_id"' \
--header 'Authorization: Bearer <token>'{
"data": {
"client_id": "processor_executorABCDEFGHIJKLMNO",
"processor_id": "processor_configABCDEFGHIJKLMNOPQ",
"processor_name": "Invoice Processor",
"file_id": "fileABCDEFGHIJKLMNOPQRSTU",
"filename": "sample.pdf",
"processor_type": "splitter",
"status": "completed",
"created_at": "2024-12-13T12:00:00.000000",
"updated_at": "2024-12-13T12:01:30.000000",
"total_documents": 3,
"total_pages": 10,
"result_data": {
"documents": [
{
"start_page": 1,
"end_page": 3,
"identifier": "INV-2024-001",
"category": "invoice",
"fields": {
"invoice_number": "INV-2024-001",
"amount": "$1,500.00",
"date": "2024-12-01",
"vendor": "Acme Corp"
}
},
{
"start_page": 4,
"end_page": 6,
"identifier": "INV-2024-002",
"category": "invoice",
"fields": {
"invoice_number": "INV-2024-002",
"amount": "$2,300.00",
"date": "2024-12-05",
"vendor": "Tech Solutions"
}
}
]
},
"error_message": null
},
"status_code": 200,
"message": "Success",
"success": true
}