Body
application/json
The amount of usage
Example:
100
The ID of the agent associated with the usage
Example:
"agent-123"
The session ID associated with the usage
Example:
"session-456"
The type of unit associated with the usage
Available options:
input_tokens, output_tokens, cached_tokens, input_characters, input_seconds Example:
"input_tokens"
The run ID associated with the usage
Example:
"run-112"
The source of the usage data
Example:
"API"
The organization ID
Example:
"org-113"
The Id of the credential used to create the usage
Example:
"openai_key_123"
The external customer ID Note: This can be a customer ID from your customer management system, or a phone number for SIP Calls
Example:
"+971123456789"
The ID of the event associated with the usage Note: This is the ID of the event that triggered the usage and has to be unique for each event
Example:
"event-123"
The model type associated with the usage
Available options:
llm, tts, stt, image Example:
"llm"
Response
Ingested event
