List advisories
const url = 'https://zkao.io/api/v1/projects/example/advisories?page=1&limit=50&status=DRAFT';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/advisories?page=1&limit=50&status=DRAFT' \ --header 'Authorization: Bearer <token>'Requires scope: read. The project’s coordinated-disclosure advisories, newest first. Optionally filter by status. A repository-restricted token sees an advisory only when every associated repository is in its allowlist.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”Only advisories in this status.
Responses
Section titled “ Responses ”OK
object
object
Readable identifier, e.g. ADVISORY-ADV-2026-0045.
When the embargo lifts. Null until a date is set.
The GitHub advisory, once one has been filed.
What GitHub reports. A created entry is a DRAFT, which is private and reaches no scanner; only a published one is public.
Example
{ "items": [ { "severity": "CRITICAL", "status": "DRAFT" } ]}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" }}