PermuteDocs
Go to Permute

Operations · operationsRunsList

List the latest 50 operation runs

Track execution and inspect failures.

GET/v1/operations/{operationId}/runs
betaapiKeyworkspace

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

typescript
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

json
{
  "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"
      }
    ]
  }
}