Path Parameters
Query Parameters
Fields to group by, example: ['userId', 'agentId', 'sessionId', 'runId', 'modelName', 'modelProvider', 'type', 'env']
Source of the meter, for now can be only chat-engine, this can be helpfully if same metering system is used by multiple sources
Chat-engine User's id, can have multiple agents attached to it
Agent id, can have multiple sessions attached to it
Session id, can have multiple message attached to it
Run id, a run represent a session send+reply (input output) message, can have multiple generations attached to it, with inputs and outputs
Model name, example: gpt-4o-mini, gpt-4o ....
Model provider, example: openai, anthropic ....
Type of the meter, input or output
Environment of the meter, example: dev, prod ....
Even sum aggregations window
Start date in UTC, bellow minute precision will be ignored
End date in UTC, bellow minute precision will be ignored, should greater than Start date
Response
Return all meters.
