Skip to content

#1546/#1527 — this deployment's project-authority claim: the trusted runtime identity, the persisted claim and its all-new-nodes gate.

GET
/api/operator/v1/project-authority
curl --request GET \
--url https://example.com/api/operator/v1/project-authority

Read the runtime deployment identity and the persisted project-authority claim using the authorized operator credential.

OK

Media typeapplication/json

What the operator console shows before and after a claim.

object
claim
One of:

The persisted claim, None when the deployment was never claimed.

object
deployment_id
required
string format: uuid
environment
required

development, stage or production.

string
issuer
required

The issuer/audience string (PUBLIC_URL of the deployment).

string
claim_matches_runtime
required

Whether the persisted claim names exactly this runtime identity.

boolean
project_authority_enabled
required

The persisted all-new-nodes gate. Project credentials resolve, and can be issued, only while this is true AND the claim matches the runtime.

boolean
runtime
One of:

This process’s trusted runtime identity; None when its configuration cannot form one (Stage/Production without SUPACLOUD_DEPLOYMENT_ID).

object
deployment_id
required
string format: uuid
environment
required

development, stage or production.

string
issuer
required

The issuer/audience string (PUBLIC_URL of the deployment).

string
runtime_refusal

Why the runtime identity could not be formed, as the stable refusal code.

string | null

Example generated

{
"claim": {
"deployment_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"environment": "example",
"issuer": "example"
},
"claim_matches_runtime": true,
"project_authority_enabled": true,
"runtime": {
"deployment_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"environment": "example",
"issuer": "example"
},
"runtime_refusal": "example"
}