Skip to main content

Callback Response

The callback response is a JSON object with the following fields:
  • status: string indicating the status of the callback. Can be queued, allocated, running, success, failed, cancelled
  • task_id: string indicating the task ID
  • recording_id: string indicating the recording ID
  • endpoint_name: string indicating the endpoint name
  • output_data: list of output data objects. Each object can be a dict or a string.
  • error: string indicating the error message. If there is no error, it will be null.
  • final_screenshot: base64 encoded string of the final screenshot
  • downloads: list of download objects. Each object has a url and a filename field.
  • downloads_with_metadata: optional list included only when at least one download has metadata. Each object has url, filename, and metadata (null when that file has none). Omitted entirely when no download metadata was set.