billing

Record Model Usage

post/api/py/billing/model-usage

Request body

idempotency_keystring required
organization_idstring required
user_idstring nullable
product_surfacestring required
call_sitestring required
chat_session_idstring nullable
session_idstring nullable
workflow_idstring nullable
workflow_run_idstring nullable
activity_idstring nullable
inngest_event_idstring nullable
file_idstring nullable
delivery_instance_idstring nullable
wiki_run_idstring nullable
routine_run_idstring nullable
task_run_idstring nullable
providerstring required
recorded_modelstring required
usageobject
requested_modelstring nullable
routing_backendstring nullable
is_autoboolean

Response

Successful Response

object required

Changes