API referenceSections

The variables a deployment names, for the server hosting the site

Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication

GET /api/v1/agent/sites/{id}/env

The variables a deployment names, for the server hosting the site

Only the current revision is served; an older one is 409 ENV_CHANGED (ADR 0017).

Authentication: session cookie __Host-panel_session (contract default; see Authentication).

Parameters

NameInTypeRequiredDescription
idpathstringrequired
revisionqueryintegerrequired
  • minimum 1

Responses

200 The exact bytes whose SHA-256 the signed job carries

Content type: application/octet-stream

string (binary)

default Error

Content type: application/json

  • code string required
  • message string required
  • details_redacted boolean required
  • correlation_id string required
  • retryable boolean required