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.
{
    "task_id": "123",
    "recording_id": "456",
    "endpoint_name": "login-flow",
    "output_data": [{ "name": "email", "value": "test@example.com" }, "test_output_data"],
    "error": "An error occurred",
    "status": "success",
    "final_screenshot": "base64 encoded string",
    "downloads": [
        {
            "url": "signed url",
            "filename": "filename"
        }
    ]
}