Skip to main content
POST
Search issues

Authorizations

X-ZeroPath-API-Token-Id
string
header
required
X-ZeroPath-API-Token-Secret
string
header
required

Body

application/json
organizationId
string
page
integer
default:1
Required range: x >= 1
pageSize
integer
default:10
Required range: x >= 1
searchQuery
string

Free-text filter matched against issue title, vulnerability class, and affected file path. A query that looks like an issue id — hex digits and dashes only, at least 4 hex digits — also matches the issue id as a prefix, so the full UUID, the short 8-character issue id, and any longer prefix all find the issue. Dashes and surrounding whitespace are ignored for id matching.

severities
object
scores
object

Filter by score range (severity × confidence). Applied additively with other filters.

sortBy
enum<string>
default:score
Available options:
createdAt,
severity,
score,
title,
class,
file,
detected,
patch
sortOrder
enum<string>
default:desc
Available options:
asc,
desc
languages
string[]
vulnerabilityClasses
string[]
repositoryIds
string[]
projectId
string
scanId
string
codeScanTypes
enum<string>[]
Available options:
FullScan,
PrScan
types
enum<string>[]
Available options:
open,
patched,
falsePositive,
notExploitable,
archived,
closed,
silenced
status
enum<string>[]

Filter issues by issue status

Available options:
PENDING_REVIEW,
REVIEWING,
PATCHING,
NON_EXPLOITABLE,
FALSE_POSITIVE,
ACCEPTED_RISK,
RESOLVED,
BACKLOG,
INFORMATIONAL
getCounts
boolean
returnAll
boolean
ruleId
string

Filter issues by custom rule ID - returns only issues that were found by the specified custom rule

Response

Successful response

issues
object[]
totalCount
integer
totalCountAllCategories
integer
categoryCounts
object
currentPage
integer
pageSize
integer