Asset Projects
Retrieves a paginated list of Snyk projects linked to this asset with full attributes.
Returns the id, type, and attributes of each related project.
Required permissions
View Tenant Details (tenant.read)
API key value must be prefixed with "Token ".
The unique identifier of the tenant
The unique identifier of the asset
The requested API version
2024-10-15Pattern: ^\d{4}-\d{2}-\d{2}$Cursor for fetching the next page of results
Cursor for fetching the previous page of results
Maximum number of results to return per page
10Filter projects by canonical status.
with: Returns all projects (canonical attribute is populated).only: Returns only canonical projects (those used for vulnerability counts).none: Returns only non-canonical projects. When omitted, returns all projects without canonical filtering.
Filter projects by target ID. When provided, returns only projects that belong to the specified target. When omitted, returns projects from all targets.
Successfully retrieved linked projects
Bad Request: A parameter provided as a part of the request was invalid.
Unauthorized: the request requires an authentication token.
Forbidden: the request requires an authentication token with more or different permissions.
Not Found: The resource being operated on could not be found.
Internal Server Error: An error was encountered while attempting to process the request.
Retrieves a paginated list of Snyk projects linked to this asset with full attributes.
Returns the id, type, and attributes of each related project.
Scoped to the specified organization.
Required permissions
View Organization (org.read)
API key value must be prefixed with "Token ".
The unique identifier of the organization
The unique identifier of the asset
The requested API version
2024-10-15Pattern: ^\d{4}-\d{2}-\d{2}$Cursor for fetching the next page of results
Cursor for fetching the previous page of results
Maximum number of results to return per page
10Filter projects by canonical status.
with: Returns all projects (canonical attribute is populated).only: Returns only canonical projects (those used for vulnerability counts).none: Returns only non-canonical projects. When omitted, returns all projects without canonical filtering.
Filter projects by target ID. When provided, returns only projects that belong to the specified target. When omitted, returns projects from all targets.
Successfully retrieved linked projects
Bad Request: A parameter provided as a part of the request was invalid.
Unauthorized: the request requires an authentication token.
Forbidden: the request requires an authentication token with more or different permissions.
Not Found: The resource being operated on could not be found.
Internal Server Error: An error was encountered while attempting to process the request.
Retrieves a paginated list of Snyk projects linked to this asset with full attributes.
Returns the id, type, and attributes of each related project.
Scoped to the specified group.
Required permissions
View Groups (group.read)
API key value must be prefixed with "Token ".
The unique identifier of the group
The unique identifier of the asset
The requested API version
2024-10-15Pattern: ^\d{4}-\d{2}-\d{2}$Cursor for fetching the next page of results
Cursor for fetching the previous page of results
Maximum number of results to return per page
10Filter projects by canonical status.
with: Returns all projects (canonical attribute is populated).only: Returns only canonical projects (those used for vulnerability counts).none: Returns only non-canonical projects. When omitted, returns all projects without canonical filtering.
Filter projects by target ID. When provided, returns only projects that belong to the specified target. When omitted, returns projects from all targets.
Successfully retrieved linked projects
Bad Request: A parameter provided as a part of the request was invalid.
Unauthorized: the request requires an authentication token.
Forbidden: the request requires an authentication token with more or different permissions.
Not Found: The resource being operated on could not be found.
Internal Server Error: An error was encountered while attempting to process the request.
Last updated
Was this helpful?

