POST
/
v0
/
endpoint-metrics

Append speed or cost data to the standardized time-series benchmarks for a custom endpoint (only custom endpoints are publishable by end users).

Authorizations

Authorization
string
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

endpoint_name
string
required

Name of the custom endpoint to append benchmark data for.

metric_name
string
required

Name of the metric to submit. Allowed metrics are: “input_cost”, “output_cost”, “time_to_first_token”, “inter_token_latency”.

value
number
required

Value of the metric to submit.

measured_at
string

The timestamp to associate with the submission. Defaults to current time if unspecified.