query_llm_metrics
Retrieve LLM performance metrics from Langfuse workspaces by time range, user, tags, or environment to monitor and analyze model behavior.
Instructions
Query LLM metrics
Input Schema
Name | Required | Description | Default |
---|---|---|---|
environment | No | Environment | |
fromTimestamp | No | Start timestamp in ISO 8601 format | |
limit | No | limit (default 100) | |
page | No | Page number (default 1) | |
tags | No | Tags | |
toTimestamp | No | End timestamp in ISO 8601 format | |
traceName | No | Trace name | |
userId | No | User ID, it's can filter by user |
Input Schema (JSON Schema)
{
"properties": {
"environment": {
"description": "Environment",
"items": {
"type": "string"
},
"type": "array"
},
"fromTimestamp": {
"description": "Start timestamp in ISO 8601 format",
"type": "string"
},
"limit": {
"default": 100,
"description": "limit (default 100)",
"type": "number"
},
"page": {
"default": 1,
"description": "Page number (default 1)",
"type": "number"
},
"tags": {
"description": "Tags",
"items": {
"type": "string"
},
"type": "array"
},
"toTimestamp": {
"description": "End timestamp in ISO 8601 format",
"type": "string"
},
"traceName": {
"description": "Trace name",
"type": "string"
},
"userId": {
"description": "User ID, it's can filter by user",
"type": "string"
}
},
"type": "object"
}