GET
/v1/operations/{operationId}/runsbetaapiKeyworkspace
When to use
Track execution and inspect failures.
For agents
Match workflowId to the run you started. Results include at most 50 recent runs; completed output is inspected with getRunOutput.
Example
import { PermuteClient } from '@permute/sdk';
const orgClient = new PermuteClient({
apiKey: process.env.PERMUTE_API_KEY!,
});
const client = orgClient.withWorkspace(process.env.PERMUTE_WORKSPACE_ID!);
const result = await client.operations.listRuns('oper_revenue123');Response
{
"data": {
"items": [
{
"id": "oprn_run123",
"workflowId": "wkfl_run123",
"revisionId": "rvsn_code123",
"status": "completed",
"createdAt": "2026-09-10T12:00:00.000Z",
"completedAt": "2026-09-10T12:00:05.000Z",
"error": null,
"outputDocId": "oprn_run123"
}
]
}
}