parse.completed

Sent when a parse job finishes. Fetch data.url (Get Parse Job) for the chunks. data.usage shows what the job was 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.cancelled
timestampstringRequiredformat: "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.completed",
  "timestamp": "2026-10-01T14:05:12Z",
  "data": {
    "job_id": "prs_8f2c1a9e4b7d40e6a3c5f1b2d9e8a7c6",
    "status": "completed",
    "source": "api",
    "type": "document",
    "environment": "production",
    "created_at": "2026-10-01T14:04:51Z",
    "completed_at": "2026-10-01T14:05:12Z",
    "chunk_count": 244,
    "usage": {
      "pages_basic": 0,
      "pages_advanced": 80,
      "credits": 200
    },
    "error_code": null,
    "test": false,
    "url": "https://api.filesearch.dev/v3/parse/jobs/prs_8f2c1a9e4b7d40e6a3c5f1b2d9e8a7c6"
  }
}
Was this page helpful?