---
title: "Auto V2 Pipeline"
method: POST
path: "/v1/cron/auto-v2-pipeline"
tags: ["cron", "cron"]
---

# Auto V2 Pipeline

`POST /v1/cron/auto-v2-pipeline`

## Request

- Base URL: `https://api.etymolt.com`
- URL: `https://api.etymolt.com/v1/cron/auto-v2-pipeline`
- Auth: none declared

Autonomous overnight orchestrator — runs the v2 sequence unattended.

Sequence (each step gated on the previous succeeding):
  1. Check if USPTO tm_index has >= min_us_rows rows (default 1.5M).
     If not and force=false, return with 'waiting_on_backfill'.
  2. Fire the coexistence matrix ETL via detached subprocess.
     Returns immediately with the pid + log path.
  3. Caller can poll /v1/cron/tm-index-coverage + /v1/cron/verify-diag
     matrix_stats for completion.

Failure modes handled:
  * tm_index missing → returns 'no_tm_index'
  * marks table empty → returns 'index_empty'
  * ETL script missing → returns 500
  * Subprocess fails to spawn → returns 500 with detail

Dual-auth.  Idempotent — safe to fire repeatedly.

## Query parameters

- `min_us_rows` integer
- `force` boolean

## Headers

- `authorization` string, nullable
- `X-Etymolt-Key` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/etymolt/apis/etymolt-verify-ai-generated-brand-names.md) · [All operations](https://skmtc.dev/etymolt/apis/etymolt-verify-ai-generated-brand-names/llms.txt) · [OpenAPI document](https://skmtc.dev/etymolt/apis/etymolt-verify-ai-generated-brand-names/revisions/7228ffa1efa7?raw)
