v1

latestOpenAPI 3.0.32026-07-22194221292.5 KB
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

Path parameters

policyNamestring required

Unique name identifier of the policy

Response

successful operation

agentsobject[]

Names of agents whose spec.policies contains this policy.

functionsobject[]

Names of functions whose spec.policies contains this policy.

jobsobject[]

Names of jobs whose spec.policies contains this policy.

modelsobject[]

Names of models whose spec.policies contains this policy.

sandboxesobject[]

Names of sandboxes whose spec.policies contains this policy.