Mint a model lease for MCPJam-hosted inference
How an SDK eval running OUTSIDE the platform (local dev, CI) uses MCPJam-hosted inference on the organization's credits, with no provider key of its own. Authenticate like any other /api/v1 route (typically an sk_ key).
The lease is strictly narrower than the key used to get it: one organization, one project, one model, one proxy host, about 30 minutes, a per-lease spend and call cap, and revocable by runId.
The {projectId} segment declares which project's organization pays, and always wins over any projectId in the body. The literal default resolves to the key org's Default project — the zero-config CI case, and the same resolution the eval-ingest routes use, so a lease and the results it produces land in the same project.
Path parameters
Project id, or the literal default for the key org's Default project.
Request body
Example request
{
"model": "anthropic/claude-sonnet-4.5"
}Response
A short-lived lease and the proxy to present it to.
Changes
Changed in 1 of the 122 revisions of this API.1
- ○
endpoint added
endpoint-added
- ○