Upload Detect Run

Accept one detect run, for one agent (ADR-0025).

A sibling of /boms rather than a field on it: runtime reporting must not be gated on composition sync, or an agent that skipped a BOM upload reports no alerts at all — and silence would be indistinguishable from safety.

Always 201. Every accepted run creates a row, including a byte-identical replay, because a repeated collection event that leaves no trace makes freshness lie (ADR-0012's property, applied here).

post/api/v1/detect-runs

Request

  • Base URL
    https://api.stacktrace.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.stacktrace.ai/api/v1/detect-runs
  • Auth
    none declared

Headers

authorizationstring nullable

Request body

asset_idstring required
agent_kindstring required
agent_instance_idstring nullable
stacktrace_versionstring required
window_startstring date-time required
window_endstring date-time required

Response

Successful Response

detect_run_idstring required
agent_idstring required
detections_ingestedinteger required
detections_newinteger required
activity_rowsinteger required
dashboard_urlstring required

Changes

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