Post Usage Record

Changed on

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

Request

  • Base URL: https://api.omicos.cn (the document declares no server; this is the origin it was published from)
  • URL: https://api.omicos.cn/api/usage/record
  • Auth: none declared

Headers

authorizationstring nullable
x-omicos-devicestring nullable
x-omicos-device-kindstring nullable
x-omicos-device-namestring nullable

Request body

object required

Response

Successful Response

object required

Changes

    • info

      added the new optional header request parameter x-omicos-device

    • info

      added the new optional header request parameter x-omicos-device-kind

    • info

      added the new optional header request parameter x-omicos-device-name