Get many findings (full detail)
const url = 'https://zkao.io/api/v1/projects/example/findings/details?page=1&limit=25';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://zkao.io/api/v1/projects/example/findings/details?page=1&limit=25' \ --header 'Authorization: Bearer <token>'Requires scope: read. The full detail of a scan’s findings, of a set of findings, or both, in one call. Returns the findings shown in the app: confirmed or inconclusive, on scans the project can see.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”Only findings belonging to this scan.
Comma-separated finding ids or ZK- labels, at most 50. Ids that match nothing are listed in missing.
Responses
Section titled “ Responses ”OK
object
object
Effective severity (user override if set, else AI severity).
What backs a CONFIRMED verdict. POC means a proof of concept ran and demonstrated the issue. ANALYSIS means it was confirmed by code analysis alone. Null for other statuses or when not recorded.
Where the finding was found.
object
The kind of scan that found it. One of continuous-security, pr-review, flash, max, flash-diff, max-diff, supply-chain, flash-retriage, max-retriage, flash-regression-check, max-regression-check, manual-audit, report-investigation or other. New kinds may be added, so treat an unknown kind like other.
The branch the scan ran on. Null when the scan recorded none, such as a scan of a pinned commit.
Why triage dismissed the finding as a false positive. Null when triage did not dismiss it or gave no reason.
Name, or email when there is no name, of the member who overrode triage.
object
object
Markdown. A page of the app the assistant names is an absolute link.
object
The requested ids that matched no finding.
Example
{ "items": [ { "severity": "CRITICAL", "triageStatus": "PENDING", "confirmationEvidence": "POC", "resolutionStatus": "NOT_STARTED", "triageOverriddenFrom": "PENDING" } ]}Invalid request
object
object
Budget_below_minimum only: the least the launch could have reserved, in credits. A diff scan’s first scan of a repository also builds its overview, so its minimum is higher.
Example
{ "error": { "code": "unauthorized" }}Missing, malformed, expired, or revoked token
object
object
Budget_below_minimum only: the least the launch could have reserved, in credits. A diff scan’s first scan of a repository also builds its overview, so its minimum is higher.
Example
{ "error": { "code": "unauthorized" }}The token lacks the required scope
object
object
Budget_below_minimum only: the least the launch could have reserved, in credits. A diff scan’s first scan of a repository also builds its overview, so its minimum is higher.
Example
{ "error": { "code": "unauthorized" }}Resource not in this token’s project or repo allowlist
object
object
Budget_below_minimum only: the least the launch could have reserved, in credits. A diff scan’s first scan of a repository also builds its overview, so its minimum is higher.
Example
{ "error": { "code": "unauthorized" }}