Eval runs

Pay for one local eval iteration

Changed on

Collect the declared prompt fee and reserve one iteration atomically before execution. Retries with the same identity reuse the receipt; changed requests conflict. Uploads claim the payment without charging again.

post/projects/{projectId}/eval-ingest/pay-iteration

Request

  • Base URL
    https://app.mcpjam.com/api/v1
  • URL
    https://app.mcpjam.com/api/v1/projects/{projectId}/eval-ingest/pay-iteration
  • Auth
    HTTP bearer

Path parameters

projectIdstring required

Project id, or default to resolve the authenticated organization's Default project.

Request body

runStartIdstring uuid required
iterationKeystring uuid required
caseIdstring required
billableStepsinteger required

Response

Iteration payment receipt with paymentId, runStartId, iterationKey and billableSteps.

Changes