Runs
get/v1/workflows/{id}/runs

List runs for a workflow

Returns paginated run history for the workflow, ordered by started_at descending (most recent first). Use status to filter — for example, ?status=paused to find runs waiting for human review.

Server

https://api.agentruntime.io/v1/workflows/{id}/runs
Production
AuthenticationRequiredBearerAuth

API key obtained from the AgentRuntime dashboard. Pass as Authorization: Bearer <key> on every request.

Stored only in this page session. It is not saved to local storage.

Test Request

Runs from your browser. Non-GET requests require explicit confirmation and tokens are sent only when you click Send.

Enter a bearer token to enable testing.

Client Libraries
Shell
curl -sS -X GET \
  'https://api.agentruntime.io/v1/workflows/{id}/runs' \
  -H 'Authorization: Bearer <token>'
  • 200Paginated list of workflow runs.

    application/json

    runs

    array of

    Schema
    id

    string

    Unique run identifier.

    Example: "run_01hw3k9x4v8m"

    workflow_id

    string

    Example: "wf_01hw3k9x4v8m"

    status

    stringenum: pending | running | paused | completed | failed | cancelled

    • pending: accepted but not yet dispatched
    • running: actively executing steps
    • paused: execution halted (manual pause or awaiting human task)
    • completed: all steps finished successfully
    • failed: one or more steps failed with no remaining retries
    • cancelled: stopped via a cancel command

    Example: "running"

    started_at

    string

    Example: "2026-04-10T11:00:00Z"

    completed_at

    string

    Example: null

    inputs
    Schema
    outputs
    Schema
    total

    integer

    Total number of runs matching the query (for pagination).

    {
      "total": 142,
      "runs": [
        {
          "id": "run_01hw3k9x4v8m",
          "workflow_id": "wf_01hw3k9x4v8m",
          "status": "completed",
          "started_at": "2026-04-10T11:00:00Z",
          "completed_at": "2026-04-10T11:00:04.812Z"
        },
        {
          "id": "run_01hw3k9x4v8n",
          "workflow_id": "wf_01hw3k9x4v8m",
          "status": "paused",
          "started_at": "2026-04-10T10:45:00Z",
          "completed_at": null
        }
      ]
    }
  • 401Missing or invalid Bearer token.

    application/json

    errorrequired

    string

    Human-readable description of what went wrong.

    Example: "workflow not found"

    code

    string

    Machine-readable error code for programmatic handling.

    Example: "NOT_FOUND"

    {
      "error": "unauthorized",
      "code": "UNAUTHORIZED"
    }
  • 404The requested resource does not exist.

    application/json

    errorrequired

    string

    Human-readable description of what went wrong.

    Example: "workflow not found"

    code

    string

    Machine-readable error code for programmatic handling.

    Example: "NOT_FOUND"

    {
      "error": "workflow not found",
      "code": "NOT_FOUND"
    }