parse.failed
Sent when a parse job fails. data.error_code says why. A failed parse job is not billed.
Each parse job sends exactly one event, when it reaches its final status. See Webhooks to add an endpoint and verify signatures.
Headers
webhook-idstringRequired
A unique id for this message. It stays the same on every retry and resend. Deduplicate on it.
webhook-timestampstringRequired
When this attempt was sent, in Unix seconds.
webhook-signaturestringRequired
One or more space-separated signatures, each v1, followed by a base64 HMAC-SHA256 of {webhook-id}.{webhook-timestamp}.{body} made with the endpoint’s signing secret.
Payload
This endpoint expects an object.
idstringRequired
evt_ followed by the job id. One event per job, so it is stable across retries.
typeenumRequired
Allowed values:
parse.completedparse.failedparse.cancelledtimestampstringRequiredformat:
"date-time"dataobjectRequired
Response
Return any `2xx` status within a few seconds to acknowledge the event. Any other status, or no response, is retried.
Payload
{
"id": "evt_prs_8f2c1a9e4b7d40e6a3c5f1b2d9e8a7c6",
"type": "parse.failed",
"timestamp": "2026-10-01T14:05:12Z",
"data": {
"job_id": "prs_8f2c1a9e4b7d40e6a3c5f1b2d9e8a7c6",
"status": "failed",
"source": "api",
"type": "document",
"environment": "production",
"created_at": "2026-10-01T14:04:51Z",
"completed_at": "2026-10-01T14:05:12Z",
"chunk_count": null,
"usage": {
"pages_basic": 0,
"pages_advanced": 0,
"credits": 0
},
"error_code": "parse_failed",
"test": false,
"url": "https://api.filesearch.dev/v3/parse/jobs/prs_8f2c1a9e4b7d40e6a3c5f1b2d9e8a7c6"
}
}Was this page helpful?