---
title: "Get Llm Proxy Import State"
method: GET
path: "/developer/llm-proxy-requests/import-state"
tags: ["Developer", "Developer - LLM Proxy"]
---

# Get Llm Proxy Import State

`GET /developer/llm-proxy-requests/import-state`

## Request

- Base URL: `https://api.openintake.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openintake.ai/developer/llm-proxy-requests/import-state`
- Auth: none declared

Importer health: watermark, ingestion lag, last error, orphan counts, table size.

The orphan counts are the point. A metrics line whose bodies never arrived and a
bodies line whose metrics never arrived are the two ways this importer can be
silently half-working, and neither shows up in a row count.

## Response `200`

Successful Response

- LLMProxyImportStateResponse: Importer health. The two orphan counts are how a silently half-working importer becomes visible.
  - `log_group` string, required
  - `last_event_at` string, date-time, nullable
  - `last_run_at` string, date-time, nullable
  - `last_run_status` string, nullable
  - `last_error` string, nullable
  - `last_events_scanned` integer, nullable
  - `last_rows_upserted` integer, nullable
  - `watermark_lag_seconds` number, nullable: now - last_event_at
  - `max_ingestion_lag_seconds` number, nullable: max(cw_ingested_at - logged_at) over the last 24h; must stay well under the overlap window
  - `rows_total` integer
  - `rows_missing_bodies` integer: Metrics line imported, bodies line never arrived
  - `rows_missing_metrics` integer: Bodies line imported, metrics line never arrived
  - `rows_unlinked` integer: Rows with a vapi_call_id that resolved to no call
  - `table_bytes` integer, nullable: pg_total_relation_size of llm_proxy_request
  - `import_enabled` boolean

---

[API](https://skmtc.dev/openintake/apis/openintake-api.md) - [All operations](https://skmtc.dev/openintake/apis/openintake-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openintake/apis/openintake-api/revisions/de90a8dcbc07?raw)
