attacca

List a workflow's runs

Newest first. The run log is the record of what actually executed, so this is a plain read of it; nothing is derived.

GET
/v1/workflows/{workflow_id}/runs

Newest first. The run log is the record of what actually executed, so this is a plain read of it; nothing is derived.

Authorization

api_key workflows:read
AuthorizationBearer <token>

An atk_-prefixed API key, created under Settings → API keys.

In: header

Scope: workflows:read

Path Parameters

workflow_id*string

Workflow id

Formatuuid

Query Parameters

limit?|

How many runs to return, newest first. Defaults to 20; clamped to 1..=200.

Formatint64

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/workflows/497f6eca-6276-4993-bfeb-53cbbbba6f08/runs"
[  {    "entry": "string",    "error": "string",    "event": {},    "finished_at": "2019-08-24T14:15:22Z",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",    "kind": "string",    "logs": "string",    "revision_id": "f8f7f022-982b-4bef-ba7d-4bb808fdbe2a",    "session_id": "1ffd059c-17ea-40a8-8aef-70fd0307db82",    "started_at": "2019-08-24T14:15:22Z",    "status": "string",    "workflow_id": "03e70e31-d7a4-4401-a629-6a4b6096cdfe"  }]