Run a SQL Evaluation

Run a SQL evaluation.

Body Params

Create schema for V2 SQL evaluation result.

length ≤ 255

Optional name for the evaluation result.

length ≤ 2000

Optional description of what this run tests.

uuid
required

The ID of the agent config to use.

payload
object
required

The payload to be sent to the agent. This should conform to the input JSON schema of the agent.

case_ids
array of uuids
required
length ≥ 1

List of SQL evaluation case IDs to include in the evaluation.

Case Ids*

Optional custom prompt for the LLM judge evaluation, used instead of the default evaluation instructions. The prompt will be automatically augmented with the original question, reference SQL, predicted SQL, reference data preview, and predicted data preview.

Responses

Language
Credentials
URL
LoadingLoading…
Response
Choose an example:
application/json