Skip to main content
POST
Ask for a host, secret or integration

Authorizations

Authorization
string
header
required

Runner token beginning with agt_r, returned once by POST /v1/admin/runners

Path Parameters

run_id
string
required

Run identifier (version 7 universally unique identifier, or UUID).

Body

application/json

Provide one credential name or one host. Only host requests accept redirect evidence, and its to_host must match the requested host.

fencing_token
integer<int64>
required

The run's fencing token; a holder the fleet has superseded is refused.

Required range: x >= 0
name
string
required

The workspace vault key or connected integration, such as sentry or github.

Minimum string length: 1
evidence
null
host
null
scope
object | null

The GitHub scope, {repositories, access, base? | bases?}; required for github and refused for any other name. The daemon reads it through af_fleet_runtime::config::RepositoryBinding::parse.

Response

Covered, or a card is already open

What an access request did.

grant_id
string
required

The fleet's grant for the name.

state
enum<string>
required

What took place independent of whether the transaction saw the card ID.

Available options:
raised,
approved,
pending,
covered
gate_id
string | null

The card when observed. A concurrent pending request may not yet see its ID. Runners use state to decide whether this turn waits or continues.