> ## Documentation Index
> Fetch the complete documentation index at: https://docs.optexity.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Callback Reference

> Complete reference for all callback schemas

### 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.

```json theme={null}
{
    "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"
        }
    ]
}
```
