---
title: "Export Training Pairs"
method: GET
path: "/internal/training-pairs/export"
---

# Export Training Pairs

`GET /internal/training-pairs/export`

Secret-gated JSONL export of the frontier distillation corpus
(`frontier_training_pairs`). A scheduled job snapshots this to the
`codag-training-data` Modal volume so the LoRA v4 corpus is not captive
to the prod database. Cursor via `since_id`; rows are append-only.

## Query parameters

- `since_id` integer
- `limit` integer

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/codag/apis/infra-logs-templater.md) · [All operations](https://skmtc.net/codag/apis/infra-logs-templater/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/codag/infra-logs-templater/revisions/a4b69f6d2450/schema)
