cURL
curl --request GET \ --url https://api.letpiper.com/v1/orgs/{org_id}/scenarios/batch-runs \ --header 'Authorization: Bearer <token>'
[ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "agent_name": "<string>", "status": "queued", "total_scenarios": 123, "completed_scenarios": 123, "passed_scenarios": 123, "failed_scenarios": 123, "error_scenarios": 123, "started_at": "2023-11-07T05:31:56Z", "completed_at": "2023-11-07T05:31:56Z", "created_at": "2023-11-07T05:31:56Z" } ]
List batch run history for an organization.
Platform token (starts with pat_)
1 <= x <= 100
x >= 0
Successful Response
Status of a batch run across all scenarios.
queued
running
completed
error