cURL
curl --request GET \ --url https://api.letpiper.com/v1/orgs/{org_id}/scenarios/{scenario_id}/runs \ --header 'Authorization: Bearer <token>'
[ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "agent_name": "<string>", "status": "pending", "started_at": "2023-11-07T05:31:56Z", "completed_at": "2023-11-07T05:31:56Z", "passed_turns": 123, "total_turns": 123, "session_id": "<string>" } ]
List all runs for a scenario.
Platform token (starts with pat_)
1 <= x <= 500
x >= 0
Successful Response
Status of a scenario run.
pending
running
passed
failed
error