Skip to main content
POST
/
{slug}
/
evaluations
Create evaluation
curl --request POST \
  --url https://api.dimred.com/api/v2/{slug}/evaluations \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "project_id": "<string>",
  "prompt_id": "<string>",
  "dataset_id": "<string>",
  "eval_name": "<string>",
  "model_name": "gpt-4.1",
  "provider": "<string>"
}'
{
  "status": "<string>",
  "data": {
    "eval_id": "<string>"
  },
  "message": "<string>"
}

Authorizations

X-API-Key
string
header
required

API key for authentication

Path Parameters

slug
string
required

Organization slug

Body

application/json
project_id
string
required

Identifier for the project

prompt_id
string
required

Identifier for the prompt to evaluate

dataset_id
string
required

Identifier for the dataset to use in evaluation

eval_name
string
required

Name of the evaluation

model_name
string
default:gpt-4.1

Name of the model to use for evaluation

provider
string

Provider of the model

Response

200 - application/json

Evaluation created successfully

status
string
data
object
message
string
I