-
Schedule a 30-minute live product demo with expert Q&A
Sample cURL to submit a file directly :
curl -X PUT "https://api.talonic.ai/data-extractor/process" \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "file=@/path/to/your/file.pdf" \
-F "json_schema={\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"type\":\"object\",...}" \
-F "description=Optional description of the file"
Sample cURL to submit a file URL :
curl -X PUT "https://api.talonic.ai/data-extractor/process" \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "file_url=https://example.com/path/to/file.pdf" \
-F "json_schema={\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"type\":\"object\",...}" \
-F "description=Optional description of the file"
Sample cURL to poll job status :
curl -X GET "https://api.talonic.ai/data-extractor/process/YOUR_JOB_ID" \
-H "Authorization: Bearer YOUR_API_KEY"
Submit a file or a file URL along with a JSON schema for processing.
No parameters
No parameters
Request body
Response
Code | Description | Links |
---|---|---|
202 |
Processing request accepted and queued. Media type Controls Accept header.
{
"correlation_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"job_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "queued",
"start_time": "2025-09-09T06:41:31.848Z",
"estimated_time_seconds": 0,
"message": "string",
"filename": "string"
}
|
No links |
400 |
Bad Request. Invalid input parameters. Media type {
"detail": "string"
}
|
No links |
401 |
Unauthorized. Missing or invalid API key. Media type {
"detail": "string"
}
|
No links |
413 |
Payload Too Large. Submitted payload is larger than the maximum allowable size. Media type {
"detail": "string"
}
|
No links |
Retrieve the status and result of a processing job using its ID.
No parameters
Name | Description |
---|---|
Processing request accepted and queued. Media type Controls Accept header.
|
|
400 |
Bad Request. Invalid input parameters. Media type |
401 |
Unauthorized. Missing or invalid API key. Media type |
413 |
Payload Too Large. Submitted payload is larger than the maximum allowable size. Media type |
Response
Code | Description | Links |
---|---|---|
202 |
Processing request accepted and queued. Media type Controls Accept header.
{
"correlation_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"job_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "queued",
"start_time": "2025-09-09T06:41:31.848Z",
"estimated_time_seconds": 0,
"message": "string",
"filename": "string"
}
|
No links |
400 |
Bad Request. Invalid input parameters. Media type {
"detail": "string"
}
|
No links |
401 |
Unauthorized. Missing or invalid API key. Media type {
"detail": "string"
}
|
No links |
413 |
Payload Too Large. Submitted payload is larger than the maximum allowable size. Media type {
"detail": "string"
}
|
No links |