---
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`

## Request

- Base URL: `https://api.sea-lion.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sea-lion.ai/v1/rust_control_plane/logs`
- Auth: API key in header `x-litellm-api-key`

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-10-21** `f2fb14eab3f5`: 1 info
  - endpoint added

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

---

[API](https://skmtc.dev/sea-lion/apis/litellm-api.md) · [All operations](https://skmtc.dev/sea-lion/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sea-lion/apis/litellm-api/revisions/1ba9123c189a?raw)
