GET /public/v1/bugs
Returns a paginated list of bugs for a repository, filtered by review status.Query parameters
The repository ID to fetch bugs for. Repository IDs are prefixed with
repo_ and can be retrieved from GET /public/v1/repos. Example: repo_abc123.Filter bugs by review state. One of:
pending— bugs that have not yet been reviewedresolved— bugs marked as fixeddismissed— bugs marked as not actionable
Number of results to return. Between
1 and 100. Defaults to 50.Number of results to skip for pagination. Defaults to
0.Filter bugs to those surfaced by a specific scan. Workflow request IDs are prefixed with
wr_ and are returned by GET /public/v1/scans.Response
Array of bug objects matching the query.
Total number of bugs matching the query, regardless of
limit and offset.Example response
GET /public/v1/bugs/{bug_id}
Returns a single bug by its ID. The response shape is identical to an individual item in thebugs array above.
Path parameters
The bug ID to retrieve. Must match the pattern
bug_*.Example response
POST /public/v1/bugs/{bug_id}/review
Creates or updates a review on a bug. Use this to resolve, dismiss, or reopen a finding programmatically.Path parameters
The bug ID to review. Must match the pattern
bug_*.Request body
The new review state for the bug. One of:
resolved— the bug has been fixeddismissed— the bug is not actionablepending— reopen a previously reviewed bug
Required when
state is dismissed. One of:not_a_bug— the finding is a false positivewont_fix— the team has decided not to address thisduplicate— already tracked elsewhereother— any other reason
Optional free-text note to record with the review. Useful for explaining triage decisions.
Response
Returns the created or updatedBugReview object.
The review state:
pending, resolved, or dismissed.Unix timestamp (milliseconds) when this review was recorded.
The dismissal reason, if
state is dismissed.The note recorded with the review, if provided.
How the review was created. For API-created reviews this is
review.Example response
Calling this endpoint on a bug that already has a review will overwrite the existing review with the new state.

