Discoveries
internal

Receive discovery progress update from daemon

Internal endpoint for daemons to report discovery progress.

post/api/v1/discovery/{session_id}/update

Path parameters

session_idstring uuid required

Discovery session ID

Request body

daemon_idstring uuid required
discovery_idstring uuid nullable

The discovery configuration this session belongs to. Always enriched server-side; daemons do not send this field.

errorstring nullable
estimated_remaining_secsinteger nullable
finished_atstring date-time nullable
hosts_discoveredinteger nullable
network_idstring uuid required
phase'AwaitingSnapshot' | 'Queued' | 'Pending' | 'Starting' | 'Started' | 'Scanning' | 'Complete' | 'Failed' | 'Cancelled' required
progressinteger required
session_idstring uuid required
started_atstring date-time nullable
warningsstring[]

Non-fatal warnings for a completed run (e.g. the scan hit its time limit and left hosts un-scanned). Unlike error, these do not mark the run failed.

Response

Update received

dataTupleUnit — unresolved $ref
errorstring nullable
successboolean required

Changes