Skip to navigation

Search issue logs

Requires the issues:read API key scope.

Authentication

AuthorizationBearer

A workspace API key, sent as Authorization: Bearer.

OR
x-api-keystring

A workspace API key, sent as x-api-key.

Path parameters

issueIdstringRequired

Issue UUID or label, e.g. VULN-000123.

Request

This endpoint expects an object.
querystringRequired

Case-insensitive text to find.

levelenumOptional
Allowed values:
roleenumOptional
Allowed values:
contextLinesintegerOptional0-20
Entries to include on each side of a match. Defaults to 3.

Response

Each match with its surrounding entries.
issueIdstringformat: "uuid"
querystring
totalMatchesinteger
totalLogsinteger
contextLinesinteger
matcheslist of objects

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error