Snyk ContainerRegistryImportPolicy API

The ContainerRegistryImportPolicy API from Snyk — 3 operation(s) for containerregistryimportpolicy.

Operations 6

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

DELETE /orgs/{org_id}/container_import/{integration_id}/policy Delete a container registry import policy · Delete a container registry import policy #
Ask an LLM
“How do I remove the import policy from a registry integration?”
“Can I stop automatic image imports by deleting the policy?”
Tell an agent destructive · confirm first
Delete the import policy on registry integration {integration_id} in org {org_id}.
Remove organization {org_id}'s container import policy from integration {integration_id}.
GET /orgs/{org_id}/container_import/{integration_id}/policy Get a container registry import policy · Get a container registry import policy #
Ask an LLM
“What import policy is set on my container registry integration?”
“Can I see which images a registry integration will auto-import?”
Tell an agent
Get the import policy for registry integration {integration_id} in org {org_id}.
Show organization {org_id}'s container import policy on integration {integration_id}.
PATCH /orgs/{org_id}/container_import/{integration_id}/policy Update a container registry import policy · Update a container registry import policy #
Ask an LLM
“How do I change the rules in an existing registry import policy?”
“Can I edit an import policy without deleting and recreating it?”
Tell an agent
Update the import policy on registry integration {integration_id} in org {org_id}.
Edit the existing container import policy of integration {integration_id} for organization {org_id}.
POST /orgs/{org_id}/container_import/{integration_id}/policy Create a container registry import policy · Create a container registry import policy #
Ask an LLM
“How do I set up an import policy for a container registry integration?”
“Can I define which registry images Snyk should import automatically?”
Tell an agent
Create an import policy for registry integration {integration_id} in org {org_id}.
Add a new container import policy to integration {integration_id} for organization {org_id}.
POST /orgs/{org_id}/container_import/{integration_id}/policy/dry_run Start a dry run of a registry import policy · Create a dry run job for a container registry import policy #
Ask an LLM
“Can I test what an import policy would import before applying it?”
“How do I start a dry run job for a container registry policy?”
Tell an agent
Start an import policy dry run for registry integration {integration_id} in org {org_id}.
Test this policy against integration {integration_id} in organization {org_id} without importing anything.
GET /orgs/{org_id}/container_import/{integration_id}/policy/dry_run/{job_id} Get the status and results of a policy dry run · Get a dry run job #
Ask an LLM
“Has my import policy dry run finished, and what did it find?”
“Where can I read the results of a dry run job?”
Tell an agent
Get dry run job {job_id} for registry integration {integration_id} in org {org_id}.
Check the results of policy dry run {job_id} on integration {integration_id}, org {org_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-containerregistryimportpolicy-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-containerregistryimportpolicy-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Snyk Container Registry Import Policy API
  version: REST
servers:
- description: Snyk REST API
  url: https://api.snyk.io/rest
security:
- APIToken: []
- BearerAuth: []
tags:


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