Consumption Events
Consumption Events - List
Retrieve a paginated list of consumption events for your organization
GET
Este endpoint requiere autenticacion. Inclui tu API key en el header
Authorization: Bearer <API_KEY>. Ver Autenticacion para mas detalles.- Browse individual consumption events with full detail
- Filter by date range, agent, feature, provider, model, or conversation
- Sort by date or credits charged
- Paginate through large result sets
Query Parameters
Optional
Filter events that occurred on or after this date. Must be a valid ISO 8601 datetime string (e.g.
2025-01-01T00:00:00.000Z).Filter events that occurred on or before this date. Must be a valid ISO 8601 datetime string. Must be greater than or equal to
startDate if both are provided.Filter events by a specific agent ID.
Filter events by feature name (e.g.
chat, transcription).Filter events by AI provider (e.g.
openai, anthropic).Filter events by model name (e.g.
gpt-4, claude-3-opus).Filter events by conversation ID.
Page number for pagination. Minimum value:
1.Number of events per page. Minimum:
1, maximum: 100.Sort order for results. Valid values:
occurredAt_asc, occurredAt_desc, creditsCharged_asc, creditsCharged_desc.Response
List of consumption events.
Pagination metadata.
Error Responses
| Status Code | Type | Description |
|---|---|---|
| 400 | INVALID_REQUEST | startDate is after endDate |
| 401 | UNAUTHORIZED | Missing or invalid authentication |

