run.completed
Event triggered whenever an extraction run completes successfully.
The extractedData field contains the structured data extracted from the document according to the schema definition.
Response Body Parameters
type string The event type that triggered the webhook (e.g., `run.completed`).
created_at string ISO 8601 timestamp when the webhook event was created.
data object Event-specific data containing the extraction result.
200 Response
{
"type": "run.completed",
"created_at": "2024-03-15T10:30:15Z",
"data": {
"run_id": "run_xyz789",
"document_id": "doc_abc123",
"schema_key": "invoice",
"schema_version_number": 3,
"status": "completed",
"confidence": 0.95,
"extracted_data": {
"invoiceNumber": "INV-2024-001",
"total": 1250,
"vendor": "Acme Corp"
},
"workspace_slug": "my-workspace",
"environment": "production"
}
}