---
title: "Get callback payload"
method: POST
path: "/api/v1/get_callback_data"
tags: ["task_details"]
---

# Get callback payload

`POST /api/v1/get_callback_data`

Returns the full task result payload in the same shape sent to callback URLs. Pass full_logs=true to also include for_loop_status.

## Query parameters

- `full_logs` boolean — When true, include for_loop_status in the payload.

## Headers

- `x-api-key` string, required

## Request body

- BodyGetCallbackDataApiV1GetCallbackDataPost
  - `task_id` string, required
  - `endpoint_name` string, required

## Response `200`

Successful Response

- GetCallbackDataResponse
  - `success` boolean, required
  - `data` CallbackDataItem
    - `task_id` string, required
    - `recording_id` string, required
    - `output_data` unknown
    - `error` string, nullable
    - `status` 'queued' | 'allocated' | 'running' | 'success' | 'failed' | 'cancelled' | 'killed', required
    - `final_screenshot` string, nullable
    - `endpoint_name` string, required
    - `downloads` unknown[], nullable
      - unknown
    - `downloads_with_metadata` unknown[], nullable
      - unknown
    - `input_parameters` object, nullable
    - `unique_parameter_names` string[], nullable
    - `for_loop_status` unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/optexity/apis/dashboard-backend-api.md) · [All operations](https://skmtc.net/optexity/apis/dashboard-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/optexity/dashboard-backend-api/versions/33136ddc9984/schema)
