---
title: "Post Usage Record"
method: POST
path: "/api/usage/record"
---

# Post Usage Record

`POST /api/usage/record`

Batch-ingest per-LLM-call audit rows. Idempotent: UNIQUE on
(user_id, session_id, turn_id, llm_call_index) means a retry of
an already-stored row is a silent no-op. Returns counters so the
client can confirm and (in future) prune its local jsonl.

## Headers

- `authorization` string, nullable

## Request body

- object

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/omicos/apis/omicos-server.md) · [All operations](https://skmtc.dev/omicos/apis/omicos-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/omicos/omicos-server/revisions/a00b94573ffe/schema)
