Skip to main content
POST
/
simulate
/
scenarios
/
{scenario_id}
/
add-rows
/
curl --request POST \
--url https://api.futureagi.com/simulate/scenarios/{scenario_id}/add-rows/ \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--header 'X-Secret-Key: <api-key>' \
--data '{
"num_rows": 5
}'
{
  "message": "Started generating 5 new rows for scenario",
  "scenario_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "dataset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "num_rows": 5
}

Authorizations

X-Api-Key
string
header
required

API Key for authentication. Click here to access API Key

X-Secret-Key
string
header
required

Secret Key for authentication. Click here to access Secret Key

Path Parameters

scenario_id
string<uuid>
required

The UUID of the scenario to which rows will be added.

Body

application/json
num_rows
integer
required

The number of new rows to generate and add. The value must be between 1 and 100.

Required range: x >= 1
description
string | null

An optional description to guide the AI in generating the content for the new rows.

Response

Accepted. The request to generate rows has been queued and is being processed in the background.

message
string
Example:

"Started generating 5 new rows for scenario"

scenario_id
string<uuid>
dataset_id
string<uuid>
num_rows
integer
Example:

5