attacca
Jobs

Get a job

`state` is re-derived on read, so this is safe to poll while waiting for work to finish.

GET
/v1/jobs/{job_id}

state is re-derived on read, so this is safe to poll while waiting for work to finish.

Authorization

api_key jobs:read
AuthorizationBearer <token>

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

In: header

Scope: jobs:read

Path Parameters

job_id*string

Job id

Formatuuid

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/jobs/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",  "created_at": "2019-08-24T14:15:22Z",  "description": "string",  "failure_reason": "string",  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "last_activity": "string",  "planning": true,  "primary_session_id": "5fb6eee6-42c6-4a4c-8ea0-dd0a7a8d08e5",  "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",  "state": "string",  "title": "string",  "updated_at": "2019-08-24T14:15:22Z"}