cURL
curl --request PATCH \ --url https://prod.featherhq.com/api/v1/testing-lab/scenarios/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "agent": 123, "assistant_id": "<string>", "name": "<string>", "personality": 123, "instructions": "<string>", "expected_outcome_prompt": "<string>", "metrics": {}, "tags": [ "<string>" ], "tool_ids": [ "<string>" ] } '
{ "id": 123, "name": "<string>", "agent": 123, "personality": 123, "personality_name": "<string>", "tags": [ "<string>" ], "runs": [ 123 ], "metrics": [ 123 ], "metric_names": [ "<string>" ], "phone_number": "<string>", "first_message": "<string>", "inbound_phone_number": 123, "inbound_phone_number_data": { "id": 123, "number": "<string>", "phone_number_id": "<string>", "common": "<string>" }, "instructions": "<string>", "simulation_description": "<string>", "information_fields": {}, "expected_outcome_prompt": "<string>", "scenario_language": "<string>", "test_profile": 123, "test_profile_data": { "id": 123, "agent": 123, "name": "<string>", "information": {} }, "tool_ids": "<unknown>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Show child attributes
Scenario updated successfully