Accept an eval case proposal

Materialize a proposal as a test case (origin “generated”, or “saved_from_run” for trace-sourced proposals) and backlink it. Pass an edited body to save your version instead — recorded as “edited_accepted”; the machine original stays for audit.

Authentication

AuthorizationBearer
API key or Clerk session token

Path parameters

idstringRequired>=1 character
proposalIdstringRequired>=1 character

Request

This endpoint expects an object.
caseobjectOptional

Reviewer-edited case body. Omit to accept the proposal verbatim; provide it to save an edited version (recorded as “edited_accepted”; the machine original stays on the proposal for audit).

Response

Proposal accepted; case created

proposalobject
caseany
The materialized eval case row.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error