Operations 4
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
/orgs/{org_id}/projects/{project_id}/sbom
Get a project's SBOM document · Get a project’s SBOM document
#
Ask an LLM
“Can I download a software bill of materials for one of my Snyk projects?”
“Which SBOM formats are supported, like CycloneDX 1.6 or SPDX 2.3?”
Tell an agent
Get the SBOM for project {project_id} in org {org_id}.
Export project {project_id} in org {org_id} as an SBOM in {format} format.
POST
/orgs/{org_id}/sbom_tests
Test an SBOM document for vulnerabilities · Create an SBOM test run (Early Access)
#
Ask an LLM
“Can I upload an SBOM and have its components checked for known vulnerabilities?”
“Why were some components skipped when I tested my SBOM?”
Tell an agent
Start a vulnerability test of this CycloneDX SBOM in org {org_id}.
Submit this SPDX 2.3 JSON document for an SBOM test run in org {org_id}.
GET
/orgs/{org_id}/sbom_tests/{job_id}
Check an SBOM test run's status · Gets an SBOM test run status (Early Access)
#
Ask an LLM
“Has my SBOM test run finished yet?”
“Can I poll the progress of an SBOM vulnerability test?”
Tell an agent
Check the status of SBOM test job {job_id} in org {org_id}.
Tell me whether SBOM test {job_id} in org {org_id} is done.
GET
/orgs/{org_id}/sbom_tests/{job_id}/results
Get the findings of an SBOM test run · Gets an SBOM test run result (Early Access)
#
Ask an LLM
“What vulnerabilities did my SBOM test find?”
“Can I page through the results of a completed SBOM test?”
Tell an agent
Get the results of SBOM test job {job_id} in org {org_id}.
Show the first {limit} findings from SBOM test {job_id} in org {org_id}.
Documentation
Documentation
https://apidocs.snyk.io/?version=2024-10-15
Documentation
https://apidocs.snyk.io/?version=2024-10-15#tag/Orgs
Documentation
https://apidocs.snyk.io/?version=2024-10-15#tag/Projects
Documentation
https://apidocs.snyk.io/?version=2024-10-15#tag/Issues
Documentation
https://apidocs.snyk.io/?version=2024-10-15#tag/Targets
Documentation
https://apidocs.snyk.io/?version=2024-10-15#tag/Integrations
Documentation
https://apidocs.snyk.io/?version=2024-10-15#tag/Audit-Logs
Documentation
https://apidocs.snyk.io/?version=2024-10-15#tag/SBOM
Documentation
https://apidocs.snyk.io/?version=2024-10-15#tag/Container-Images
Documentation
https://apidocs.snyk.io/?version=2024-10-15#tag/Custom-Base-Images
Documentation
https://apidocs.snyk.io/?version=2024-10-15#tag/Webhooks
Documentation
https://apidocs.snyk.io/?version=2024-10-15#tag/Issues-Export
Specifications
Schemas & Data
JSONSchema
https://artifacts.apis.io/snyk/json-schema/snyk-links-schema.json
JSONSchema
https://artifacts.apis.io/snyk/json-schema/snyk-resource-reference-schema.json
JSONSchema
https://artifacts.apis.io/snyk/json-schema/snyk-json-api-schema.json
JSONSchema
https://artifacts.apis.io/snyk/json-schema/snyk-sbom-response-schema.json
JSONSchema
https://artifacts.apis.io/snyk/json-schema/snyk-sbom-test-create-attributes-schema.json
JSONSchema
https://artifacts.apis.io/snyk/json-schema/snyk-types-schema.json