Get the AI risk findings
Return the AI risk findings, worst severity first, one page as JSON (data, pagination): each with its findingKey, rule code, severity and severityLabel, a title and description in words, the device and its owner, what it is on (subjectName, toolKey), its evidence (what fleetd saw behind it, in its own words: the env names holding a secret word, the injection phrases, the auto-approve flags, the permission mode, the MCP capabilities, whether an extension came from its store; null for a rule with none; runtimeFlags null when the agent’s command line was not seen; fromWebstore: true a store extension a policy or another program installed) and the ticket that tracks its fix (id, reference, status; null while none does; each finding has its own ticket). Filter with severity (a list, e.g. critical and high), rule, kind (a tool kind or instruction_file), deviceId, toolKey and hasTicket (false for the findings no ticket covers yet). To open a ticket, createAiFindingTicket. These are the risks of AI tools only: MDM compliance alerts are getComplianceAlerts, CVEs getVulnerabilities. AI tools are what Primo finds on macOS, Windows and Linux devices (assistant apps, coding agents, IDE plugins, browser extensions, MCP servers, AI connections, agent instruction files), as of the last sync (lastSyncedAt of getAiToolsOverview), 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.