Post 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.

post/api/usage/record

Headers

authorizationstring nullable

Request body

object required

Response

Successful Response

object required

Changes

No recorded changes to this endpoint across all 1 revision of this API.