Skip to main content
POST
Write a finished authoring job's cases into the suite

Authorizations

Authorization
string
header
required

MCPJam API key (sk_…). Create one at Settings → API keys. Guest sessions cannot use the API, and API keys cannot manage other API keys.

Path Parameters

projectId
string
required

ID of the hosted project that contains the server.

suiteId
string
required

Eval suite ID, as returned by POST /eval-runs.

jobId
string
required

Body

application/json
duplicatePolicy
enum<string>

How to treat a case that duplicates one already in the suite. Anything but block requires overrideReason.

Available options:
block,
warn,
create_anyway
overrideReason
string
Minimum string length: 1

Response

The cases written and any the commit skipped, or the job's own status when it finished without committing (failed, cancelled, or still pending at the end of the wait).

generationModel
string
required
created
object[]
required
counts
object
required
skipped
object[]

Cases the commit could not write, each with its reason. They stay on the job rather than being lost.

reviewUrl
string<uri>

Opens the app on exactly the skipped drafts. Present only when something was skipped — finishing them there costs nothing, whereas re-sending the document re-authors and re-bills every case in it.