Skip to content
AI Security
Search
K
Main Navigation
App
Appearance
Menu
Return to top
Get scan.
GET
/backend/v1/scans/{scanRequestId}
Retrieves a scan request by its ID.
Authorizations
HTTPBearer
Type
HTTP (bearer)
Parameters
Path Parameters
scanRequestId
*
Type
string
Required
Format
"uuid"
Responses
200
422
Successful Response
Content-Type
application/json
Schema
JSON
JSON
{
"scan"
:
{
"externalMetadata"
:
{
}
,
"extraInputs"
:
{
"additionalProperties"
:
"string"
}
,
"id"
:
"string"
,
"input"
:
"string"
,
"preserve"
:
false
,
"projectId"
:
"string"
,
"receivedAt"
:
"string"
,
"result"
:
{
"outcome"
:
"string"
,
"response"
:
"string"
,
"scannerResults"
:
[
{
"completedDate"
:
"string"
,
"customConfig"
:
false
,
"data"
:
{
"matches"
:
[
[
]
]
,
"type"
:
"regex"
}
,
"message"
:
"string"
,
"outcome"
:
"string"
,
"scanDirection"
:
"string"
,
"scannerId"
:
"string"
,
"scannerVersionMeta"
:
{
"createdAt"
:
"string"
,
"createdBy"
:
"string"
,
"description"
:
"string"
,
"direction"
:
"string"
,
"f1Score"
:
0
,
"id"
:
"string"
,
"latestDatasetResult"
:
{
"datasetRunId"
:
"string"
,
"f1Score"
:
0
}
,
"name"
:
"string"
,
"published"
:
true
}
,
"startedDate"
:
"string"
}
]
}
,
"type"
:
"scan"
,
"userId"
:
"string"
}
}
GET
/backend/v1/scans/{scanRequestId}
Playground
Server
Select a server...
Authorization
HTTPBearer
Variables
Key
Value
scanRequestId
*
Try it out
Samples
Powered by
VitePress OpenAPI