Inference

Billed inference usage for one of the caller's conversation threads

Sums every billed inference call the authenticated user made with this thread_id (the value sent on chat completions). Only the caller's own calls are counted. An unknown thread returns zero totals.

get/openai/v1/threads/{threadId}/usage

Request

  • Base URL: https://api.tinyhumans.ai
  • URL: https://api.tinyhumans.ai/openai/v1/threads/{threadId}/usage
  • Auth: HTTP bearer

Path parameters

threadIdstring required

The thread_id sent on the inference requests.

Response

Thread usage totals and per-model breakdown

successboolean

Example response

{
  "success": true
}

Changes

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