Scanner API Reference

FieldValue
Source specscanner/openapi/scan-completed-stream.v1.json
OpenAPI version3.1.1
API version1.0.0
Operations2
Path filterAll paths

Operations

POST /api/v1/scans/completed/consumers/{consumerId}

Register or report a scanner completion consumer cursor

Registers/resets a remote consumer or reports its exact durable tenant cursor for the Scanner-owned retention floor.

PropertyValue
Operation IDscanner.scans.completed.consumer
TagsScans
AuthRequired
Request bodyapplication/json

Parameters:

NameInRequiredDescription
consumerIdpathyes

Responses:

StatusDescriptionContent types
200OKapplication/json
400Bad Requestapplication/json
401Unauthorized-
403Forbidden-
409Conflictapplication/json

GET /api/v1/scans/completed/events

Retained scanner.scan.completed event feed

Returns the authenticated tenant’s ordered P6 scanner.scans envelopes after a durable tenant cursor with explicit epoch, head, retention-horizon and bootstrap signals.

PropertyValue
Operation IDscanner.scans.completed.stream
TagsScans
AuthRequired
Request body-

Parameters:

NameInRequiredDescription
afterSeqqueryno
limitqueryno
maxBytesqueryno
streamEpochqueryno

Responses:

StatusDescriptionContent types
200OKapplication/json
400Bad Requestapplication/json
401Unauthorized-
403Forbidden-