get-trace-stats
Retrieve trace statistics by specifying project ID, name, date range, or workspace for efficient analysis and monitoring on the Opik platform.
Instructions
Get statistics for traces
Input Schema
Name | Required | Description | Default |
---|---|---|---|
endDate | No | End date in ISO format (YYYY-MM-DD) | |
projectId | No | Project ID to filter traces | |
projectName | No | Project name to filter traces | |
startDate | No | Start date in ISO format (YYYY-MM-DD) | |
workspaceName | No | Workspace name to use instead of the default |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"endDate": {
"description": "End date in ISO format (YYYY-MM-DD)",
"type": "string"
},
"projectId": {
"description": "Project ID to filter traces",
"type": "string"
},
"projectName": {
"description": "Project name to filter traces",
"type": "string"
},
"startDate": {
"description": "Start date in ISO format (YYYY-MM-DD)",
"type": "string"
},
"workspaceName": {
"description": "Workspace name to use instead of the default",
"type": "string"
}
},
"type": "object"
}