DELETE
/
v0
/
endpoint-metrics
curl --request DELETE \
  --url 'https://api.unify.ai/v0/endpoint-metrics?endpoint_name=my_endpoint&timestamps=2024-08-17T19:19:37.289937' \
  --header "Authorization: Bearer $UNIFY_KEY"
{
    "info": "Benchmark deleted successfully!"
}

Delete all benchmark time-series data for a given custom endpoint with the specified timestamps. If timestamps are not specified, then all benchmark data will be deleted for the specified custom endpoint. The time-series benchmark data for public endpoints are not deletable.

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 submit a benchmark for.

timestamps
array | null

List of timestamps to delete the endpoint metrics for.

curl --request DELETE \
  --url 'https://api.unify.ai/v0/endpoint-metrics?endpoint_name=my_endpoint&timestamps=2024-08-17T19:19:37.289937' \
  --header "Authorization: Bearer $UNIFY_KEY"
{
    "info": "Benchmark deleted successfully!"
}