endpoint_metrics
get_endpoint_metrics
Retrieve the set of cost and speed metrics for the specified endpoint.
Arguments:
endpoint
- The endpoint to retrieve the metrics for, in model@provider formatstart_time
- Window start time. Only returns the latest benchmark if unspecified.end_time
- Window end time. Assumed to be the current time if this is unspecifiedapi_key
- If specified, unify API key to be used. Defaults to the value in the
Returns:
The set of metrics for the specified endpoint.