---
title: "Sync Eval Definitions"
method: POST
path: "/v1/teams/{team_id}/evals/definitions/sync"
tags: ["evals"]
---

# Sync Eval Definitions

`POST /v1/teams/{team_id}/evals/definitions/sync`

## Request

- Base URL: `https://api.stormy.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.stormy.ai/v1/teams/{team_id}/evals/definitions/sync`
- Auth: none declared

## Path parameters

- `team_id` string, uuid, required

## Headers

- `authorization` string, nullable
- `x-darwin-token` string, nullable

## Request body

- SyncEvalDefinitionsRequest
  - `definitions` EvalDefinitionRequest[], required
    - `definition_key` string, required
    - `expected_current_definition_id` string, uuid, nullable, required: Current immutable head observed by the caller, or null when the caller observed no head. The sync is rejected if that observation is stale.
    - `kind` string, required
    - `lifecycle` string
    - `title` string, required
    - `description` string
    - `body_markdown` string
    - `config` object
    - `source_type` string, required
    - `source_ref` string, required
    - `source_sha256` string, required
    - `links` EvalDefinitionLinkRequest[]
      - `relation` string, required
      - `target_key` string, required
      - `ordinal` integer
      - `config` object

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/stormy/apis/stormy-control-plane.md) · [All operations](https://skmtc.dev/stormy/apis/stormy-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/stormy/apis/stormy-control-plane/revisions/a40e83844eaa?raw)
