v1

latestOpenAPI 3.1.02026-07-2618690613.4 KB
AI Eval

Archive an eval prompt set

Archive (soft-delete) a prompt set. Omni also attempts to cancel every in-flight agentic job associated with the set; the returned cancelled_job_count reports how many were cancelled. Cancellation is best-effort — the archive is committed first, so if a run-cancellation later fails the endpoint returns 500 even though the set is already archived. The call is idempotent: retrying drains any remaining runs.

delete/v1/ai/eval/prompt-sets/{promptSetId}

Path parameters

promptSetIdstring uuid required

The unique identifier of the eval prompt set.

Example:550e8400-e29b-41d4-a716-446655440000

The unique identifier of the eval prompt set.

Response

Prompt set archived successfully.

cancelled_job_countinteger required

Number of in-flight agentic jobs associated with this prompt set that were cancelled as part of the archive.

is_archivedtrue required

Always true on success — archives the prompt set.