Create or refresh the complete project-to-result slice with one idempotent payload.
Ingest a run from CI
Endpoint and retry behavior
POST /api/v1/ingest/run/
The ingest scope can create or update the project, regression, run, result rows, and run-local failure signatures. Re-ingesting the same regression and run number replaces that run's result rows, so retrying an upload does not duplicate tests.
Minimal shape
{
"project": {"slug": "chip-top", "name": "Chip Top"},
"regression": {"name": "nightly-smoke", "branch_name": "main", "suite_name": "smoke", "config_name": "default"},
"run": {"run_number": 1042, "status": "completed", "git_commit": "abc123"},
"results": [
{"test_name": "reset_test", "status": "pass"},
{"test_name": "timeout_test", "status": "fail", "failure_signature": {"title": "AXI timeout", "category": "timeout"}}
]
}
Server-managed counters
total_count, pass_count, fail_count, and pass_rate are calculated by the server. Producers should send raw result evidence and identity metadata rather than attempting to keep duplicate aggregates synchronized.