POST
/
v1
/
evals
cURL
curl --request POST \
  --url https://api.lmnr.ai/v1/evals \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "groupName": "<string>"
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "groupName": "<string>",
  "createdAt": "2023-11-07T05:31:56Z"
}

Description

Create a new evaluation with an optional name and group. If no name is provided, a random name will be generated automatically.

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string

Name of the evaluation. If not specified, a random name will be generated.

groupName
string | null

Group name for the evaluation. Defaults to 'default'.

Response

Evaluation created successfully

id
string<uuid>
required

The unique identifier of the evaluation

name
string
required

The name of the evaluation

projectId
string<uuid>
required

The project ID this evaluation belongs to

groupName
string
required

The group name of the evaluation

createdAt
string<date-time>

When the evaluation was created