Tasuku
ReferenceAPI referenceWorkflows

Read one workflow run and its attempts

GET/organizations/{organization_id}/workflow-runs/{run_id}

Authorization

tasuku_session<token>

In: cookie

Path Parameters

organization_id*string
Length1 <= length <= 128
run_id*string
Length1 <= length <= 128

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/organizations/string/workflow-runs/string"
{  "data": {    "run": {      "id": "string",      "organization_id": "string",      "repository_id": "string",      "pull_request_number": 1,      "workflow_type": "string",      "status": "RECEIVED",      "current_phase": "string",      "provider": "string",      "model": "string",      "sandbox_provider": "string",      "sandbox_id": "string",      "base_sha": "string",      "head_sha": "string",      "input_snapshot": {},      "usage": {},      "error_code": "string",      "error_message": "string",      "started_at": "2019-08-24T14:15:22Z",      "finished_at": "2019-08-24T14:15:22Z",      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    },    "attempts": [      {        "id": "string",        "attempt": 1,        "worker_id": "string",        "sandbox_provider": "string",        "sandbox_id": "string",        "exit_reason": "string",        "retryable": true,        "started_at": "2019-08-24T14:15:22Z",        "finished_at": "2019-08-24T14:15:22Z"      }    ]  }}