v4

latestOpenAPI 3.1.02026-08-01207318738.7 KB
AI Eval

Archive an eval prompt set

Archive (soft-delete) a prompt set. As part of the archive, Omni attempts to cancel every in-flight agentic job associated with the set; the returned cancelled_job_count reports how many were cancelled. The archive is committed before run cancellations start. Cancellation is best-effort — the database cancel is authoritative, but the Redis stop-signal that halts a running worker can lag. If the archive itself or a whole run-cancellation fails, the endpoint returns 500, but the prompt set is already archived. The call is idempotent — retrying drains any remaining runs.

delete/api/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.