Get a policy by ID
Changed onRequest
- Base URLhttps://docs.keycard.ai (the document declares no server; this is the origin it was published from)
- URLhttps://docs.keycard.ai/zones/{zone_id}/policies/{policy_id}
- Auth
- HTTP bearer
- or OAuth 2Client credentialsToken URL: /service-account-token
Path parameters
The zone identifier
The policy identifier
Query parameters
Opt-in to additional response fields on a single resource (user). Repeatable.
Headers
API version header (date-based, e.g. 2026-02-01)
Unique request identifier specified by the originating caller and passed along by proxies.
Response
The requested policy
Changes
- breaking
the response property
//became optional for the status - breaking
the response property
//became optional for the status - breaking
the response property
//became optional for the status - breaking
the response property
//became optional for the status - breaking
the response property
//became optional for the status - breaking
the response property
//became optional for the status - breaking
the response property
//became optional for the status - breaking
the response property
//became optional for the status - breaking
the
//response's property type changed fromstringto no type for status - breaking
the
//response's property type changed fromstringto no type for status - breaking
the
//response's property type changed fromstringto no type for status - breaking
the
//response's property type changed fromstringto no type for status - breaking
the
//response's property type changed fromstringto no type for status - breaking
the
//response's property type changed fromstringto no type for status - breaking
the
//response's property type changed fromstringto no type for status - breaking
the
//response's property type changed fromstringto no type for status - warning
added the new
not_implementedenum value to theresponse property for the response status - warning
added the new
not_implementedenum value to theresponse property for the response status - warning
added the new
not_implementedenum value to theresponse property for the response status - warning
added the new
not_implementedenum value to theresponse property for the response status - warning
added the new
not_implementedenum value to theresponse property for the response status - warning
added the new
not_implementedenum value to theresponse property for the response status - warning
added the new
not_implementedenum value to theresponse property for the response status - warning
added the new
not_implementedenum value to theresponse property for the response status - info
added the new optional
queryrequest parameterexpand[] - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added
subschema #2to the//response propertyanyOflist for the response status - info
added
subschema #2to the//response propertyanyOflist for the response status - info
added
subschema #2to the//response propertyanyOflist for the response status - info
added
subschema #2to the//response propertyanyOflist for the response status - info
added
subschema #2to the//response propertyanyOflist for the response status - info
added
subschema #2to the//response propertyanyOflist for the response status - info
added
subschema #2to the//response propertyanyOflist for the response status - info
added
subschema #2to the//response propertyanyOflist for the response status - info
removed the
bad_requestenum value from the//response property for the response status - info
removed the
bad_requestenum value from the//response property for the response status - info
removed the
bad_requestenum value from the//response property for the response status - info
removed the
bad_requestenum value from the//response property for the response status - info
removed the
bad_requestenum value from the//response property for the response status - info
removed the
bad_requestenum value from the//response property for the response status - info
removed the
bad_requestenum value from the//response property for the response status - info
removed the
bad_requestenum value from the//response property for the response status - info
removed the
conflictenum value from the//response property for the response status - info
removed the
conflictenum value from the//response property for the response status - info
removed the
conflictenum value from the//response property for the response status - info
removed the
conflictenum value from the//response property for the response status - info
removed the
conflictenum value from the//response property for the response status - info
removed the
conflictenum value from the//response property for the response status - info
removed the
conflictenum value from the//response property for the response status - info
removed the
conflictenum value from the//response property for the response status - info
removed the
forbiddenenum value from the//response property for the response status - info
removed the
forbiddenenum value from the//response property for the response status - info
removed the
forbiddenenum value from the//response property for the response status - info
removed the
forbiddenenum value from the//response property for the response status - info
removed the
forbiddenenum value from the//response property for the response status - info
removed the
forbiddenenum value from the//response property for the response status - info
removed the
forbiddenenum value from the//response property for the response status - info
removed the
forbiddenenum value from the//response property for the response status - info
removed the
internal_errorenum value from the//response property for the response status - info
removed the
internal_errorenum value from the//response property for the response status - info
removed the
internal_errorenum value from the//response property for the response status - info
removed the
internal_errorenum value from the//response property for the response status - info
removed the
internal_errorenum value from the//response property for the response status - info
removed the
internal_errorenum value from the//response property for the response status - info
removed the
internal_errorenum value from the//response property for the response status - info
removed the
internal_errorenum value from the//response property for the response status - info
removed the
not_foundenum value from the//response property for the response status - info
removed the
not_foundenum value from the//response property for the response status - info
removed the
not_foundenum value from the//response property for the response status - info
removed the
not_foundenum value from the//response property for the response status - info
removed the
not_foundenum value from the//response property for the response status - info
removed the
not_foundenum value from the//response property for the response status - info
removed the
not_foundenum value from the//response property for the response status - info
removed the
not_foundenum value from the//response property for the response status - info
removed the
rate_limit_exceededenum value from the//response property for the response status - info
removed the
rate_limit_exceededenum value from the//response property for the response status - info
removed the
rate_limit_exceededenum value from the//response property for the response status - info
removed the
rate_limit_exceededenum value from the//response property for the response status - info
removed the
rate_limit_exceededenum value from the//response property for the response status - info
removed the
rate_limit_exceededenum value from the//response property for the response status - info
removed the
rate_limit_exceededenum value from the//response property for the response status - info
removed the
rate_limit_exceededenum value from the//response property for the response status - info
removed the
service_unavailableenum value from the//response property for the response status - info
removed the
service_unavailableenum value from the//response property for the response status - info
removed the
service_unavailableenum value from the//response property for the response status - info
removed the
service_unavailableenum value from the//response property for the response status - info
removed the
service_unavailableenum value from the//response property for the response status - info
removed the
service_unavailableenum value from the//response property for the response status - info
removed the
service_unavailableenum value from the//response property for the response status - info
removed the
service_unavailableenum value from the//response property for the response status - info
removed the
unauthorizedenum value from the//response property for the response status - info
removed the
unauthorizedenum value from the//response property for the response status - info
removed the
unauthorizedenum value from the//response property for the response status - info
removed the
unauthorizedenum value from the//response property for the response status - info
removed the
unauthorizedenum value from the//response property for the response status - info
removed the
unauthorizedenum value from the//response property for the response status - info
removed the
unauthorizedenum value from the//response property for the response status - info
removed the
unauthorizedenum value from the//response property for the response status - info
removed the
validation_errorenum value from the//response property for the response status - info
removed the
validation_errorenum value from the//response property for the response status - info
removed the
validation_errorenum value from the//response property for the response status - info
removed the
validation_errorenum value from the//response property for the response status - info
removed the
validation_errorenum value from the//response property for the response status - info
removed the
validation_errorenum value from the//response property for the response status - info
removed the
validation_errorenum value from the//response property for the response status - info
removed the
validation_errorenum value from the//response property for the response status
- breaking
- info
added the optional property
to the response with the status
- info