Skip to main content
Prequel Import makes it easy to investigate every sync, from a whole extract or load down to a single record. Detailed error codes are reported at both the job level and the individual record level, so you can see what happened at each step and why.

Check an extract or load’s status

Fetch any extract or load with Get extract or Get load to see its progress, record counts, and outcome. To find a job, list a Dataset’s extracts with List extracts or a Stream’s loads with List loads.
Get load response
timestamp
When the job started running.
timestamp
When the job finished, failed, or was cancelled.
integer
The number of records that failed.
object
Set only when the job failed or was cancelled. Contains a stable error_code, a blame that indicates which party needs to act, and a message describing the failure. See Error codes.

Inspect failed records

When records fail, fetch the debug rows with Get extract debug rows or Get load debug rows to see which records failed and why.
boolean
When true, return only records that failed. When false, return only records that succeeded. Omit it to return both.
integer
The number of records per page, up to 100. Defaults to 10. When has_next is true, request next_url to fetch the next page.
Get load debug rows response
Each debug row identifies the record by its record_id and reports one stage. Extract debug rows report the extract stage. Load debug rows report the transform, load, or acknowledge stage, so a record can appear once per stage. A failed stage includes an error with its error_code and error_trace.
Record details are read from your datalakeBecause Prequel Import does not persist pipeline data in the application database, record-level requests take longer than other API requests while details are retrieved from your datalake. If the datalake sets retention_window_days, debug requests for jobs submitted longer ago than that return a 410.

Trace a single record

Follow one record from extraction through to delivery and acknowledgement with Get dataset record.
timestamp
Return the record’s state as of this RFC 3339 timestamp. Defaults to the current state.
Get dataset record response
object
The record’s state at each stage: extract, transform, load, and acknowledge. Each stage reports when the record last passed through it and an error with its error_code and error_trace if the record failed there. Every stage is always present, so check a stage’s timestamp, such as acknowledge.last_acknowledged_at, to tell whether the record has reached it.

Monitor with webhooks

For live error detection, Prequel Import emits webhooks that can be delivered to a variety of monitoring platforms, including Slack, PagerDuty, and Datadog. See Webhooks and monitoring.

Cancel in-flight jobs

Stop a queued or running job with Cancel extract or Cancel load. Cancelling a job that has already ended returns a 409. Records delivered before cancellation remain delivered.

Provider-facing monitoring

Job and debug data is designed to be securely displayed to Providers in embedded experiences. Provider-scoped endpoints let you list, get, and debug a Provider’s extracts and loads from your own app, and the React SDK provides hooks for the same data. Record tracing and cancellation require your API key.