Snyk Asset API

The Asset API from Snyk — 6 operation(s) for asset.

Operations 11

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 /groups/{group_id}/assets/repository/aliases Bulk remove repository aliases in a group · Bulk remove aliases from repository assets in group (Early Access) #
Ask an LLM
“How do I detach aliased repo URLs from their canonical asset in my group?”
“What happens to a URL after I remove its alias at group level?”
Tell an agent destructive · confirm first
Remove these repository aliases in group {group_id}.
Detach aliased URLs from their canonical repository assets across group {group_id}.
GET /groups/{group_id}/assets/repository/aliases List repository URL aliases in a group · List repository aliases in group (Early Access) #
Ask an LLM
“Which alternate repository URLs are aliased to assets across my group?”
“Can I filter group repository aliases down to one canonical URL?”
Tell an agent
List repository aliases in group {group_id}.
Show group {group_id} aliases pointing at repository {url}.
POST /groups/{group_id}/assets/repository/aliases Add a repository URL alias at group level · Add alias for a repository asset in group (Early Access) #
Ask an LLM
“How do I tell Snyk that two repo URLs in my group are the same repository?”
“Can I link alternate repository URLs to one canonical asset across a group?”
Tell an agent
Add a repository alias in group {group_id}.
Link these alternate repo URLs to their canonical asset in group {group_id}.
POST /groups/{group_id}/assets/search Search a group's assets with filters · List Assets with filters (Early Access) #
Ask an LLM
“How can I find repositories, images and other assets in my Snyk group?”
“Can I search group assets using filters instead of paging everything?”
Tell an agent
Search the assets in group {group_id}.
Find assets in group {group_id} matching my filters.
GET /groups/{group_id}/assets/{asset_id} Get an asset by its ID · Get an Asset by its ID (Early Access) #
Ask an LLM
“Where can I see everything Snyk knows about one asset?”
“Can I fetch a single asset's attributes by asset ID?”
Tell an agent
Get asset {asset_id} in group {group_id}.
Show the details of asset {asset_id} from group {group_id}.
PATCH /groups/{group_id}/assets/{asset_id} Update an asset's attributes · Update asset attributes (Early Access) #
Ask an LLM
“How do I change attributes on an asset in my group?”
“Can I partially update an asset without resending all of it?”
Tell an agent
Update asset {asset_id} in group {group_id}.
Patch the attributes of asset {asset_id} belonging to group {group_id}.
GET /groups/{group_id}/assets/{asset_id}/relationships/assets List assets related to an asset · List related assets with pagination (Early Access) #
Ask an LLM
“What other assets are connected to this repository or image?”
“Can I filter an asset's related assets by type?”
Tell an agent
List assets related to asset {asset_id} in group {group_id}.
Show related assets of type {type} for asset {asset_id} in group {group_id}.
GET /groups/{group_id}/assets/{asset_id}/relationships/projects List Snyk projects linked to an asset · List asset projects with pagination (Early Access) #
Ask an LLM
“Which Snyk projects scan this asset?”
“Can I see the projects tied to a repository asset?”
Tell an agent
List projects for asset {asset_id} in group {group_id}.
Show which projects are linked to asset {asset_id} in group {group_id}.
DELETE /orgs/{org_id}/assets/repository/aliases Bulk remove repository aliases in an organization · Bulk remove aliases from repository assets in org (Early Access) #
Ask an LLM
“How do I split aliased repo URLs back out in one organization?”
“Does removing an org alias create a standalone asset for that URL?”
Tell an agent destructive · confirm first
Remove these repository aliases in org {org_id}.
Detach aliased URLs from canonical repository assets in organization {org_id}.
GET /orgs/{org_id}/assets/repository/aliases List repository URL aliases in an organization · List repository aliases in org (Early Access) #
Ask an LLM
“Which repository URL aliases exist in my organization?”
“Can I narrow an org's repo aliases to a single canonical URL?”
Tell an agent
List repository aliases in org {org_id}.
Show org {org_id} aliases for repository {url}.
POST /orgs/{org_id}/assets/repository/aliases Add a repository URL alias in an organization · Add alias for a repository asset in org (Early Access) #
Ask an LLM
“How do I merge two repo URLs into one asset within a single organization?”
“Can I add an alternate URL to a repository asset at org level?”
Tell an agent
Add a repository alias in org {org_id}.
Link alternate repo URLs to their canonical asset in organization {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-asset-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-asset-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Snyk Asset API
  version: REST
servers:
- description: Snyk REST API
  url: https://api.snyk.io/rest
security:
- APIToken: []
- BearerAuth: []
tags:


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