Skip to content
gist.link ↗

deployment

Query Deploy API — POST https://deploy.api.gist.link/graphql

A single deployment including its full log text. Any org member.

deploy:query:deployment

The calling IAM key must hold this permission (or a wildcard that covers it: deploy:query:* or deploy:*) and the access token must have been minted with audience=deploy. See Permissions.

type Query {
deployment(id: Int!): Deployment
}
Argument Type Required Description
id Int! Yes —

Deployment — see the Deploy types reference.

Terminal window
curl https://deploy.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "query Deployment($id: Int!) { deployment(id: $id) { id uuid status created_at } }",
"variables": {
"id": 10
}
}
JSON