get_endpoint_metrics
Retrieve a single timeseries metric for a specific application endpoint over a chosen time range to monitor response time, throughput, or other performance signals.
Instructions
Get a single timeseries metric for a specific endpoint in an application.
Args: app_id (int): The ID of the Scout APM application. endpoint (str): The endpoint path (e.g., "/users", "/orders"). metric (str): The metric to retrieve (e.g., "response_time", "throughput"). from_ (str): The start datetime in ISO 8601 format. to (str): The end datetime in ISO 8601 format.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"app_id": "<app_id>",
"endpoint": "<endpoint>",
"metric": "<metric>",
"from_": "<from_>",
"to": "<to>"
},
"name": "get_endpoint_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from_ | Yes | ||
| app_id | Yes | ||
| metric | Yes | ||
| endpoint | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||