Start an evaluation run

⚠️
Preview — this feature is being built; the design below is the spec.
POST https://app.syntic.ai/v1/evals/runs

Run one or more prompt and model variants over every item in a dataset and grade the outputs. Generation goes through the batch path, so runs cost the batch rate and usually finish within the hour; set priority: interactive to pay the standard rate for faster results.

For how this fits into a full workflow, see Evaluations.

Headers

HeaderRequiredValue
AuthorizationYesBearer <key>: a private inference key (sk_live_...). See Authentication.
syntic-betaYes, while in previewevals-2026-12-01. Without it the call fails with 400 beta_required. See Versioning.
Content-TypeYesapplication/json
Idempotency-KeyNoUp to 255 characters. Retrying with the same key within 24 hours returns the first result instead of acting twice. See Idempotency.

Body parameters

ParameterTypeRequiredNotes
dataset_idstringYes
variantsarrayYes1 to 4 items, each with label, model, and either prompt_version (from prompt templates) or an inline messages template using {{variables}}.
grader_idsarray of stringsYes1 to 5 graders; an item passes when every grader passes.
namestringNo
prioritystringNobatch (default) or interactive.
item_tagsarray of stringsNoRun only items with these tags.

Response

202 Accepted, Content-Type: application/json

{
  "id": "evrun_01JD35D7F9H1K3M5P7R9",
  "type": "eval_run",
  "name": "shorter system prompt vs baseline",
  "dataset_id": "evds_01JD13B5D7F9H1K3M5P7",
  "status": "queued",
  "variants": [
    {
      "label": "baseline",
      "model": "Amara S1.2",
      "prompt_version": "support-v12"
    },
    {
      "label": "short",
      "model": "Amara S1.2",
      "prompt_version": "support-v13"
    }
  ],
  "grader_ids": [
    "evgr_01JD46E8G0J2L4N6Q8S0"
  ],
  "progress": {
    "total": 400,
    "done": 0,
    "errored": 0
  },
  "summary": null,
  "created_at": "2026-11-05T10:00:00Z",
  "finished_at": null
}
FieldTypeDescription
variantsarrayUp to 4 prompt and model combinations, each run on every item.
progressobjectItems done per variant summed across variants.
summaryarrayPer variant: pass rate, mean score, mean output length and cost, once finished.
statusstringqueued, running, succeeded, failed or canceled.

Examples

curl -sS "https://app.syntic.ai/v1/evals/runs" \
  -H "Authorization: Bearer $SYNTIC_API_KEY" \
  -H "syntic-beta: evals-2026-12-01" \
  -H "Idempotency-Key: 8d6f0c1e-4b2a-4a57-9f0e-2f1d3c4b5a69" \
  -H "Content-Type: application/json" \
  -d '{
      "name": "shorter system prompt vs baseline",
      "dataset_id": "evds_01JD13B5D7F9H1K3M5P7",
      "variants": [
        {
          "label": "baseline",
          "model": "Amara S1.2",
          "prompt_version": "support-v12"
        },
        {
          "label": "short",
          "model": "Amara S1.2",
          "prompt_version": "support-v13"
        }
      ],
      "grader_ids": [
        "evgr_01JD46E8G0J2L4N6Q8S0"
      ]
    }'

Errors

Errors use the error envelope and carry a request_id. Codes specific to this operation:

StatustypecodeWhen
400invalid_request_errorbeta_requiredThe syntic-beta header is missing.
400invalid_request_errorunknown_variableA template uses a {{variable}} not present in the dataset’s inputs.
404not_found_errordataset_not_foundNo dataset with this id.
401authentication_errorinvalid_api_keyThe key is missing, unknown, revoked or expired.
429rate_limit_errorrate_limitedToo many requests; wait for Retry-After. See Rate-limit headers.
Was this page helpful?