Admiral
Runner

Push state for a job

POST
/api/v1/runner/jobs/{job_id}/state

The server validates that the SAT's runner binding matches the runner assigned to this job. Returns PERMISSION_DENIED if they do not match. Returns FAILED_PRECONDITION if the serial is not greater than the current serial. Returns INVALID_ARGUMENT if the lineage does not match the existing state record.

Maps to Terraform HTTP backend POST on the state address.

Scope: state:write | Token types: sat

Authorization

bearerAuth
AuthorizationBearer <token>

Personal Access Token (PAT) or Service Access Token (SAT). Pass the token in the Authorization header: Bearer adm_pat_...

In: header

Path Parameters

job_id*job_id

The job pushing state (UUID).

Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://admiral.example.com/api/v1/runner/jobs/497f6eca-6276-4993-bfeb-53cbbbba6f08/state" \  -H "Content-Type: application/json" \  -d '{}'
{}