Skip to main content
Glama

track_event

Record customer usage events for metered billing by specifying meter ID, customer ID, and usage value to track consumption data.

Instructions

Track a single usage event for a customer

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
meterIdYesThe meter ID to track against
customerIdYesThe customer's external ID
valueYesThe usage value (e.g. '1', '1500')
timestampNoISO 8601 timestamp (defaults to now)
metadataNoOptional metadata key-value pairs

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Be-Infinitum/pulse-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server