Log LLM cost entry (internal, server-to-server)

post/v1/internal/llm-cost

Request

  • Base URL: https://api.clichefactory.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.clichefactory.com/v1/internal/llm-cost
  • Auth: none declared

Headers

X-API-KEYstring nullable

Request body

tenant_idstring required
job_idstring nullable
operationstring required
providerstring required
model_namestring nullable
prompt_tokensinteger
completion_tokensinteger
total_tokensinteger
dspy_cost_usdnumber nullable
dspy_metric_callsinteger nullable
raw_usage_jsonstring nullable

Response

Successful Response

unknown required

Changes

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