Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

API token obtained from the Tokens endpoint or CLI device login. Include as Authorization: Bearer <token>. Requests made with a managed CLI session also include X-Strix-Workspace: <organization_id> to pin a process to the workspace it started in; recovery endpoints report the current workspace after a concurrent switch.

Path Parameters

scanId
string<uuid>
required

UUID of the scan. Use the id field of a scan from listScans.

Body

application/json
scope
enum<string>

Choose whether to retest all findings or only open findings.

Available options:
all,
open
upload_ids
string[]

Optional upload IDs that replace the repository uploads of the source scan for this retest.

Required array length: 1 - 20 elements
Minimum string length: 1

Response

No retest started. Every finding in scope is already retesting, or the scope has no findings.

batch_id
string<uuid> | null
required

The batch that starts the retests. The value is null when no retest was accepted.

accepted
integer
required

The number of retests that are starting in the background.

total
integer
required

The number of findings in the requested scope.

skipped_running
integer
required

The number of findings that the request skipped because a retest of the finding is still running or starting.