Changelog
2024-10-15 - Updated 2024-11-06
GET - /orgs/{org_id}/packages/{purl}/issues
- Updated
/orgs/{org_id}/packages/{purl}/issues
- Updatedremoved
#/components/schemas/ResourcePathRepresentation, #/components/schemas/PackageRepresentation
from thedata/items/attributes/coordinates/items/representations/items/
response propertyanyOf
list for the response status200
POST - /orgs/{org_id}/packages/issues
- Updated
/orgs/{org_id}/packages/issues
- Updatedremoved
#/components/schemas/ResourcePathRepresentation, #/components/schemas/PackageRepresentation
from thedata/items/attributes/coordinates/items/representations/items/
response propertyanyOf
list for the response status200
2024-10-15 - Updated 2024-10-31
GET - /orgs/{org_id}/packages/{purl}/issues
- Updated
/orgs/{org_id}/packages/{purl}/issues
- Updatedadded
#/components/schemas/ResourcePathRepresentation, #/components/schemas/PackageRepresentation
to thedata/items/attributes/coordinates/items/representations/items/
response propertyanyOf
list for the response status200
POST - /orgs/{org_id}/packages/issues
- Updated
/orgs/{org_id}/packages/issues
- Updatedadded
#/components/schemas/ResourcePathRepresentation, #/components/schemas/PackageRepresentation
to thedata/items/attributes/coordinates/items/representations/items/
response propertyanyOf
list for the response status200
2024-10-15 - Updated 2024-10-30
GET - /orgs/{org_id}/issues
- Updated
/orgs/{org_id}/issues
- Updatedadded the new
function
enum value to thedata/items/attributes/coordinates/items/reachability
response property for the response status200
added the new
no-info
enum value to thedata/items/attributes/coordinates/items/reachability
response property for the response status200
added the new
not-applicable
enum value to thedata/items/attributes/coordinates/items/reachability
response property for the response status200
added the new
package
enum value to thedata/items/attributes/coordinates/items/reachability
response property for the response status200
GET - /orgs/{org_id}/issues/{issue_id}
- Updated
/orgs/{org_id}/issues/{issue_id}
- Updatedadded the new
function
enum value to thedata/attributes/coordinates/items/reachability
response property for the response status200
GET - /groups/{group_id}/issues
- Updated
/groups/{group_id}/issues
- UpdatedGET - /groups/{group_id}/issues/{issue_id}
- Updated
/groups/{group_id}/issues/{issue_id}
- Updated2024-10-15
Simplified API Versioning
Going forward, Snyk will expose one API specification per version-date, rather than one for each stability. New versions of the Snyk API will only be published when necessitated by breaking changes. For newer versions, you should only specify the date for beta versions, i.e 2024-10-15
rather than 2024-10-15~beta
. It's important to note that existing versions won't be affected by these changes; this new approach only applies to upcoming new versions.
2024-08-25 - Updated 2024-10-10
GET - /self
- Updated
/self
- Updatedadded
#/components/schemas/User20240422, #/components/schemas/ServiceAccount20240422
to thedata/attributes
response propertyanyOf
list for the response status200
removed
#/components/schemas/ServiceAccount
from thedata/attributes
response propertyanyOf
list for the response status200
GET - /orgs/{org_id}/projects
- Updated
/orgs/{org_id}/projects
- Updatedadded
#/components/schemas/ProjectRelationshipsTarget20230215
to thedata/items/relationships/target
response propertyoneOf
list for the response status200
removed
#/components/schemas/ProjectRelationshipsTarget
from thedata/items/relationships/target
response propertyoneOf
list for the response status200
PATCH - /orgs/{org_id}/projects/{project_id}
- Updated
/orgs/{org_id}/projects/{project_id}
- Updatedadded
#/components/schemas/ProjectRelationshipsTarget20230215
to thedata/relationships/target
response propertyoneOf
list for the response status200
removed
#/components/schemas/ProjectRelationshipsTarget
from thedata/relationships/target
response propertyoneOf
list for the response status200
GET - /orgs/{org_id}/projects/{project_id}
- Updated
/orgs/{org_id}/projects/{project_id}
- Updatedadded
#/components/schemas/ProjectRelationshipsTarget20230215
to thedata/relationships/target
response propertyoneOf
list for the response status200
removed
#/components/schemas/ProjectRelationshipsTarget
from thedata/relationships/target
response propertyoneOf
list for the response status200
GET - /orgs/{org_id}/packages/{purl}/issues
- Updated
/orgs/{org_id}/packages/{purl}/issues
- Updatedadded the optional property
data/items/attributes/severities/items/type
to the response with the200
statusadded the optional property
data/items/attributes/severities/items/version
to the response with the200
statusadded the optional property
data/items/attributes/slots/exploit_details
to the response with the200
statusadded the required property
data/items/attributes/coordinates/items/representations
to the response with the200
status
POST - /orgs/{org_id}/packages/issues
- Updated
/orgs/{org_id}/packages/issues
- Updatedadded the optional property
data/items/attributes/severities/items/type
to the response with the200
statusadded the optional property
data/items/attributes/severities/items/version
to the response with the200
statusadded the optional property
data/items/attributes/slots/exploit_details
to the response with the200
status
GET - /orgs/{org_id}/invites
- Updated
/orgs/{org_id}/invites
- Updatedremoved the
org_invitation
enum value from thedata/items/type
response property for the response status200
2024-08-25 - Updated 2024-09-11
POST - /orgs/{org_id}/apps
- Updated
/orgs/{org_id}/apps
- Updatedadded the new optional request property
access_token_ttl_seconds
added the new optional request property
context
GET - /orgs/{org_id}/apps
- Updated
/orgs/{org_id}/apps
- Updatedthe response property
data/items/attributes/client_id
became required for the status200
the response property
data/items/attributes/redirect_uris
became required for the status200
PATCH - /orgs/{org_id}/apps/{client_id}
- Updated
/orgs/{org_id}/apps/{client_id}
- Updatedadded the new optional request property
access_token_ttl_seconds
added the new optional request property
name
added the new optional request property
redirect_uris
the response property
data/attributes/client_id
became required for the status200
the response property
data/attributes/redirect_uris
became required for the status200
GET - /orgs/{org_id}/apps/{client_id}
- Updated
/orgs/{org_id}/apps/{client_id}
- Updatedthe response property
data/attributes/client_id
became required for the status200
the response property
data/attributes/redirect_uris
became required for the status200
2024-08-25 - Updated 2024-09-03
POST - /groups/{group_id}/memberships
- Updated
/groups/{group_id}/memberships
- Updatedthe response property
data/relationships/group
became required for the status201
the response property
data/relationships/group/data/attributes
became required for the status201
the response property
data/relationships/group/data/attributes/name
became required for the status201
the response property
data/relationships/group/data/id
became required for the status201
the response property
data/relationships/role
became required for the status201
the response property
data/relationships/role/data/attributes
became required for the status201
the response property
data/relationships/role/data/attributes/name
became required for the status201
the response property
data/relationships/role/data/id
became required for the status201
the response property
data/relationships/user
became required for the status201
the response property
data/relationships/user/data/attributes
became required for the status201
the response property
data/relationships/user/data/attributes/email
became required for the status201
the response property
data/relationships/user/data/attributes/name
became required for the status201
the response property
data/relationships/user/data/attributes/username
became required for the status201
the response property
data/relationships/user/data/id
became required for the status201
GET - /groups/{group_id}/memberships
- Updated
/groups/{group_id}/memberships
- Updatedthe response property
data/items/relationships/group
became required for the status200
the response property
data/items/relationships/group/data/attributes
became required for the status200
the response property
data/items/relationships/group/data/attributes/name
became required for the status200
the response property
data/items/relationships/group/data/id
became required for the status200
the response property
data/items/relationships/role
became required for the status200
the response property
data/items/relationships/role/data/attributes
became required for the status200
the response property
data/items/relationships/role/data/attributes/name
became required for the status200
the response property
data/items/relationships/role/data/id
became required for the status200
the response property
data/items/relationships/user
became required for the status200
the response property
data/items/relationships/user/data/attributes
became required for the status200
the response property
data/items/relationships/user/data/attributes/email
became required for the status200
the response property
data/items/relationships/user/data/attributes/name
became required for the status200
the response property
data/items/relationships/user/data/attributes/username
became required for the status200
the response property
data/items/relationships/user/data/id
became required for the status200
2024-08-25 - Updated 2024-08-30
POST - /orgs/{org_id}/memberships
- Updated
/orgs/{org_id}/memberships
- Updatedthe response property
data/relationships/org
became required for the status201
the response property
data/relationships/org/data/attributes
became required for the status201
the response property
data/relationships/org/data/attributes/name
became required for the status201
the response property
data/relationships/org/data/id
became required for the status201
the response property
data/relationships/role
became required for the status201
the response property
data/relationships/role/data/attributes
became required for the status201
the response property
data/relationships/role/data/attributes/name
became required for the status201
the response property
data/relationships/role/data/id
became required for the status201
the response property
data/relationships/user
became required for the status201
the response property
data/relationships/user/data/attributes
became required for the status201
the response property
data/relationships/user/data/attributes/email
became required for the status201
the response property
data/relationships/user/data/attributes/name
became required for the status201
the response property
data/relationships/user/data/attributes/username
became required for the status201
the response property
data/relationships/user/data/id
became required for the status201
GET - /orgs/{org_id}/memberships
- Updated
/orgs/{org_id}/memberships
- Updatedthe response property
data/items/relationships/org
became required for the status200
the response property
data/items/relationships/org/data/attributes
became required for the status200
the response property
data/items/relationships/org/data/attributes/name
became required for the status200
the response property
data/items/relationships/org/data/id
became required for the status200
the response property
data/items/relationships/role
became required for the status200
the response property
data/items/relationships/role/data/attributes
became required for the status200
the response property
data/items/relationships/role/data/attributes/name
became required for the status200
the response property
data/items/relationships/role/data/id
became required for the status200
the response property
data/items/relationships/user
became required for the status200
the response property
data/items/relationships/user/data/attributes
became required for the status200
the response property
data/items/relationships/user/data/attributes/email
became required for the status200
the response property
data/items/relationships/user/data/attributes/name
became required for the status200
the response property
data/items/relationships/user/data/attributes/username
became required for the status200
the response property
data/items/relationships/user/data/id
became required for the status200
2024-08-25
POST - /orgs/{org_id}/memberships
- Added
/orgs/{org_id}/memberships
- AddedCreate a org membership for a user with role
GET - /orgs/{org_id}/memberships
- Added
/orgs/{org_id}/memberships
- AddedReturns all memberships of the org
PATCH - /orgs/{org_id}/memberships/{membership_id}
- Added
/orgs/{org_id}/memberships/{membership_id}
- AddedUpdate a org membership for a user with role
DELETE - /orgs/{org_id}/memberships/{membership_id}
- Added
/orgs/{org_id}/memberships/{membership_id}
- AddedRemove a user`s membership of the group.
GET - /groups/{group_id}/org_memberships
- Added
/groups/{group_id}/org_memberships
- AddedGet list of org memberships of a group user
POST - /groups/{group_id}/memberships
- Added
/groups/{group_id}/memberships
- AddedCreate a group membership for a user with role
GET - /groups/{group_id}/memberships
- Added
/groups/{group_id}/memberships
- AddedReturns all memberships of the group
PATCH - /groups/{group_id}/memberships/{membership_id}
- Added
/groups/{group_id}/memberships/{membership_id}
- AddedUpdate a role from a group membership
DELETE - /groups/{group_id}/memberships/{membership_id}
- Added
/groups/{group_id}/memberships/{membership_id}
- AddedDeletes a membership from a group
2024-08-22
GET - /orgs/{org_id}/projects/{project_id}/sbom
- Updated
/orgs/{org_id}/projects/{project_id}/sbom
- Updatedadded the new enum value
cyclonedx1.5+json
to thequery
request parameterformat
added the new enum value
cyclonedx1.5+xml
to thequery
request parameterformat
added the new enum value
cyclonedx1.6+json
to thequery
request parameterformat
added the new enum value
cyclonedx1.6+xml
to thequery
request parameterformat
2024-08-15
GET - /orgs/{org_id}/audit_logs/search
- Updated
/orgs/{org_id}/audit_logs/search
- UpdatedGET - /groups/{group_id}/audit_logs/search
- Updated
/groups/{group_id}/audit_logs/search
- Updated2024-06-21 - Updated 2024-06-27
POST - /orgs/{org_id}/collections
- Updated
/orgs/{org_id}/collections
- Updatedthe
data/attributes/name
response's property pattern^([a-zA-Z0-9 _\-\/:.])+$
was removed for the status201
GET - /orgs/{org_id}/collections
- Updated
/orgs/{org_id}/collections
- Updatedthe
data/items/attributes/name
response's property pattern^([a-zA-Z0-9 _\-\/:.])+$
was removed for the status200
PATCH - /orgs/{org_id}/collections/{collection_id}
- Updated
/orgs/{org_id}/collections/{collection_id}
- Updatedthe
data/attributes/name
response's property pattern^([a-zA-Z0-9 _\-\/:.])+$
was removed for the status200
GET - /orgs/{org_id}/collections/{collection_id}
- Updated
/orgs/{org_id}/collections/{collection_id}
- Updatedthe
data/attributes/name
response's property pattern^([a-zA-Z0-9 _\-\/:.])+$
was removed for the status200
2024-06-21 - Updated 2024-06-25
PATCH - /orgs/{org_id}
- Updated
/orgs/{org_id}
- Updatedadded the new
org
enum value to the request propertydata/type
removed the pattern
^[a-z][a-z0-9]*(_[a-z][a-z0-9]*)*$
from the request propertydata/type
the
data/type
response's property pattern^[a-z][a-z0-9]*(_[a-z][a-z0-9]*)*$
was removed for the status200
2024-06-21
POST - /orgs/{org_id}/invites
- Updated
/orgs/{org_id}/invites
- Updated2024-06-18
POST - /groups/{group_id}/settings/pull_request_template
- Updated
/groups/{group_id}/settings/pull_request_template
- UpdatedGET - /groups/{group_id}/settings/pull_request_template
- Updated
/groups/{group_id}/settings/pull_request_template
- Updated2024-06-06
GET - /orgs/{org_id}/projects
- Updated
/orgs/{org_id}/projects
- UpdatedPATCH - /orgs/{org_id}/projects/{project_id}
- Updated
/orgs/{org_id}/projects/{project_id}
- UpdatedGET - /orgs/{org_id}/projects/{project_id}
- Updated
/orgs/{org_id}/projects/{project_id}
- Updated2024-05-23
DELETE - /self/apps/installs/{install_id}
- Updated
/self/apps/installs/{install_id}
- Updatedapi operation id
deleteUserAppInstallByID
removed and replaced withdeleteUserAppInstallById
DELETE - /orgs/{org_id}/apps/installs/{install_id}
- Updated
/orgs/{org_id}/apps/installs/{install_id}
- Updatedapi operation id
deleteAppOrgInstallByID
removed and replaced withdeleteAppOrgInstallById
DELETE - /groups/{group_id}/apps/installs/{install_id}
- Updated
/groups/{group_id}/apps/installs/{install_id}
- Updatedapi operation id
deleteGroupAppInstallByID
removed and replaced withdeleteGroupAppInstallById
2024-05-08
POST - /groups/{group_id}/settings/pull_request_template
- Added
/groups/{group_id}/settings/pull_request_template
- AddedConfigures a group level pull request template that will be used on any org or project within that group
GET - /groups/{group_id}/settings/pull_request_template
- Added
/groups/{group_id}/settings/pull_request_template
- AddedGet your groups pull request template
DELETE - /groups/{group_id}/settings/pull_request_template
- Added
/groups/{group_id}/settings/pull_request_template
- AddedDelete your groups pull request template. This means Snyk pull requests will start to use the default template for this group.
2024-04-29
GET - /orgs/{org_id}/audit_logs/search
- Updated
/orgs/{org_id}/audit_logs/search
- Updatedadded the new optional
query
request parameterevents
added the new optional
query
request parameterexclude_events
GET - /groups/{group_id}/audit_logs/search
- Updated
/groups/{group_id}/audit_logs/search
- Updatedadded the new optional
query
request parameterevents
added the new optional
query
request parameterexclude_events
2024-04-22
GET - /self
- Added
/self
- AddedRetrieves information about the the user making the request.
GET - /orgs/{org_id}/projects
- Updated
/orgs/{org_id}/projects
- Updatedadded
#/components/schemas/Relationship, #/components/schemas/ProjectRelationshipsTarget
to thedata/items/relationships/target
response propertyoneOf
list for the response status200
PATCH - /orgs/{org_id}/projects/{project_id}
- Updated
/orgs/{org_id}/projects/{project_id}
- Updatedadded
#/components/schemas/Relationship, #/components/schemas/ProjectRelationshipsTarget
to thedata/relationships/target
response propertyoneOf
list for the response status200
GET - /orgs/{org_id}/projects/{project_id}
- Updated
/orgs/{org_id}/projects/{project_id}
- Updatedadded
#/components/schemas/Relationship, #/components/schemas/ProjectRelationshipsTarget
to thedata/relationships/target
response propertyoneOf
list for the response status200
2024-02-28
GET - /orgs
- Updated
/orgs
- Updatedadded the optional property
data/items/attributes/access_requests_enabled
to the response with the200
status
PATCH - /orgs/{org_id}
- Updated
/orgs/{org_id}
- Updatedadded the optional property
data/attributes/access_requests_enabled
to the response with the200
status
GET - /orgs/{org_id}
- Updated
/orgs/{org_id}
- Updatedadded the optional property
data/attributes/access_requests_enabled
to the response with the200
status
GET - /groups/{group_id}/orgs
- Added
/groups/{group_id}/orgs
- AddedGet a paginated list of all the organizations belonging to the group. By default, this endpoint returns the organizations in alphabetical order of their name.
2024-02-21
GET - /orgs/{org_id}/targets
- Added
/orgs/{org_id}/targets
- AddedGet a list of an organization`s targets.
GET - /orgs/{org_id}/targets/{target_id}
- Added
/orgs/{org_id}/targets/{target_id}
- AddedGet a specified target for an organization.
DELETE - /orgs/{org_id}/targets/{target_id}
- Added
/orgs/{org_id}/targets/{target_id}
- AddedDelete the specified target.
GET - /orgs/{org_id}/projects
- Updated
/orgs/{org_id}/projects
- Updatedremoved
#/components/schemas/Relationship, #/components/schemas/ProjectRelationshipsTarget
from thedata/items/relationships/target
response propertyoneOf
list for the response status200
PATCH - /orgs/{org_id}/projects/{project_id}
- Updated
/orgs/{org_id}/projects/{project_id}
- Updatedremoved
#/components/schemas/Relationship, #/components/schemas/ProjectRelationshipsTarget
from thedata/relationships/target
response propertyoneOf
list for the response status200
GET - /orgs/{org_id}/projects/{project_id}
- Updated
/orgs/{org_id}/projects/{project_id}
- Updatedremoved
#/components/schemas/Relationship, #/components/schemas/ProjectRelationshipsTarget
from thedata/relationships/target
response propertyoneOf
list for the response status200
2024-01-23
GET - /orgs/{org_id}/issues
- Added
/orgs/{org_id}/issues
- AddedGet a list of an organization`s issues.
GET - /orgs/{org_id}/issues/{issue_id}
- Added
/orgs/{org_id}/issues/{issue_id}
- AddedGet an issue
GET - /groups/{group_id}/issues
- Added
/groups/{group_id}/issues
- AddedGet a list of a group`s issues.
GET - /groups/{group_id}/issues/{issue_id}
- Added
/groups/{group_id}/issues/{issue_id}
- AddedGet an issue
2024-01-04
POST - /custom_base_images
- Updated
/custom_base_images
- Updatedremoved
#/components/schemas/VersioningSchemaDateType
from thedata/attributes/versioning_schema
response propertyoneOf
list for the response status201
PATCH - /custom_base_images/{custombaseimage_id}
- Updated
/custom_base_images/{custombaseimage_id}
- Updatedremoved
#/components/schemas/VersioningSchemaDateType
from thedata/attributes/versioning_schema
response propertyoneOf
list for the response status200
GET - /custom_base_images/{custombaseimage_id}
- Updated
/custom_base_images/{custombaseimage_id}
- Updatedremoved
#/components/schemas/VersioningSchemaDateType
from thedata/attributes/versioning_schema
response propertyoneOf
list for the response status200
2023-11-06
DELETE - /orgs/{org_id}/projects/{project_id}
- Added
/orgs/{org_id}/projects/{project_id}
- AddedDelete one project in the organization by project ID.
2023-11-03
GET - /self/apps/{app_id}/sessions
- Added
/self/apps/{app_id}/sessions
- AddedGet a list of active OAuth sessions for the app.
DELETE - /self/apps/{app_id}/sessions/{session_id}
- Added
/self/apps/{app_id}/sessions/{session_id}
- AddedRevoke an active user app session.
GET - /self/apps/installs
- Added
/self/apps/installs
- AddedGet a list of apps installed for an user.
DELETE - /self/apps/installs/{install_id}
- Added
/self/apps/installs/{install_id}
- AddedRevoke access for an app by install ID.
POST - /orgs/{org_id}/apps
- Updated
/orgs/{org_id}/apps
- UpdatedGET - /orgs/{org_id}/apps
- Updated
/orgs/{org_id}/apps
- UpdatedPATCH - /orgs/{org_id}/apps/{client_id}
- Updated
/orgs/{org_id}/apps/{client_id}
- UpdatedGET - /orgs/{org_id}/apps/{client_id}
- Updated
/orgs/{org_id}/apps/{client_id}
- UpdatedPOST - /orgs/{org_id}/apps/installs
- Added
/orgs/{org_id}/apps/installs
- AddedInstall a Snyk Apps to this organization, the Snyk App must use unattended authentication eg client credentials.
GET - /orgs/{org_id}/apps/installs
- Added
/orgs/{org_id}/apps/installs
- AddedGet a list of apps installed for an organization.
DELETE - /orgs/{org_id}/apps/installs/{install_id}
- Added
/orgs/{org_id}/apps/installs/{install_id}
- AddedRevoke app authorization for an Snyk Organization with install ID.
POST - /orgs/{org_id}/apps/installs/{install_id}/secrets
- Added
/orgs/{org_id}/apps/installs/{install_id}/secrets
- AddedManage client secret for non-interactive Snyk App installations.
POST - /orgs/{org_id}/apps/creations
- Added
/orgs/{org_id}/apps/creations
- AddedCreate a new Snyk App for an organization.
GET - /orgs/{org_id}/apps/creations
- Added
/orgs/{org_id}/apps/creations
- AddedGet a list of apps created by an organization.
PATCH - /orgs/{org_id}/apps/creations/{app_id}
- Added
/orgs/{org_id}/apps/creations/{app_id}
- AddedUpdate app creation attributes with App ID.
GET - /orgs/{org_id}/apps/creations/{app_id}
- Added
/orgs/{org_id}/apps/creations/{app_id}
- AddedGet a Snyk App by its App ID.
DELETE - /orgs/{org_id}/apps/creations/{app_id}
- Added
/orgs/{org_id}/apps/creations/{app_id}
- AddedDelete an app by its App ID.
POST - /orgs/{org_id}/apps/creations/{app_id}/secrets
- Added
/orgs/{org_id}/apps/creations/{app_id}/secrets
- AddedManage client secret for the Snyk App.
POST - /groups/{group_id}/apps/installs
- Added
/groups/{group_id}/apps/installs
- AddedInstall a Snyk Apps to this group, the Snyk App must use unattended authentication eg client credentials.
GET - /groups/{group_id}/apps/installs
- Added
/groups/{group_id}/apps/installs
- AddedGet a list of apps installed for a group.
DELETE - /groups/{group_id}/apps/installs/{install_id}
- Added
/groups/{group_id}/apps/installs/{install_id}
- AddedRevoke app authorization for an Snyk Group with install ID.
POST - /groups/{group_id}/apps/installs/{install_id}/secrets
- Added
/groups/{group_id}/apps/installs/{install_id}/secrets
- AddedManage client secret for non-interactive Snyk App installations.
2023-11-02
GET - /orgs/{org_id}/container_images
- Added
/orgs/{org_id}/container_images
- AddedList instances of container image
GET - /orgs/{org_id}/container_images/{image_id}
- Added
/orgs/{org_id}/container_images/{image_id}
- AddedGet instance of container image
GET - /orgs/{org_id}/container_images/{image_id}/relationships/image_target_refs
- Added
/orgs/{org_id}/container_images/{image_id}/relationships/image_target_refs
- AddedList instances of image target references for a container image
2023-09-13
GET - /orgs/{org_id}/projects
- Updated
/orgs/{org_id}/projects
- Updatedadded
#/components/schemas/Relationship, #/components/schemas/ProjectRelationshipsTarget
to thedata/items/relationships/target
response propertyoneOf
list for the response status200
PATCH - /orgs/{org_id}/projects/{project_id}
- Updated
/orgs/{org_id}/projects/{project_id}
- Updatedadded
#/components/schemas/Relationship, #/components/schemas/ProjectRelationshipsTarget
to thedata/relationships/target
response propertyoneOf
list for the response status200
GET - /orgs/{org_id}/projects/{project_id}
- Updated
/orgs/{org_id}/projects/{project_id}
- Updatedadded
#/components/schemas/Relationship, #/components/schemas/ProjectRelationshipsTarget
to thedata/relationships/target
response propertyoneOf
list for the response status200
2023-09-12
GET - /orgs/{org_id}/projects
- Updated
/orgs/{org_id}/projects
- Updatedremoved
#/components/schemas/Relationship, #/components/schemas/ProjectRelationshipsTarget
from thedata/items/relationships/target
response propertyoneOf
list for the response status200
PATCH - /orgs/{org_id}/projects/{project_id}
- Updated
/orgs/{org_id}/projects/{project_id}
- Updatedremoved
#/components/schemas/Relationship, #/components/schemas/ProjectRelationshipsTarget
from thedata/relationships/target
response propertyoneOf
list for the response status200
GET - /orgs/{org_id}/projects/{project_id}
- Updated
/orgs/{org_id}/projects/{project_id}
- Updatedremoved
#/components/schemas/Relationship, #/components/schemas/ProjectRelationshipsTarget
from thedata/relationships/target
response propertyoneOf
list for the response status200
POST - /orgs/{org_id}/collections
- Added
/orgs/{org_id}/collections
- AddedCreate a collection
GET - /orgs/{org_id}/collections
- Added
/orgs/{org_id}/collections
- AddedReturn a list of organization`s collections with issues counts and projects count.
PATCH - /orgs/{org_id}/collections/{collection_id}
- Added
/orgs/{org_id}/collections/{collection_id}
- AddedEdit a collection
GET - /orgs/{org_id}/collections/{collection_id}
- Added
/orgs/{org_id}/collections/{collection_id}
- AddedGet a collection
DELETE - /orgs/{org_id}/collections/{collection_id}
- Added
/orgs/{org_id}/collections/{collection_id}
- AddedDelete a collection
POST - /orgs/{org_id}/collections/{collection_id}/relationships/projects
- Added
/orgs/{org_id}/collections/{collection_id}/relationships/projects
- AddedAdd projects to a collection by specifying an array of project ids
GET - /orgs/{org_id}/collections/{collection_id}/relationships/projects
- Added
/orgs/{org_id}/collections/{collection_id}/relationships/projects
- AddedReturn a list of organization`s projects that are from the specified collection.
DELETE - /orgs/{org_id}/collections/{collection_id}/relationships/projects
- Added
/orgs/{org_id}/collections/{collection_id}/relationships/projects
- AddedRemove projects from a collection by specifying an array of project ids
2023-09-11
PATCH - /orgs/{org_id}/settings/sast
- Added
/orgs/{org_id}/settings/sast
- AddedEnable/Disable the Snyk Code settings for an org
GET - /orgs/{org_id}/audit_logs/search
- Added
/orgs/{org_id}/audit_logs/search
- AddedSearch audit logs for an Organization. Supported event types:
api.access
org.app_bot.create
org.app.create
org.app.delete
org.app.edit
org.cloud_config.settings.edit
org.collection.create
org.collection.delete
org.collection.edit
org.create
org.delete
org.edit
org.ignore_policy.edit
org.integration.create
org.integration.delete
org.integration.edit
org.integration.settings.edit
org.language_settings.edit
org.notification_settings.edit
org.org_source.create
org.org_source.delete
org.org_source.edit
org.policy.edit
org.project_filter.create
org.project_filter.delete
org.project.add
org.project.attributes.edit
org.project.delete
org.project.edit
org.project.fix_pr.auto_open
org.project.fix_pr.manual_open
org.project.ignore.create
org.project.ignore.delete
org.project.ignore.edit
org.project.monitor
org.project.pr_check.edit
org.project.remove
org.project.settings.delete
org.project.settings.edit
org.project.stop_monitor
org.project.tag.add
org.project.tag.remove
org.project.test
org.request_access_settings.edit
org.sast_settings.edit
org.service_account.create
org.service_account.delete
org.service_account.edit
org.settings.feature_flag.edit
org.target.create
org.target.delete
org.user.add
org.user.invite
org.user.invite.accept
org.user.invite.revoke
org.user.invite_link.accept
org.user.invite_link.create
org.user.invite_link.revoke
org.user.leave
org.user.provision.accept
org.user.provision.create
org.user.provision.delete
org.user.remove
org.user.role.create
org.user.role.delete
org.user.role.details.edit
org.user.role.edit
org.user.role.permissions.edit
org.webhook.add
org.webhook.delete
user.org.notification_settings.edit
GET - /groups/{group_id}/audit_logs/search
- Added
/groups/{group_id}/audit_logs/search
- AddedSearch audit logs for a Group. Some Organization level events are supported as well as the following Group level events:
api.access
group.cloud_config.settings.edit
group.create
group.delete
group.edit
group.notification_settings.edit
group.org.add
group.org.remove
group.policy.create
group.policy.delete
group.policy.edit
group.request_access_settings.edit
group.role.create
group.role.delete
group.role.edit
group.service_account.create
group.service_account.delete
group.service_account.edit
group.settings.edit
group.settings.feature_flag.edit
group.sso.add
group.sso.auth0_connection.create
group.sso.auth0_connection.edit
group.sso.create
group.sso.delete
group.sso.edit
group.sso.membership.sync
group.sso.remove
group.tag.create
group.tag.delete
group.user.add
group.user.remove
group.user.role.edit
2023-09-07
POST - /orgs/{org_id}/service_accounts
- Added
/orgs/{org_id}/service_accounts
- AddedCreate a service account for an organization. The service account can be used to access the Snyk API.
GET - /orgs/{org_id}/service_accounts
- Added
/orgs/{org_id}/service_accounts
- AddedGet all service accounts for an organization.
PATCH - /orgs/{org_id}/service_accounts/{serviceaccount_id}
- Added
/orgs/{org_id}/service_accounts/{serviceaccount_id}
- AddedUpdate the name of an organization-level service account by its ID.
GET - /orgs/{org_id}/service_accounts/{serviceaccount_id}
- Added
/orgs/{org_id}/service_accounts/{serviceaccount_id}
- AddedGet an organization-level service account by its ID.
DELETE - /orgs/{org_id}/service_accounts/{serviceaccount_id}
- Added
/orgs/{org_id}/service_accounts/{serviceaccount_id}
- AddedDelete a service account in an organization.
POST - /orgs/{org_id}/service_accounts/{serviceaccount_id}/secrets
- Added
/orgs/{org_id}/service_accounts/{serviceaccount_id}/secrets
- AddedManage the client secret of an organization service account by the service account ID.
POST - /groups/{group_id}/service_accounts
- Added
/groups/{group_id}/service_accounts
- AddedCreate a service account for a group. The service account can be used to access the Snyk API.
GET - /groups/{group_id}/service_accounts
- Added
/groups/{group_id}/service_accounts
- AddedGet all service accounts for a group.
PATCH - /groups/{group_id}/service_accounts/{serviceaccount_id}
- Added
/groups/{group_id}/service_accounts/{serviceaccount_id}
- AddedUpdate the name of a group`s service account by its ID.
GET - /groups/{group_id}/service_accounts/{serviceaccount_id}
- Added
/groups/{group_id}/service_accounts/{serviceaccount_id}
- AddedGet a group-level service account by its ID.
DELETE - /groups/{group_id}/service_accounts/{serviceaccount_id}
- Added
/groups/{group_id}/service_accounts/{serviceaccount_id}
- AddedPermanently delete a group-level service account by its ID.
POST - /groups/{group_id}/service_accounts/{serviceaccount_id}/secrets
- Added
/groups/{group_id}/service_accounts/{serviceaccount_id}/secrets
- AddedManage the client secret of a group service account by the service account ID.
2023-08-28
GET - /orgs/{org_id}/projects
- Updated
/orgs/{org_id}/projects
- Updatedadded the new optional
query
request parameternames_start_with
added the new optional
query
request parametertarget_file
added the new optional
query
request parametertarget_reference
added the new optional
query
request parametertarget_runtime
PATCH - /orgs/{org_id}/projects/{project_id}
- Updated
/orgs/{org_id}/projects/{project_id}
- Updated2023-08-21
POST - /orgs/{org_id}/packages/issues
- Updated
/orgs/{org_id}/packages/issues
- Updatedadded the optional property
meta
to the response with the200
status
POST - /custom_base_images
- Added
/custom_base_images
- AddedIn order to create a custom base image, you first need to import your base images into Snyk. You can do this through the CLI, UI, or API.
This endpoint marks an image as a custom base image. This means that the image will get added to the pool of images from which Snyk can recommend base image upgrades.
Note, after the first image in a repository gets added, a versioning schema cannot be passed in this endpoint. To update the versioning schema, the PATCH endpoint must be used.
GET - /custom_base_images
- Added
/custom_base_images
- AddedGet a list of custom base images with support for ordering and filtering. Either the org_id or group_id parameters must be set to authorize successfully.
PATCH - /custom_base_images/{custombaseimage_id}
- Added
/custom_base_images/{custombaseimage_id}
- AddedUpdates a custom base image`s attributes
GET - /custom_base_images/{custombaseimage_id}
- Added
/custom_base_images/{custombaseimage_id}
- AddedGet a custom base image
DELETE - /custom_base_images/{custombaseimage_id}
- Added
/custom_base_images/{custombaseimage_id}
- AddedDelete a custom base image resource. (the related container project is unaffected)
2023-06-22
GET - /orgs/{org_id}/settings/sast
- Added
/orgs/{org_id}/settings/sast
- AddedRetrieves the SAST settings for an org
2023-05-29
GET - /orgs
- Added
/orgs
- AddedGet a paginated list of organizations you have access to.
PATCH - /orgs/{org_id}
- Added
/orgs/{org_id}
- AddedUpdate the details of an organization
GET - /orgs/{org_id}
- Added
/orgs/{org_id}
- AddedGet the full details of an organization.
2023-04-28
POST - /orgs/{org_id}/invites
- Updated
/orgs/{org_id}/invites
- UpdatedGET - /orgs/{org_id}/invites
- Updated
/orgs/{org_id}/invites
- Updated2023-04-17
POST - /orgs/{org_id}/packages/issues
- Added
/orgs/{org_id}/packages/issues
- AddedThis endpoint is not available to all customers. If you are interested please contact support. Query issues for a batch of packages identified by Package URL (purl). Only direct vulnerabilities are returned, transitive vulnerabilities (from dependencies) are not returned because they can vary depending on context.
2023-03-20
GET - /orgs/{org_id}/projects/{project_id}/sbom
- Added
/orgs/{org_id}/projects/{project_id}/sbom
- AddedThis endpoint lets you retrieve the SBOM document of a software project. It supports the following formats:
CycloneDX version 1.4 in JSON (set
format
tocyclonedx1.4+json
).CycloneDX version 1.4 in XML (set
format
tocyclonedx1.4+xml
).SPDX version 2.3 in JSON (set
format
tospdx2.3+json
).
By default it will respond with an empty JSON:API response.
2023-02-15
GET - /orgs/{org_id}/projects
- Added
/orgs/{org_id}/projects
- AddedList all Projects for an Org.
PATCH - /orgs/{org_id}/projects/{project_id}
- Added
/orgs/{org_id}/projects/{project_id}
- AddedUpdates one project of the organization by project ID.
GET - /orgs/{org_id}/projects/{project_id}
- Added
/orgs/{org_id}/projects/{project_id}
- AddedGet one project of the organization by project ID.
2022-12-14
POST - /orgs/{org_id}/slack_app/{bot_id}
- Added
/orgs/{org_id}/slack_app/{bot_id}
- AddedCreate new Slack notification default settings for a given tenant.
GET - /orgs/{org_id}/slack_app/{bot_id}
- Added
/orgs/{org_id}/slack_app/{bot_id}
- AddedGet Slack integration default notification settings for the provided tenant ID and bot ID.
DELETE - /orgs/{org_id}/slack_app/{bot_id}
- Added
/orgs/{org_id}/slack_app/{bot_id}
- AddedRemove the given Slack App integration
GET - /orgs/{org_id}/slack_app/{bot_id}/projects
- Added
/orgs/{org_id}/slack_app/{bot_id}/projects
- AddedSlack notification settings overrides for projects. These settings overrides the default settings configured for the tenant.
POST - /orgs/{org_id}/slack_app/{bot_id}/projects/{project_id}
- Added
/orgs/{org_id}/slack_app/{bot_id}/projects/{project_id}
- AddedCreate Slack settings override for a project.
PATCH - /orgs/{org_id}/slack_app/{bot_id}/projects/{project_id}
- Added
/orgs/{org_id}/slack_app/{bot_id}/projects/{project_id}
- AddedUpdate Slack notification settings for a project.
DELETE - /orgs/{org_id}/slack_app/{bot_id}/projects/{project_id}
- Added
/orgs/{org_id}/slack_app/{bot_id}/projects/{project_id}
- AddedRemove Slack settings override for a project.
2022-11-14
GET - /orgs/{org_id}/invites
- Added
/orgs/{org_id}/invites
- AddedList pending user invitations to an organization.
DELETE - /orgs/{org_id}/invites/{invite_id}
- Added
/orgs/{org_id}/invites/{invite_id}
- AddedCancel a pending user invitations to an organization.
2022-11-07
GET - /orgs/{org_id}/slack_app/{tenant_id}/channels
- Added
/orgs/{org_id}/slack_app/{tenant_id}/channels
- AddedRequires the Snyk Slack App to be set up for this org, will retrieve a list of channels the Snyk Slack App can access. Note that it is currently only possible to page forwards through this collection, no prev links will be generated and the ending_before parameter will not function.
GET - /orgs/{org_id}/slack_app/{tenant_id}/channels/{channel_id}
- Added
/orgs/{org_id}/slack_app/{tenant_id}/channels/{channel_id}
- AddedRequires the Snyk Slack App to be set up for this org. It will return the Slack channel name for the provided Slack channel ID.
2022-09-15
GET - /orgs/{org_id}/packages/{purl}/issues
- Added
/orgs/{org_id}/packages/{purl}/issues
- AddedQuery issues for a specific package version identified by Package URL (purl). Snyk returns only direct vulnerabilities. Transitive vulnerabilities (from dependencies) are not returned because they can vary depending on context.
2022-06-01
POST - /orgs/{org_id}/invites
- Added
/orgs/{org_id}/invites
- AddedInvite a user to an organization with a role.
2022-03-11
GET - /self/apps
- Added
/self/apps
- AddedGet a list of apps that can act on your behalf.
DELETE - /self/apps/{app_id}
- Added
/self/apps/{app_id}
- AddedRevoke access for an app by app id
POST - /orgs/{org_id}/apps
- Added
/orgs/{org_id}/apps
- AddedCreate a new app for an organization. Deprecated, use /orgs/{org_id}/apps/creations instead.
GET - /orgs/{org_id}/apps
- Added
/orgs/{org_id}/apps
- AddedGet a list of apps created by an organization. Deprecated, use /orgs/{org_id}/apps/creations instead.
PATCH - /orgs/{org_id}/apps/{client_id}
- Added
/orgs/{org_id}/apps/{client_id}
- AddedUpdate app attributes. Deprecated, use /orgs/{org_id}/apps/creations/{app_id} instead.
GET - /orgs/{org_id}/apps/{client_id}
- Added
/orgs/{org_id}/apps/{client_id}
- AddedGet an App by client id. Deprecated, use /orgs/{org_id}/apps/creations/{app_id} instead.
DELETE - /orgs/{org_id}/apps/{client_id}
- Added
/orgs/{org_id}/apps/{client_id}
- AddedDelete an app by app id. Deprecated, use /orgs/{org_id}/apps/creations/{app_id} instead.
POST - /orgs/{org_id}/apps/{client_id}/secrets
- Added
/orgs/{org_id}/apps/{client_id}/secrets
- AddedManage client secrets for an app. Deprecated, use /orgs/{org_id}/apps/creations/{app_id}/secrets instead.
GET - /orgs/{org_id}/app_bots
- Added
/orgs/{org_id}/app_bots
- AddedGet a list of app bots authorized to an organization. Deprecated, use /orgs/{org_id}/apps/installs instead.
DELETE - /orgs/{org_id}/app_bots/{bot_id}
- Added
/orgs/{org_id}/app_bots/{bot_id}
- AddedRevoke app bot authorization. Deprecated, use /orgs/{org_id}/apps/installs/{install_id} instead.
2021-12-09
PATCH - /orgs/{org_id}/settings/iac
- Added
/orgs/{org_id}/settings/iac
- AddedUpdate the Infrastructure as Code Settings for an org.
GET - /orgs/{org_id}/settings/iac
- Added
/orgs/{org_id}/settings/iac
- AddedGet the Infrastructure as Code Settings for an org.
PATCH - /groups/{group_id}/settings/iac
- Added
/groups/{group_id}/settings/iac
- AddedUpdate the Infrastructure as Code Settings for a group.
GET - /groups/{group_id}/settings/iac
- Added
/groups/{group_id}/settings/iac
- AddedGet the Infrastructure as Code Settings for a group.
Last updated