Sync cases

Declaratively sync the suite’s cases from a repo dataset.

Cases are matched by external_id: matched ones are updated in place, new ones created, and (with prune, the default) synced cases missing from the payload deleted. Dashboard-authored cases are never touched. In-flight runs are unaffected — runs snapshot their cases at trigger time.

Authentication

AuthorizationBearer

Your gateway API key (mg_ prefix), the same key used for /v1/responses

Path parameters

suite_idstringRequiredformat: "uuid"

Request

This endpoint expects an object.
caseslist of objectsRequired
prunebooleanOptionalDefaults to true

Response

Successful Response
createdinteger
updatedinteger
deletedinteger
unchangedinteger

Errors

422
Unprocessable Entity Error