Approve or block several AI tools, or mark them not reviewed
Record one decision of the company on up to 100 AI tools (toolKeys from getAiTools, filtered for instance on kind or policy): approved, blocked or not_reviewed, and return each policy as JSON data. A 404 means no device reports one of the tools, and no policy changed. A decision only: Primo removes nothing from the devices and does not stop the tools. For one tool, setAiToolPolicy. AI tools are what Primo finds on Macs (assistant apps, coding agents, IDE plugins, browser extensions, MCP servers, AI connections, agent instruction files), as of the last report (lastSyncedAt of getAiToolsOverview, every 5 minutes), with Primo’s severities, less the findings the company’s AI tools settings ignore. They are not the software catalog (getSoftwares, getDeviceSoftware), the company’s own AI agents (listAgents) nor AI credits (getAiUsage). A company without AI tools monitoring gets a 403, final.
Authorizations
Use your Primo API key in the Authorization header as Bearer <API_KEY>.
Body
The tools to decide on, each toolKey from getAiTools
1 - 100 elementsIdentifier of the tool, from getAiTools or getAiToolsOverview
1 - 300The company's decision on the tool: not_reviewed, approved or blocked
not_reviewed, approved, blocked