---
title: "Ingest Callback Logs"
method: POST
path: "/v1/rust_control_plane/logs"
tags: ["rust control plane"]
---

# Ingest Callback Logs

`POST /v1/rust_control_plane/logs`

Replay a batch of finished logging payloads through the callback fan-out.

Admin-only: the payloads write spend logs and trigger every callback, so this
is a trusted internal route, not a public surface.

## Request body

- CallbackLogsRequest — A batch of logging events posted by an external producer.
  - `records` CallbackLogRecord[], required
    - `status` 'success' | 'failure', required
    - `standard_logging_payload` object, required
    - `error` string, nullable

## Response `200`

Successful Response

- CallbackLogsResponse — Per-batch result: counts plus per-record failure detail so the caller can distinguish a transient callback error from a structurally bad payload.
  - `processed` integer, required
  - `failed` integer, required
  - `failures` CallbackLogFailure[]
    - `index` integer, required
    - `error` string, required

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-18** `082b5fabd909` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/flock/apis/litellm-api/changes/v1/rust_control_plane/logs/post.md)

---

[API](https://skmtc.dev/flock/apis/litellm-api.md) · [All operations](https://skmtc.dev/flock/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/flock/apis/litellm-api/revisions/731afbea6a1b?raw)
