Policies
Get Policy by ID
get/policies/{policy_id}
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.
Path parameters
policy_idstring uuid required
Response
Policy retrieved
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.