Reporting API (v1)
This document uses the v1 API, which will eventually be deprecated, as further Snyk developments are now focused on the REST API. For more details, see the v1 API.
The endpoints in this category support only Snyk legacy reporting, not the latest release. They are not available in regions such as single-tenant or multi-tenant US02, EU, and AU; instead use the Issues REST API.
Using the Reporting API, you can find answers to questions like how many issues your Organization has, or how many tests have been conducted in a given time period.
The rate limit is up to 70 requests per minute, per user. All requests above the limit will get a response with the status code 429 - Too many requests
until requests stop for the duration of the rate-limiting interval (one minute).
Returns any issues that are present during the specified timeframe. For example, if an issue from 2018 is still considered a vulnerable today, it will show up in all reports from its inception to the current day. This data can take up to 9 hours to refresh.Note: A vulnerability that was introduced and then resolved on the same day will not show up in the response.
Required permissions
-
View Project
for every Organization infilters.orgs
-
View Organization Reports
for every Organization infilters.orgs
The date you wish to fetch results from, in the format YYYY-MM-DD
2017-07-01
The date you wish to fetch results until, in the format YYYY-MM-DD
2017-07-07
The page of results to request
1
The number of results to return per page (Maximum: 1000)
100
The key to sort results by
The key to sort results by
The direction to sort results.
asc
Set to issue to group the same issue in multiple projects
Set to issue to group the same issue in multiple projects
Returns issues currently in existence. This data can take up to 9 hours to refresh
Required permissions
-
View Project
for every Organization infilters.orgs
-
View Organization Reports
for every Organization infilters.orgs
The page of results to request
1
The number of results to return per page (Maximum: 1000)
100
The key to sort results by
The key to sort results by
The direction to sort results.
asc
Set to issue to group the same issue in multiple projects
Set to issue to group the same issue in multiple projects
Returns the number of tests conducted within a time frame. This data is updated in real time
Required permissions
-
View Project
for every Organization infilters.orgs
-
View Organization Reports
for every Organization infilters.orgs
The date you wish to count tests from, in the format YYYY-MM-DD
2017-07-01
The date you wish to count tests until, in the format YYYY-MM-DD
2017-07-03
The field to group results by
The field to group results by
Returns project counts within a time frame. This data can take up to 9 hours to refresh
Required permissions
-
View Project
for every Organization infilters.orgs
-
View Organization Reports
for every Organization infilters.orgs
The date you wish to fetch results from, in the format YYYY-MM-DD
2017-07-01
The date you wish to fetch results until, in the format YYYY-MM-DD
2017-07-03
Returns the number of projects currently in existence. This data can take up to 9 hours to refresh.
- Params#### Required permissions
-
View Project
for every Organization infilters.orgs
-
View Organization Reports
for every Organization infilters.orgs
Returns issue counts within a time frame. This data can take up to 9 hours to refresh
Required permissions
-
View Project
for every Organization infilters.orgs
-
View Organization Reports
for every Organization infilters.orgs
The date you wish to fetch results from, in the format YYYY-MM-DD
2017-07-01
The date you wish to fetch results until, in the format YYYY-MM-DD
2017-07-03
The field to group results by
The field to group results by
Returns the number of issues currently in existence. This data can take up to 9 hours to refresh
Required permissions
-
View Project
for every Organization infilters.orgs
-
View Organization Reports
for every Organization infilters.orgs
The field to group results by
The field to group results by
Last updated
Was this helpful?