List a workspace's guardrail approvals: the API-key approvals its approvers decide, or with kind=SELF your own
Changed onLists the workspace's approvals of one kind, newest first. WORKSPACE approvals are asks from agents acting for an API key, which a workspace owner or editor decides. SELF approvals are asks from agents acting for a person, and only that person's own are listed. Readable by any member of the workspace; API keys and agents are refused.
Request
- Base URL: https://api.mabl.com
- URL: https://api.mabl.com/workspaces/{workspace_id}/guardrails/approvals
- Auth: one of:
- HTTP basic
- API key in header Authorization
Path parameters
The id of the workspace the approval belongs to.
Query parameters
Who decides a guardrail approval. SELF is decided by the person the agent acts for; WORKSPACE, for an agent acting for an API key, by a workspace owner or editor.
WORKSPACE for the API-key approvals the workspace's owners and editors decide, SELF for your own; WORKSPACE when absent.
Only approvals in this state; every state when absent.
The most approvals to return, at most 200; 50 when absent.
Response
The workspace's approvals of that kind, newest first.
Changes
- info
endpoint added
- info