Get Scan Status
curl --request GET \
--url https://rts-senthrex.slayers.tech/status/{scan_uuid} \
--header 'Authorization: Bearer <token>'import requests
url = "https://rts-senthrex.slayers.tech/status/{scan_uuid}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://rts-senthrex.slayers.tech/status/{scan_uuid}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"uuid": "<string>",
"status": "<string>",
"mode": "<string>",
"progress": "<string>",
"progress_percentage": 123,
"current_step": "<string>",
"start_time": "2023-11-07T05:31:56Z",
"end_time": "2023-11-07T05:31:56Z",
"error": "<string>",
"scan_directory": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}API Reference
Get scan status
Retrieve progress and current status for a scan UUID.
GET
/
status
/
{scan_uuid}
Get Scan Status
curl --request GET \
--url https://rts-senthrex.slayers.tech/status/{scan_uuid} \
--header 'Authorization: Bearer <token>'import requests
url = "https://rts-senthrex.slayers.tech/status/{scan_uuid}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://rts-senthrex.slayers.tech/status/{scan_uuid}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"uuid": "<string>",
"status": "<string>",
"mode": "<string>",
"progress": "<string>",
"progress_percentage": 123,
"current_step": "<string>",
"start_time": "2023-11-07T05:31:56Z",
"end_time": "2023-11-07T05:31:56Z",
"error": "<string>",
"scan_directory": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Get scan status
Returns status fields likestatus, progress_percentage, current_step, and timestamps when available.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Response
Successful Response
Detailed status information for a running or completed scan.
Attributes:
uuid: Unique identifier of the scan.
status: Current status (pending, running, completed, error).
mode: Scan mode that was requested.
progress: Human-readable progress string.
progress_percentage: Numeric progress from 0 to 100.
current_step: Name of the pipeline step currently executing.
start_time: Timestamp when the scan was initiated.
end_time: Timestamp when the scan finished (if applicable).
error: Error message if the scan failed.
scan_directory: Filesystem path to the scan output directory.
