Skip to main content
POST
Bulk reject seeds (transition to REJECTED)

Body

application/json

Body of POST .../seeds/batch/{validate,reject}.

A flat list of seed UUIDs plus an optional shared note that gets stamped on every successful transition. The size cap is enforced inside the handler (explicit 400) rather than via Pydantic max_length so the failure mode is a clean 400 Bad Request with a stable schema, not the framework's default 422.

seed_ids
string<uuid>[]
required

Seed UUIDs to operate on (slug not accepted in batch).

Minimum array length: 1
triage_note
string | null

Optional shared note stamped on every successful transition.

Maximum string length: 500

Response

Batch processed (per-id verdicts in body)

Response shape for both batch endpoints.

succeeded carries the per-id verdicts that landed; failed carries per-id reasons (not_found, cross_tenant, invalid_transition, error). The HTTP status code is always 200 once the request has cleared validation - per-item failure does NOT abort the batch (per-item error isolation per design § Batch).

succeeded
SeedResponse · object[]
required
failed
BatchFailure · object[]
required