Evaluation Prompts
Create Metric Prompt
Create a new prompt for a metric. The prompt is automatically versioned as the next available version.
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The ID of the metric to create the prompt for.
Body
application/json
A request to create a new prompt for a metric.
The content of the prompt to create.
Response
201
application/json
Successful Response
A response containing the version of the created prompt.
The ID of the request the response is for.
Example:
"123e4567-e89b-12d3-a456-426614174000"
The version of the created prompt.
Required range:
x > 0
Allowed value:
"success"