---
title: "Store Regression Mocks"
method: POST
path: "/eval/regression-mocks"
---

# Store Regression Mocks

`POST /eval/regression-mocks`

Store regression mocks directly in backend cache.

The regression runner sends this data in small chunks because dev ingress
rejects large request bodies before they reach FastAPI. Each call merges
into the existing cache entry so LLM/API mocks and live variables can be
uploaded incrementally without weakening strict replay checks.

## Headers

- `x-internal-api-key` string, required

## Request body

- StoreRegressionMocksRequest
  - `callId` string, required
  - `llmMocksByTurn` object, nullable
  - `apiMocks` object, nullable
  - `liveVarData` object, nullable
  - `blobChunks` RegressionMockBlobChunk[], nullable
    - `blobId` string, required
    - `index` integer, required
    - `total` integer, required
    - `encoding` string, required
    - `data` string, required
  - `ttlSeconds` integer, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/phonely/apis/fastapi.md) · [All operations](https://skmtc.net/phonely/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/phonely/fastapi/versions/9bfd5599d479/schema)
