Skip to main content
POST
Batch Run Scenarios

Headers

string
required
Your API key for authentication.

Body

array of strings
required
Array of scenario IDs to run. All scenario IDs must belong to your organization.
integer
Pathway version to test. Defaults to the current production version.
string
URL to receive a webhook when the entire batch completes. The webhook payload will include the batch result summary.

Response

string
The unique identifier for the test batch.
array of objects
An array of run entries, one per scenario. Each entry contains:
  • run_id - The unique identifier for the individual test run.
  • scenario_id - The scenario ID associated with this run.
This endpoint is rate limited per organization. All scenario_ids must belong to your organization or the request will be rejected.

Docs for agents: llms.txt