OpenAI is partnering with Hacktron to find vulnerabilities in its systems. Read the announcement.

Skip to content Hacktron Sign in [S]
Hacktron Sign in [S] Customers Docs Contact Sign in

Get scan status

1 min
, View, ChatGPT, Claude, Perplexity, OpenAPI

Copy page

Get scan status

View MarkdownOpen in ChatGPTOpen in ClaudeOpen in PerplexityDownload OpenAPI

Returns a minimal payload with the scan’s current status. Use it for polling, since the response leaves out the findings summary that GET /scans/{id} computes.

A poll interval of 10 to 30 seconds is enough. Pentests take minutes to complete, so tighter polling tells you nothing new and uses up your rate limit quota.

Stop polling when status reaches a terminal value: completed, failed, stopped, cancelled, or skipped.

Request

GET /scans/{id}/status

Send an API key with the read scope in the X-Api-Key header.

Path parameters

ParameterDescription
id
string, required

Responses

200 OK

FieldDescription
id
string, required
task_id
string, required
status
string, required
One of pending, running, completed, failed, stopped, cancelled, skipped, pending_verification, pending_triage, draft, estimating, or estimated.
created_at
string, required
updated_at
string, required
[↓] [↑] [enter] to visit
Menu
[M]
Next in menu
[J]
Previous in menu
[K]
Find
[F]
Ask
[A]
Sign in
[S]
Copy page
[C]
Listen
[L]
Justification
[R]
Language
[G]
Dark mode
[D]
High contrast
[H]
Shortcuts
[I]
Close
[Esc]