Scans
Beta

List reasoning logs for an AI pentest agent

Returns reasoning and action logs for a single AI pentest agent within a scan.

get/scans/{scanId}/agents/{agentId}/logs

Request

  • Base URL
    https://public.escape.tech/v3
  • Auth
    API key in header X-ESCAPE-API-KEY

Path parameters

scanIdstring uuid required

The scan ID

Example:00000000-0000-0000-0000-000000000000
agentIdstring uuid required

The agent ID

Example:00000000-0000-0000-0000-000000000001

Query parameters

cursorstring

The cursor to start the pagination from. Returned by the previous page response. If not provided, the first page will be returned.

Example:R1BDOlM6NTEwMzk4NTYtNGIyOS00NTlkLTg0ZDYtMWJhYjM0NWMzZjU5
sizeinteger

The number of items to return per page

Example:50
sortType'DATE'

The type to sort by

sortDirection'asc' | 'desc'

The direction to sort by

searchstring

Search in log titles and descriptions

Example:catalog/product
stagesstring[]

Filter by log stage

Response

OK

nextCursorstring nullable required
totalCountinteger

Example response

{
  "totalCount": 20
}

Changes

No recorded changes to this operation across all 1 revision of this API.