$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "auditId": "weekly-2026-10-03",
< "windowStart": "2026-10-01T00:00:00Z",
< "windowEnd": "2026-10-03T00:00:00Z",
< "asOf": "2026-10-03T06:00:00Z",
< "observationCoverage": "complete",
< "observations": [
< {
< "recordId": "001",
< "project": "web",
< "testId": "checkout-total",
< "revision": "commit-001",
< "environment": "chromium-ci",
< "logicalExecutionId": "execution-a",
< "attemptIndex": 0,
< "status": "fail",
< "observedAt": "2026-10-02T10:00:00Z",
< "chainCoverage": "complete",
< "sourceReference": "archive/001"
< },
< {
< "recordId": "002",
< "project": "web",
< "testId": "checkout-total",
< "revision": "commit-001",
< "environment": "chromium-ci",
< "logicalExecutionId": "execution-a",
< "attemptIndex": 1,
< "status": "pass",
< "observedAt": "2026-10-02T10:01:00Z",
< "chainCoverage": "complete",
< "sourceReference": "archive/002"
< },
< {
< "recordId": "003",
< "project": "web",
< "testId": "checkout-total",
< "revision": "commit-001",
< "environment": "chromium-ci",
< "logicalExecutionId": "execution-b",
< "attemptIndex": 0,
< "status": "error",
< "observedAt": "2026-10-02T10:02:00Z",
< "chainCoverage": "complete",
< "sourceReference": "archive/003"
< },
< {
< "recordId": "004",
< "project": "web",
< "testId": "checkout-total",
< "revision": "commit-001",
< "environment": "chromium-ci",
< "logicalExecutionId": "execution-c",
< "attemptIndex": 0,
< "status": "pass",
< "observedAt": "2026-10-02T10:03:00Z",
< "chainCoverage": "complete",
< "sourceReference": "archive/004"
< },
< {
< "recordId": "005",
< "project": "web",
< "testId": "checkout-total",
< "revision": "commit-001",
< "environment": "chromium-ci",
< "logicalExecutionId": "execution-d",
< "attemptIndex": 0,
< "status": "fail",
< "observedAt": "2026-10-02T10:04:00Z",
< "chainCoverage": "complete",
< "sourceReference": "archive/005"
< },
< {
< "recordId": "006",
< "project": "web",
< "testId": "checkout-total",
< "revision": "commit-001",
< "environment": "chromium-ci",
< "logicalExecutionId": "execution-d",
< "attemptIndex": 2,
< "status": "pass",
< "observedAt": "2026-10-02T10:06:00Z",
< "chainCoverage": "complete",
< "sourceReference": "archive/006"
< },
< {
< "recordId": "007",
< "project": "web",
< "testId": "checkout-total",
< "revision": "commit-001",
< "environment": "chromium-ci",
< "logicalExecutionId": "execution-e",
< "attemptIndex": 0,
< "status": "skipped",
< "observedAt": "2026-10-02T10:07:00Z",
< "chainCoverage": "complete",
< "sourceReference": "archive/007"
< },
< {
< "recordId": "008",
< "project": "web",
< "testId": "checkout-total",
< "revision": "commit-002",
< "environment": "chromium-ci",
< "logicalExecutionId": "execution-f",
< "attemptIndex": 0,
< "status": "pass",
< "observedAt": "2026-10-02T10:08:00Z",
< "chainCoverage": "complete",
< "sourceReference": "archive/008"
< },
< {
< "recordId": "009",
< "project": "web",
< "testId": "checkout-total",
< "revision": "commit-001",
< "environment": "chromium-ci",
< "logicalExecutionId": "execution-g",
< "attemptIndex": 0,
< "status": "pass",
< "observedAt": "2026-09-30T10:09:00Z",
< "chainCoverage": "complete",
< "sourceReference": "archive/009"
< }
< ],
< "observationsCsv": "",
< "observationColumns": {
< "recordId": "recordId",
< "project": "project",
< "testId": "testId",
< "revision": "revision",
< "environment": "environment",
< "logicalExecutionId": "logicalExecutionId",
< "attemptIndex": "attemptIndex",
< "status": "status",
< "observedAt": "observedAt",
< "chainCoverage": "chainCoverage",
< "sourceReference": "sourceReference"
< },
< "csvDelimiter": ","
<}
<EOF
$curl "https://api.apify.com/v2/actors/h_murdock~test-retry-cohort-evidence/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'