PATCH
/
v1
/
metrics
/
{metric_id}
/
active_prompt_version
{
  "request_id": "123e4567-e89b-12d3-a456-426614174000",
  "status": "success"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

metric_id
string
required

The ID of the metric to update the active prompt for.

Body

application/json

A request to set which prompt version is active for a metric.

Response

200
application/json

Successful Response

A response indicating successful prompt version activation.