Admiral

Projects

Read a job's log

GET
/v1/projects/{project}/environments/{environment}/runs/{run}/jobs/{job}/log
  • NOT_FOUND when no job has that resource name.

Scope: agent:read

Authorization

bearerAuth
AuthorizationBearer <token>

An API key, or an access token minted from one. Pass it in the Authorization header: Bearer admp_...

In: header

Path Parameters

project*string

The project id.

environment*string

The environment id.

run*string

The run id.

job*string

The job id.

Query Parameters

offset?offset

Read from here, in bytes. 0 reads from the start.

Formatint64
Range0 <= value
max_bytes?max_bytes

Return at most this many bytes. Defaults to 1 MiB when 0.

Formatint32
Range0 <= value <= 4194304

Response Body

application/json

curl -X GET "https://example.com/v1/projects/string/environments/string/runs/string/jobs/string/log"
{  "chunk": "string",  "next_offset": "string",  "complete": true,  "truncated": true}