Revoke a standing approval for an operation
Deletes the standing "always allow" policy for one operation so the agent asks about it again, and returns the policies that remain. Requires a workspace member with the `ai:write` permission, because starting to ask again is a workspace setting rather than a chat action. Naturally idempotent: revoking an operation that has no standing policy leaves the list unchanged.
apiKeyAuthorizationBearer <snoze_sk_…>Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.
workspaceId*stringoperation*stringSuccess
application/json- response
data*array<string>curl -X DELETE 'https://api.snoze.dev/v1/workspaces/string/ai/approval-policies/string'{ "data": [ "string" ]}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.
Describe the AI operations available in a workspace
Returns the operation catalog revision along with each operation's label, icon, presentation, and the Ask/Build/Act modes it supports, which is what the client uses to render the AI surface. Requires an authenticated caller who is a member of the workspace.