latestOpenAPI 3.1.02026-08-153864115.7 MB

c301132dbfd7

Permissions

Check Permissions

Lists permission actions and whether the calling credential is granted each one for a resource. Answers for whichever identity authenticated the request — a user session, an OAuth token, or an account or app API key — so it never describes who else can reach the resource.

get/permissions

Query parameters

resource_idstring required

Tag of the resource to check against: an account (biz_), product (prod_), experience (exp_), or app (app_). A resource the credential cannot see is reported as granted nothing rather than as an error.

actionsstring

Comma-separated permission actions to check, for example stats:read,payment:basic:read. Every action is returned when omitted.

Response

permissions listed

Example response

{
  "data": [
    {
      "action": "ai_prompt:create"
    }
  ]
}