Skip to main content
PUT
/
simulate
/
scenarios
/
{scenario_id}
/
prompts
/
Update scenario prompts
curl --request PUT \
  --url https://api.futureagi.com/simulate/scenarios/{scenario_id}/prompts/ \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --header 'X-Secret-Key: <api-key>' \
  --data '{
  "prompts": [
    {
      "role": "system",
      "content": "You are a helpful customer support agent"
    }
  ]
}'

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

Body

application/json
prompts
object[]
required
Example:
[
{
"role": "system",
"content": "You are a helpful customer support agent"
}
]

Response

200

Prompts updated successfully