Start a run (detect)
Starts detection for a file and returns 202 with the run in the running state; the analysis runs in the background. Watch the run’s status via the SSE stream at .../runs/{runId}/events (or re-read the run) and fetch the findings from .../runs/{runId}/detections/ once it reaches analyzed. A repeated Idempotency-Key returns the existing run.
Path Parameters
URL-safe workspace identifier.
URL slug of the pipeline, unique within its workspace.
Body
Request payload to start a run (detect) over a file.
Analyzes the file with the pipeline's configuration and returns the run, which holds the findings for review before redaction.
Request payload to start a run (detect) over a file.
Analyzes the file with the pipeline's configuration and returns the run, which holds the findings for review before redaction.
Response
Response type for a pipeline run.
A run is addressed by its own opaque id; the owning pipeline and workspace slugs are carried for context.
Response type for a pipeline run.
A run is addressed by its own opaque id; the owning pipeline and workspace slugs are carried for context.
Opaque identifier of the run.
^run_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$Source document this run analyzes / redacts.
Non-encrypted metadata for filtering/display.
Handle of the pipeline this run belongs to.
3 - 32^[a-z0-9]+(?:-[a-z0-9]+)*$When the run started.
Current run status.
The detections are available to fetch from the run's detections
endpoint once this reaches analyzed.
"queued"How the run was triggered.
"user"Account that triggered the run.
Handle of the workspace this run belongs to.
3 - 32^[a-z0-9]+(?:-[a-z0-9]+)*$When the run completed.
Human-readable failure reason, present only when the run failed.
Display name of the source document, for showing the run without a
separate file lookup. None if the file was removed (e.g. by retention).
Redacted document produced by the run, once it completes.
Display name of the redacted output, once the run completes.
