List scan history
list_scansList scan history (permission: read)
Keyset pagination: pass the previous response's nextCursor as ?cursor= to fetch the next page (ordered createdAt DESC, id DESC). nextCursor is null on the final page. Filters combine with AND. Each item has id, scanType, status, targetId, journeyId, score, createdAt and completedAt.
Use it to find scans by saved test, journey, type or status. For one scan: get_scan (status and the CI gate), get_scan_evidence (the stored data), explain_scan (a plain-language summary).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_scans"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Page size, 1–100. | |
| cursor | No | The previous page's `nextCursor` (opaque). A malformed cursor is 400 on path cursor (issue code invalid_cursor). | |
| status | No | Only scans in this status. | |
| scanType | No | Only scans of this type. | |
| targetId | No | Only scans of this saved test. | |
| journeyId | No | Only replays of this journey. | |
| projectId | No | Required with an organization key; must be the key's project with a project key. Missing (organization key) or not a UUID: 400 invalid_request on path projectId; a project outside the key's reach: 404. |