List pentest targets
A target is one attack-surface endpoint the pentest exercised. Execution logs are stored per target, so a target ID is how you read them with List target logs, even for targets that produced no issue.
Requires the pentests:read API key scope.
Authentication
AuthorizationBearer
A workspace API key, sent as Authorization: Bearer.
OR
x-api-keystring
A workspace API key, sent as x-api-key.
Path parameters
pentestId
Pentest UUID.
Response
The pentest’s targets.
id
Target ID, used by the target log routes.
url
applicationId
applicationName
status
attempt
error
startedAt
completedAt
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error