Add Rows to Scenario with AI

Generates and adds new rows to a scenario's dataset using AI.

POST https://api.futureagi.com/simulate/scenarios/{scenario_id}/add-rows/

Authentication

X-Api-Key API Key Required

Your Future AGI API key used to authenticate requests. You can find and manage your API keys in the Dashboard under Settings.

X-Secret-Key Secret Key Required

Your Future AGI secret key, used alongside the API key for request authentication. This is generated when you create an API key in the Dashboard.

Path parameters

scenario_id UUID Required

The scenario ID. Must have an associated dataset.

Request body

numRows integer Required

Number of rows to generate. Range: 10—100.

description string Optional

Guidance for AI row generation. If omitted, existing rows and columns are used as context.

Response

202 Accepted
message string
Confirmation that row generation has started.
scenario_id string
UUID of the scenario.
dataset_id string
UUID of the underlying dataset.
numRows integer
Number of rows being generated.

Errors

400 Bad Request Optional

No associated dataset or numRows outside 10—100.

401 Unauthorized Optional

Invalid or missing API credentials.

404 Not Found Optional

Scenario not found.

500 Internal Server Error Optional

Unexpected server error.

GET /
Authentication
REQUEST
 
RESPONSE