AppAIGatewayDocs
API referenceAdmin change operations

Reveal the key an operation created, once

POST
/v1/admin/operations/{id}/reveal

Console session only, and requires the owner or admin role in the operation's account; a management key is refused with 403 session_required. First-party console only: the request URL's origin and the exact Origin header must both be the console origin. Answers the key an app or key creation made once, within 15 minutes of its creation: a second reveal is 409 already_revealed, and one after the window, or for a key revoked since, is 410 operation_expired. Reveal it only on a page a person asked to see it on, never on load.

Authorization

ConsoleSession
agw_identity_auth.session_token<token>

The console's session cookie. Admin requests from the console also send x-console-request: 1.

In: cookie

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/admin/operations/string/reveal"
{  "id": "string",  "kind": "string",  "result": {    "app": {      "revision": 1,      "id": "string",      "name": "string",      "config": {        "authentication": {          "type": "apple_app_attest",          "end_user": {            "source": "issuer",            "issuer": {              "jwks_url": "http://example.com",              "issuer": "string",              "audience": "string",              "user_id_claim": "string",              "token_header": "string",              "required_claims": [                {                  "path": "string",                  "contains": "string",                  "equals": "string"                }              ],              "max_token_lifetime_seconds": 1,              "provider": "firebase",              "entitlement": "revenuecat"            }          },          "app_attest": {            "team_id": "string",            "bundle_id": "string",            "environments": [              "production"            ]          }        },        "routing": {          "providers": {            "mode": "all"          },          "model_rewrites": {            "property1": "string",            "property2": "string"          }        },        "limits": {},        "endpoints": {}      },      "status": "active",      "created_at": "string",      "updated_at": "string"    },    "api_key": {      "id": "string",      "name": "string",      "key": "string",      "key_prefix": "string",      "created_at": "string"    }  }}