Skip to navigation

Get a policy

Gets a built-in policy by name or a saved one by id.

Authentication

AuthorizationBearer

An API key: Authorization: Bearer bl_live_….

OR
AuthorizationBearer

Blende’s apps: a sign-in JWT, sent with Blende-Context-Key.

Path parameters

idstringRequired

A built-in’s name or a saved policy’s pol_… id.

Response headers

Cache-ControlenumOptional

Always no-store.

Allowed values:
Request-IdstringOptional
The request's id.
RateLimitstringOptional
The quota left in the current window.
RateLimit-PolicystringOptional

The rate-limit policy in force.

Response

The policy, every field filled in.
idenum or string

A built-in’s name or a saved policy’s pol_… id.

namestring

Your label; a built-in’s is its id.

policyobject
Every field filled in.
created_atdatetime or null

RFC 3339; null for a built-in.

updated_atdatetime or null

RFC 3339; null for a built-in.

Errors

401
Unauthorized Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error