policies
List resources using a policy
Returns the names of every resource (agent, function, model, sandbox, job) currently referencing the given policy. Replaces the client-side fan-out the policies UI used to do over the listings.
get/policies/{policyName}/usages
Request
- Base URLhttps://api.blaxel.ai/v0
- Auth
- OAuth 2Authorization code/oauth/authorizeClient credentialsToken URL/oauth/tokenScopespolicies:get, agents:list, functions:list, models:list, sandboxes:list, jobs:list
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
policyNamestring required
Unique name identifier of the policy
Response
successful operation
Changes
No recorded changes to this operation across all 1 revision of this API.