SnozeDevelopers
API referenceAi

List the operations this workspace always approves

Returns the operation names someone has marked "always allow" from an approval card, which is what stops the agent asking before it runs them. Requires a workspace member with the `ai:read` permission.

GET
/v1/workspaces/{workspaceId}/ai/approval-policies

Authorization

apiKey
headerAuthorizationBearer <snoze_sk_…>

Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.

Path Parameters

workspaceId*string

Response Body

Success

application/json
  1. response
data*array<string>
Example Request
curl -X GET 'https://api.snoze.dev/v1/workspaces/string/ai/approval-policies'
Example Response
{  "data": [    "string"  ]}