cURL
curl --request PUT \ --url https://api.futureagi.com/simulate/scenarios/{scenario_id}/edit/ \ --header 'Content-Type: application/json' \ --header 'X-Api-Key: <api-key>' \ --header 'X-Secret-Key: <api-key>' \ --data '{ "name": "<string>", "description": "<string>", "graph": {}, "prompt": "<string>" }'
{ "message": "<string>", "scenario": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "description": "<string>", "source": "<string>", "scenario_type": "DATASET", "organization": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "dataset": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "dataset_rows": 123, "status": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } }
Update scenario name, description, graph, and/or prompt
API Key for authentication. Click here to access API Key
Secret Key for authentication. Click here to access Secret Key
New scenario name
New scenario description
Graph configuration data
System prompt for simulator agent
Scenario updated successfully
Show child attributes
Was this page helpful?