Skip to main content
POST
/
v3
/
evals
/
datasets
/
{id}
/
items
Add new Evals dataset items
curl --request POST \
  --url https://{host}/v3/evals/datasets/{id}/items \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "items": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "inputs": {
        "question": "What is the capital of France?",
        "context": [
          "Paris is the capital."
        ]
      },
      "expected_outputs": {
        "answer": "Paris",
        "rationale": "Common knowledge."
      },
      "metadata": {
        "reviewer": "Alice",
        "status": "approved"
      },
      "extras": {},
      "source_name": "<string>",
      "source_id": "<string>"
    }
  ]
}
'
[
  "<string>"
]

Documentation Index

Fetch the complete documentation index at: https://handbook.fiddler.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string<uuid>
required

Dataset UUID

Body

application/json

Request body to create a new dataset items

items
object[]
required

Response

Evals dataset items added successfully.