endpoint_metrics
log_endpoint_metric
Append speed or cost data to the standardized time-series benchmarks for a custom endpoint (only custom endpoints are publishable by end users).
Arguments:
endpoint_name
- Name of the custom endpoint to append benchmark data for.metric_name
- Name of the metric to submit. Allowed metrics are: “input_cost”,value
- Value of the metric to submit.measured_at
- The timestamp to associate with the submission. Defaults to currentapi_key
- If specified, unify API key to be used. Defaults to the value in the