Snyk Policies API

The Policies API from Snyk — 5 operation(s) for policies.

Operations 10

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /groups/{group_id}/policies List a group's policies · Get group level policies (Early Access) #
Ask an LLM
“Which policies are defined at the group level?”
“Can I page through every policy my Snyk group has?”
Tell an agent
List the policies for group {group_id}.
Show the first {limit} group-level policies in group {group_id}.
POST /groups/{group_id}/policies Create a group-level policy · Create a new group level policy (Early Access) #
Ask an LLM
“Can I create a policy that applies across a whole group?”
“Why would creating a group-level policy return a 403?”
Tell an agent
Create a new group-level policy in group {group_id}.
Add a policy to group {group_id} with these rules.
DELETE /groups/{group_id}/policies/{policy_id} Delete a group-level policy · Delete an group-level policy (Early Access) #
Ask an LLM
“Can I remove a policy that was set at the group level?”
“What do I need to delete an existing group policy?”
Tell an agent destructive · confirm first
Delete policy {policy_id} from group {group_id}.
Remove group {group_id}'s policy {policy_id}.
PATCH /groups/{group_id}/policies/{policy_id} Update a group-level policy · Update a group-level policy (Early Access) #
Ask an LLM
“Can I edit an existing group-level policy?”
“Is changing a group policy restricted by a feature flag?”
Tell an agent
Update policy {policy_id} in group {group_id}.
Change the rules of group {group_id}'s policy {policy_id}.
GET /orgs/{org_id}/policies List or search an organization's ignore policies · Get org-level policies #
Ask an LLM
“Which ignore policies does my organization have for Code Consistent Ignores?”
“Can I find org policies that expire before a certain date?”
Tell an agent
List the policies for organization {org_id}.
Search org {org_id} policies for {search}.
POST /orgs/{org_id}/policies Create an organization-level policy · Create a new org-level policy #
Ask an LLM
“Can I create an ignore policy for one organization?”
“What do I need enabled before I can add an org-level policy?”
Tell an agent
Create a new policy in organization {org_id}.
Add an ignore policy to org {org_id} with these conditions.
DELETE /orgs/{org_id}/policies/{policy_id} Delete an organization policy · Delete an org-level policy #
Ask an LLM
“Can I delete an org-level ignore policy I no longer need?”
“What happens when I remove an organization policy?”
Tell an agent destructive · confirm first
Delete policy {policy_id} from organization {org_id}.
Remove org {org_id}'s policy {policy_id}.
GET /orgs/{org_id}/policies/{policy_id} Get one organization policy by ID · Get an org-level policy #
Ask an LLM
“Can I look up a single org-level policy by its ID?”
“What does one org policy's record contain?”
Tell an agent
Get policy {policy_id} in organization {org_id}.
Show the details of org {org_id}'s policy {policy_id}.
PATCH /orgs/{org_id}/policies/{policy_id} Update an organization policy · Update an org-level policy #
Ask an LLM
“Can I change an existing org-level policy?”
“Is it possible to extend an organization ignore policy after it's created?”
Tell an agent
Update policy {policy_id} in organization {org_id}.
Edit the settings of org {org_id}'s policy {policy_id}.
GET /orgs/{org_id}/policies/{policy_id}/events List the event history of an org policy · List org policy events (Early Access) #
Ask an LLM
“What changes have been made to an org policy over time?”
“Can I see the audit history for an ignore policy in my organization?”
Tell an agent
List the events for policy {policy_id} in organization {org_id}.
Show the history of org {org_id} policy {policy_id}.

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/snyk:snyk-policies-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

snyk-policies-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Snyk Policies API
  version: REST
servers:
- description: Snyk REST API
  url: https://api.snyk.io/rest
security:
- APIToken: []
- BearerAuth: []
tags:


# --- truncated at 32 KB (68 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/snyk/refs/heads/main/openapi/snyk-policies-api-openapi.yml