Know of an official OpenAPI document? Contribute it →
For Agents
Test packages and manifest files for vulnerabilities, list a project's aggregated issues, add or remove ignores, pull issue and test reports, and manage Snyk orgs, members, integrations, and webhooks.
Use for: Check whether lodash 4.17.15 has known vulnerabilities, Test this requirements.txt for vulnerable packages, List all critical issues in project abc for my Snyk org, Ignore this issue for 30 days because it is not reachable
Not supported: Does not handle static code analysis results, container image scanning, or runtime threat detection. Use for open-source dependency testing and Snyk org and project management only.
The Snyk API tests open-source dependencies for known vulnerabilities and license issues and manages the Snyk organizations and projects that track them. It can test a public package by name and version for npm, pip, Maven, Gradle, sbt, and RubyGems, or test manifest and lock files such as package.json with package-lock.json, requirements.txt, and Gemfile.lock. For monitored projects it lists aggregated issues, dependency graphs, snapshot history, and ignores, and it also covers organization members, integrations, webhooks, audit logs, and reporting counts. This is the v1 API, available on Snyk Business and Enterprise plans.
Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Snyk API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.
Step 1: Jentic One Host machine
# On the machine that will host your Jentic One instance:
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fsnyk.io%2Fsnyk-api-v1" | shStep 2: Agent machine
# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fsnyk.io%2Fsnyk-api-v1" | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with Snyk API.
Test a public package version for known issues, such as an npm package by packageName and version or a Maven artifact by groupId, artifactId, and version
Test manifest and lock files for npm, Yarn, pip, Composer, Gradle, Maven, sbt, RubyGems, and Go by posting them in the files body
List the aggregated issues of a monitored project and the dependency paths that introduce each one
Ignore a project issue with a reasonType and optional expiry, or remove an ignore
Pull reporting data: issue lists and issue, project, and test counts over a from and to window
Create a Jira issue from a Snyk project issue and list the Jira issues already linked
Manage organization members, user provisioning, integrations, and webhooks, and read group and org audit logs
Patterns agents use Snyk API for, with concrete tasks.
★ Dependency checks from a coding agent
Before a coding agent adds a dependency, it asks Snyk whether that version is safe. Through Jentic it finds the package test operation by intent, calls it with the package name and version, and reads the issues returned before editing package.json. The Snyk token stays in the developer's own Jentic One instance, not in the agent's context.
Call GET /test/npm/{packageName}/{version} with packageName 'lodash' and version '4.17.15', and list each issue's severity and title
Manifest scanning in automation
A build script without the Snyk CLI can still test dependencies by posting manifest content. The pip test takes the requirements.txt contents in the files body, and the npm and Yarn tests take package.json with its lock file, returning the issues found. Snyk's own docs note the CLI is more accurate for many package managers, so this suits quick checks.
Call POST /test/pip with files holding the target requirements.txt contents and return any issue with high severity
Project triage and ignores
A security engineer works through the backlog of a monitored project. The aggregated-issues operation lists the project's issues, the issue-paths operation shows how each is introduced, and the ignore operation records a decision with a reasonType such as not-vulnerable and an optional expiry, so the same issue does not keep paging the team.
Call POST /org/{orgId}/project/{projectId}/aggregated-issues, then for one issue call POST /org/{orgId}/project/{projectId}/ignore/{issueId} with reasonType 'not-vulnerable' and disregardIfFixable true
Security reporting
An engineering lead wants a monthly view of open issues. The reporting endpoints return issue counts grouped by severity or fixable, project counts, and test counts for a from and to range, plus a paged list of issues, which an agent can turn into a short written summary.
Call POST /reporting/counts/issues with from '2026-10-01' and to '2026-10-31' and groupBy 'severity', then summarise the totals
103 endpoints — the snyk api tests open-source dependencies for known vulnerabilities and license issues and manages the snyk organizations and projects that track them.
METHOD
PATH
DESCRIPTION
/test/npm/{packageName}/{version}
Test a public npm package version
/test/pip
Test a requirements.txt file
/org/{orgId}/projects
List all projects in an org
/org/{orgId}/project/{projectId}/aggregated-issues
List a project's aggregated issues
/org/{orgId}/project/{projectId}/ignore/{issueId}
Ignore an issue
/reporting/issues/latest
List latest issues
/org/{orgId}/webhooks
Create a webhook
/orgs
List the organizations a user belongs to
/test/npm/{packageName}/{version}
Test a public npm package version
/test/pip
Test a requirements.txt file
/org/{orgId}/projects
List all projects in an org
/org/{orgId}/project/{projectId}/aggregated-issues
List a project's aggregated issues
/org/{orgId}/project/{projectId}/ignore/{issueId}
Ignore an issue
/reporting/issues/latest
List latest issues
/org/{orgId}/webhooks
Create a webhook
/orgs
List the organizations a user belongs to
This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.
Base layer of spec validity and structural soundness.
Aggregated quality score from linter diagnostics, weighted by severity.
Percentage of `$ref` references that resolve successfully.
Checks whether the API description parses successfully and conforms to its declared specification (e.g., OpenAPI).
Structural correctness score based on schema issues using logarithmic dampening.
Clarity, completeness, and ingestion readiness for developers and tooling.
How richly the API is illustrated with examples.
Percentage of examples that conform to their schemas.
Percentage of operations with complete response definitions (success, client error, server error).
Health of API ingestion, bundling, and resolution within Jentic pipelines.
Semantic breadth, depth, and agent comprehension for AI systems.
Coverage of descriptions across API elements.
Coverage of RFC 9457 Problem Details for error responses.
Coverage, uniqueness, and casing consistency of operationIds for AI inference.
Coverage of summaries across operations/tags/info.
Functional utility, complexity comfort, and AI orchestration readiness.
Agent comfort level based on API operational and structural complexity.
Trust, risk posture, and security compliance.
Average quality of security schemes based on authentication method strength (weakest link for OAuth2).
Findability, semantic richness, and reasoning readiness.
Clarity and depth of descriptions across API elements.
Score it yourself
Every API in the directory is allowlisted, so you can re-score it with no key required.
npx @jentic/api-scorecard-cli score <openapi-url>What agents get from Jentic-routed access to this vendor.
Setup
Wiring the Snyk API by hand means sending your token with the non-standard `token` prefix in the Authorization header, finding your orgId, and choosing between package GET tests and manifest POST tests per ecosystem. Through Jentic you install once, import Snyk from the API Directory, add the token once, and your agent calls it.
Permission scoping
Snyk puts the organization id and project id in the URL path (/org/{orgId}/project/{projectId}/...), so a rule can pin your agent to one organization or one project. You choose the operations it may call, so destructive ones like project deletion or member removal are not included unless you add them.
Credential isolation
Your Snyk token is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
Intent-based discovery
Agents search Jentic by intent such as 'test a package for vulnerabilities' or 'list project issues', and Jentic returns the matching Snyk operation with its input schema so the agent calls the right endpoint without browsing the reference docs.
Alternatives and complements available in the Jentic catalogue.
Specific to using Snyk API through Jentic.
What authentication does the Snyk API use?
The spec's description says to send your Snyk API token in the `Authorization` header, preceded by the word token, as in `Authorization: token API_KEY`; without it the API returns 401. The spec does not declare a formal security scheme. Through Jentic, the token is stored encrypted by your own Jentic One instance and injected at call time.
Can I test a single package version without a manifest file?
Yes. GET operations test public packages directly, such as /test/npm/{packageName}/{version}, /test/pip/{packageName}/{version}, /test/rubygems/{gemName}/{version}, and /test/maven/{groupId}/{artifactId}/{version}. Most take an optional org query value to choose which Snyk organization the test counts against.
What are the rate limits for the Snyk API?
The OpenAPI spec does not specify rate limits. Check Snyk's API documentation at https://apidocs.snyk.io for current limits.
How do I check a dependency for vulnerabilities through Jentic?
Install Jentic One with `curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh`, import the Snyk API from the directory, and add your Snyk token once. Your agent searches for 'test a package for vulnerabilities' and calls GET /test/npm/{packageName}/{version} with the package and version. To run it on your own infrastructure, install Jentic One from its GitHub repo.
Is there a Snyk MCP server?
You don't need an MCP server to give your agent the Snyk API. Jentic connects it directly from the API Directory: import it, add your token once, and your agent calls it. Operations are discovered on demand, so no extra tool definitions are loaded into the agent's context.
Can I limit what my agent is allowed to do with the Snyk API?
Yes. For example, write a rule that allows only the GET /test operations and POST /org/{orgId}/project/{projectId}/aggregated-issues for your org id, so the agent can test packages and read one org's project issues but cannot delete projects, remove members, or change webhooks, and every call it makes is logged.
How does this v1 API relate to the Snyk REST API?
The spec describes this as Snyk's v1 API, served under the /api/v1 path on api.snyk.io, and notes Snyk is building a newer REST API under /rest that will eventually replace it. It is available to Business and Enterprise plan customers.
GET STARTED