Get pentest status
Return the pentest's aggregated run status.
The status is computed from the pentest's config and dates, so this is a plain authorized read.
An API key created in Portal → Settings → API, sent as Authorization: Bearer <key>.
In: header
Path Parameters
Response Body
application/json
application/json
curl -X GET "https://api.ethiack.com/v1/pentests/string/status"{
"id": 0,
"slug": "string",
"name": "string",
"pic": "string",
"pentest_type": "string",
"pentest_category": "string",
"status": "string",
"dimension_type": "string",
"organization_id": 0,
"start_date": "2019-08-24T14:15:22Z",
"end_date": "2019-08-24T14:15:22Z",
"created": "2019-08-24T14:15:22Z",
"event_type": "string",
"event_category": "string"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Start a pentest POST
Put a pentest to work: a continuous one, or a SWIFT / DEPTH draft. **Continuous**, from draft or from paused. A draft is published (DRAFT → DONE); a paused pentest is resumed (PAUSED → DONE). Both branches re-verify the asset cap and the continuous-test entitlement and cap, so a pause is not a way around them. Starting one that is not a draft conflicts (409). Any other pentest (EXPERT, RED_TEAM) is refused (400): those are submitted for review, not started.
Stop a pentest POST
Stop (pause) a running continuous pentest. Pauses a RUNNING continuous pentest (config → PAUSED). CONTINUOUS only; a wrong type, or a pentest that is not running (a draft or already paused), raises (400).