Hosted gateway

Reveal one gateway's ingress (tenant) key, once

POST
/v1/public/account/workspace/deployments/credentials/reveal

Signed account session, current workspace ADMIN or OWNER and verified email; same-site JSON is mandatory. Acts on the gateway deployment_id names, else the primary. Returns that gateway's AgentSafe-Tenant-Key exactly once, after the fleet verified it; each gateway has its own key. An explicit id the workspace does not hold is 404 GATEWAY_NOT_FOUND.

Authorization

AccountSessionCookie
decionis_account_session<token>

The signed HttpOnly account session the web app holds after sign-in (also accepted as a Bearer acct_ token).

In: cookie

Query Parameters

deployment_id?string

One of the current workspace's gateways; omitted, the workspace's primary. The organization always comes from the session, never from a parameter.

Formatuuid

Request Body

application/json

Response Body

application/json

curl -X POST "https://example.com/v1/public/account/workspace/deployments/credentials/reveal" \  -H "Content-Type: application/json" \  -d '{}'
{  "tenant_key": "string",  "header": "AgentSafe-Tenant-Key",  "gateway_url": "string"}