Policies
List Policies
Retrieve a list of access control policies defined in the system. Policies control which agents can access which resources.
get/policies
Request
- Base URLhttp://localhost:8000/api/v1
- Auth
- HTTP bearer
- or API key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
skipinteger
Number of records to skip for pagination
limitinteger
Maximum number of records to return
Response
List of policies retrieved successfully
Example response
[
{
"agent_id": "agent-ebd9cd4a-1234",
"effect": "allow",
"actions": [
"read",
"write"
],
"resources": [
"openai-api",
"secrets:prod/*"
]
}
]Changes
No recorded changes to this operation across all 2 revisions of this API.