sdk-v2

Update Eval Case

Update a benchmark case by id (its benchmark is immutable).

put/v2/sdk/eval-cases/{case_id}

Request

  • Base URL: https://api.pandas-ai.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.pandas-ai.com/v2/sdk/eval-cases/{case_id}
  • Auth: none declared

Path parameters

case_idstring required

Request body

suite_idstring nullable

Benchmark id (required on create, immutable on update)

questionstring required

Question to ask the agent

evaluation_criteriastring required

What a good answer must do (judged by the LLM judge)

labelsstring[]

Free-form case labels

gold_sqlstring nullable

Reference SQL for result comparison

orderedboolean

Compare results order-sensitively (query pins ORDER BY)

assertionsobject[]

Typed assertion specs, e.g. [{'type': 'max_turns', 'max': 4}]

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.