Authzed · Schema

CheckPermissionResponse

AuthorizationAccess ControlPermissionsZanzibarSpiceDBgRPCRESTRelationship-Based Access ControlReBACFine-Grained AuthorizationIdentitySecurity

Properties

Name Type Description
checkedAt object
permissionship object Permissionship communicates whether or not the subject has the requested permission or has a relationship with the given resource, over the given relation. This value will be authzed.api.v1.PERMISSION
partialCaveatInfo object
debugTrace object debug_trace is the debugging trace of this check, if requested.
optionalExpiresAt string optional_expires_at is the time at which at least one of the relationships used to compute this result, expires (if any). This is *not* related to the caching window.
View JSON Schema on GitHub

JSON Schema

CheckPermissionResponse.json Raw ↑
{
  "type": "object",
  "properties": {
    "checkedAt": {
      "$ref": "#/components/schemas/ZedToken"
    },
    "permissionship": {
      "$ref": "#/components/schemas/CheckPermissionResponse.Permissionship",
      "description": "Permissionship communicates whether or not the subject has the requested\npermission or has a relationship with the given resource, over the given\nrelation.\n\nThis value will be authzed.api.v1.PERMISSIONSHIP_HAS_PERMISSION if the\nrequested subject is a member of the computed permission set or there\nexists a relationship with the requested relation from the given resource\nto the given subject."
    },
    "partialCaveatInfo": {
      "$ref": "#/components/schemas/PartialCaveatInfo",
      "title": "partial_caveat_info holds information of a partially-evaluated caveated response"
    },
    "debugTrace": {
      "$ref": "#/components/schemas/DebugInformation",
      "description": "debug_trace is the debugging trace of this check, if requested."
    },
    "optionalExpiresAt": {
      "type": "string",
      "format": "date-time",
      "description": "optional_expires_at is the time at which at least one of the relationships used to\ncompute this result, expires (if any). This is *not* related to the caching window."
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/authzed/main/json-schema/CheckPermissionResponse.json",
  "title": "CheckPermissionResponse"
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/CheckPermissionResponse"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.