API Reference
Log In
API Reference

Meter Tool Event

Submit tool/function call metadata for metering and billing purposes.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Tool event metadata including tool ID, operation, duration, and attribution

string

Unique identifier for this tool call transaction

string
required
length ≥ 1

Identifier of the tool being called

string

The specific operation being performed by the tool

int64
required

Duration of the tool call in milliseconds

boolean
required

Whether the tool call was successful

string

Error message if the tool call failed

double

Cost of the tool call in USD

string
required
length ≥ 1

ISO 8601 timestamp of when the tool call occurred

string

Name or identifier of the AI agent making the tool call

string

The name of the organization from your system for multi-tenant tracking

string

The name of the product or application from your system for attribution

string

Subscriber or customer credential for billing attribution

string

Workflow identifier for multi-step process tracking

string

Trace ID for distributed tracing correlation

usageMetadata
object

Additional usage metadata as key-value pairs

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json