Toolzz AI
- Introduction
- Planos
- ChatService
- Toolzz Analytics
- Introduction
- DatasetItems
- DatasetRunItems
- Datasets
- Health
- Traces
- Session
- Projects
- Prompt
- Metrics
- Media
- Score
- ScoreConfig
- Models
- Observations
- Comments
- Kratos
Get daily metrics
Endpoint to get daily metrics on toolzz analytics
{
"data": [
{
"date": "<string>",
"countTraces": 123,
"countObservations": 123,
"totalCost": 123,
"usage": [
{
"model": "<string>",
"inputUsage": 123,
"outputUsage": 123,
"totalUsage": 123,
"countTraces": 123,
"countObservations": 123,
"totalCost": 123
}
]
}
],
"meta": {
"page": 123,
"limit": 123,
"totalItems": 123,
"totalPages": 123
}
}
Page number, starts at 1 (nullable).
Limit of items per page (nullable).
Optional filter by the name of the trace (nullable).
Optional filter by the userId associated with the trace (nullable).
Optional filter for metrics where traces include all of these tags.
A single tag.
Optional filter for traces and observations on or after a certain datetime (ISO 8601).
Optional filter for traces and observations before a certain datetime (ISO 8601).
Response Description
Below you will see the description of the Get Project response
List of records grouped by date.
Date of the record.
Total number of traces for the given date.
Total number of observations for the given date.
Total cost for the given date.
Detailed usage metrics for the given date.
Model name associated with the usage.
Total input usage for the model.
Total output usage for the model.
Total usage for the model.
Number of traces associated with the model.
Number of observations associated with the model.
Total cost associated with the model.
Code Response
Exemples of Response Code
Request Successful Response
Request Failure
{
"data": [
{
"date": "<string>",
"countTraces": 123,
"countObservations": 123,
"totalCost": 123,
"usage": [
{
"model": "<string>",
"inputUsage": 123,
"outputUsage": 123,
"totalUsage": 123,
"countTraces": 123,
"countObservations": 123,
"totalCost": 123
}
]
}
],
"meta": {
"page": 123,
"limit": 123,
"totalItems": 123,
"totalPages": 123
}
}