Cloud
Create and trigger a new scan for an environment
Required permissions
Create scans (org.cloud_scans.create)
API key value must be prefixed with "Token ".
Organization ID
9a46d918-8764-458c-1234-0987abcd6543Requested API version
2025-11-05Pattern: ^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$Created scan successfully
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.
Conflict: The requested operation conflicts with the current state of the resource in some way.
Internal Server Error: An error was encountered while attempting to process the request.
List scans for an organization
Required permissions
View scans (org.cloud_scans.read)
API key value must be prefixed with "Token ".
Organization ID
9a46d918-8764-458c-1234-0987abcd6543Requested API version
2025-11-05Pattern: ^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$Return the page of results immediately after this cursor
v1.eyJpZCI6IjEwMDAifQo=Return the page of results immediately before this cursor
v1.eyJpZCI6IjExMDAifQo=Number of results to return per page
10Example: 10Returns a list of scan instances
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.
Conflict: The requested operation conflicts with the current state of the resource in some way.
Internal Server Error: An error was encountered while attempting to process the request.
Get a single scan for an organization
Required permissions
View scans (org.cloud_scans.read)
API key value must be prefixed with "Token ".
Organization ID
9a46d918-8764-458c-1234-0987abcd6543Scan ID
56465b1d-8764-458c-1234-0987abcd6543Requested API version
2025-11-05Pattern: ^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$Returns a single scan instance
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.
Conflict: The requested operation conflicts with the current state of the resource in some way.
Internal Server Error: An error was encountered while attempting to process the request.
List resources for an organization
Required permissions
View resources (org.cloud_resources.read)
API key value must be prefixed with "Token ".
Organization ID
9a46d918-8764-458c-1234-0987abcd6543Filter resources by environment ID (multi-value, comma-separated)
052781a7-17f6-494d-0000-25c8b509abcdFilter resources by resource type (multi-value, comma-separated)
aws_s3_bucketFilter resources by resource ID (multi-value, comma-separated)
example-bucketFilter resources by native ID (multi-value, comma-separated) (AWS ARN)
arn:aws:s3:::example-bucketFilter resources by resource UUID (multi-value, comma-separated)
4a662442-7445-55c3-adcc-cbbbdd99999Filter resources by platform (multi-value, comma-separated): aws
awsFilter resources by name (multi-value, comma-separated)
example-bucketKind of resource: cloud
cloud - cloud - iacFilter resources by location (multi-value, comma-separated) (AWS region)
us-west-2Filter resources by whether they have been removed or not.
trueRequested API version
2025-11-05Pattern: ^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$Return the page of results immediately after this cursor
v1.eyJpZCI6IjEwMDAifQo=Return the page of results immediately before this cursor
v1.eyJpZCI6IjExMDAifQo=Number of results to return per page
10Example: 10Returns a list of resources
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.
Conflict: The requested operation conflicts with the current state of the resource in some way.
Internal Server Error: An error was encountered while attempting to process the request.
Generate IAC template for Snyk to access your cloud resources
Required permissions
Create environments (org.cloud_environments.create)
API key value must be prefixed with "Token ".
Organization ID
9a46d918-8764-458c-1234-0987abcd6543Requested API version
2025-11-05Pattern: ^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$Created permissions successfully
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.
Conflict: The requested operation conflicts with the current state of the resource in some way.
Internal Server Error: An error was encountered while attempting to process the request.
Create a new environment and run a scan
Required permissions
Create environments (org.cloud_environments.create)
API key value must be prefixed with "Token ".
Organization ID
9a46d918-8764-458c-1234-0987abcd6543Requested API version
2025-11-05Pattern: ^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$Created environment successfully
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.
Conflict: The requested operation conflicts with the current state of the resource in some way.
Internal Server Error: An error was encountered while attempting to process the request.
List environments for an organization
Required permissions
View environments (org.cloud_environments.read)
API key value must be prefixed with "Token ".
Organization ID
9a46d918-8764-458c-1234-0987abcd6543Requested API version
2025-11-05Pattern: ^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$Return environments created after this date
2022-05-06T12:25:15-04:00Return environments created before this date
2022-05-06T12:25:15-04:00Return environments updated after this date
2022-05-06T12:25:15-04:00Return environments updated before this date
2022-05-06T12:25:15-04:00Environment name
Demo AWS EnvironmentEnvironment kind: aws
awsPossible values: Filter environments by latest scan status (multi-value, comma-separated)
errorPossible values: Filter environments by environment ID (multi-value, comma-separated)
052781a7-17f6-494d-0000-25c8b509abcdFilter environments by project ID
9a46d918-8764-458c-1234-0987abcd6543Return the page of results immediately after this cursor
v1.eyJpZCI6IjEwMDAifQo=Return the page of results immediately before this cursor
v1.eyJpZCI6IjExMDAifQo=Number of results to return per page
10Example: 10Returns a list of environments
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.
Conflict: The requested operation conflicts with the current state of the resource in some way.
Internal Server Error: An error was encountered while attempting to process the request.
Update an environment
Required permissions
Update environments (org.cloud_environments.edit)
API key value must be prefixed with "Token ".
Organization ID
9a46d918-8764-458c-1234-0987abcd6543Unique identifier for an environment
052781a7-17f6-494d-0000-25c8b509abcdRequested API version
2025-11-05Pattern: ^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$Updated an environment successfully
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.
Conflict: The requested operation conflicts with the current state of the resource in some way.
Internal Server Error: An error was encountered while attempting to process the request.
Delete an environment
Required permissions
Delete environments (org.cloud_environments.delete)
API key value must be prefixed with "Token ".
Organization ID
9a46d918-8764-458c-1234-0987abcd6543Unique identifier for an environment
052781a7-17f6-494d-0000-25c8b509abcdRequested API version
2025-11-05Pattern: ^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$Returns an empty response
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.
Conflict: The requested operation conflicts with the current state of the resource in some way.
Internal Server Error: An error was encountered while attempting to process the request.
No content
Last updated
Was this helpful?

