---
title: "Add rows to scenario"
method: POST
path: "/simulate/scenarios/{scenario_id}/add-rows/"
tags: ["Scenarios"]
---

# Add rows to scenario

`POST /simulate/scenarios/{scenario_id}/add-rows/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/simulate/scenarios/{scenario_id}/add-rows/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

Adds new rows to a scenario's dataset via Temporal workflow. Returns 202 Accepted.

## Request body

- ScenarioAddRowsRequest
  - `num_rows` integer, required
  - `description` string

## Response `202`

Accepted

- ScenarioAddRowsResponse
  - `message` string
  - `scenario_id` string, uuid
  - `dataset_id` string, uuid
  - `num_rows` integer

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `500`: Internal Server Error
- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
