---
title: "Save Output Data"
method: POST
path: "/api/v1/save_output_data"
tags: ["logging"]
---

# Save Output Data

`POST /api/v1/save_output_data`

## Headers

- `x-api-key` string, required

## Request body

- TaskOutputDataRequest
  - `task_id` string, required
  - `output_data` object[], required
  - `final_screenshot` string, nullable, required
  - `for_loop_status` array[], nullable
    - ForLoopStatus[]
      - `variable_name` string, required
      - `index` integer, required
      - `value` union, required
        - string
        - integer
        - number
        - boolean
      - `error` string, nullable
      - `status` 'success' | 'error' | 'skipped', required
  - `system_info` SystemInfo[], nullable
    - `timestamp` string, date-time
    - `total_system_memory` number
    - `total_system_memory_used` number
  - `unique_child_arn` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/optexity/apis/dashboard-backend-api.md) · [All operations](https://skmtc.dev/optexity/apis/dashboard-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/optexity/dashboard-backend-api/revisions/2e974096944a/schema)
