{
"error": {
"message": "Insufficient balance: deploying this endpoint requires at least 1h of runway. Top up and try again.",
"type": "insufficient_quota",
"code": "insufficient_balance"
}
}
Register the certified reward for YOUR trainer. The reward is validated first (calibrated, non-drift-flagged, population-bound judges — refused with the reason otherwise), the budget is held in the wallet, and the response carries every judge’s signed certificate so the trainer holds the grader’s error rate before the first rollout is scored. Optional anchor: an independent judge the run is checked against mid-run (POST …/anchor). Requires an owner/admin key with platform:write. errorbar never runs the training — that is what makes the certificate independent.
{
"error": {
"message": "Insufficient balance: deploying this endpoint requires at least 1h of runway. Top up and try again.",
"type": "insufficient_quota",
"code": "insufficient_balance"
}
}
One signed judge certificate per reward criterion (see GET /v1/criteria/{id}/certificate): sensitivity, specificity, κ with intervals, trust, what voids it.
Tasks stored on the session (0 when the trainer keeps its own).
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"errorbar","colors":{"primary":"#3f7d39","light":"#3bd495","dark":"#2f5e2a"},"logo":{"light":"https://mintcdn.com/omnia-9828cd09/dR-r1msnM4tGAtp4/logo/light.svg?fit=max\u0026auto=format\u0026n=dR-r1msnM4tGAtp4\u0026q=85\u0026s=0a8e72505cf8b9297d6df70ae03e61f1","dark":"https://mintcdn.com/omnia-9828cd09/dR-r1msnM4tGAtp4/logo/dark.svg?fit=max\u0026auto=format\u0026n=dR-r1msnM4tGAtp4\u0026q=85\u0026s=f68c0d824584773dfd066ad0a450f930"},"favicon":"https://mintcdn.com/omnia-9828cd09/dR-r1msnM4tGAtp4/favicon.svg?fit=max\u0026auto=format\u0026n=dR-r1msnM4tGAtp4\u0026q=85\u0026s=cb75d200c189cf8c0f5c83af1e8bb3b3","navbar":{"links":[{"href":"https://www.errorbar.ai/sign-up","label":"Sign up"}]},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"omnia-9828cd09","hasAudioNarration":false,"actualSubdomain":"omnia-9828cd09","customDomains":["docs.errorbar.ai"],"gitSource":{"type":"github","owner":"matiyas-h","repo":"omnia-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"collectionId":"b1fec96f-b9e8-4f8d-8036-90b4f2784b52","liveDeploymentHistoryId":"6aa66951a2a95f72566e8b62","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aa66951a2a95f72566e8b62"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6aa66951a2a95f72566e8b62","clientVersion":"0.0.3965","searchFilterCounts":[{"language":"default","tag":"API Reference","count":99},{"language":"default","tag":"Documentation","count":53},{"language":"default","tag":"Judges (criteria) API","count":16},{"language":"default","tag":"Evals API","count":13},{"language":"default","tag":"Platform","count":12},{"language":"default","tag":"Run at scale","count":11},{"language":"default","tag":"Certified reward API","count":10},{"language":"default","tag":"Improve","count":9},{"language":"default","tag":"Reinforcement learning API","count":9},{"language":"default","tag":"Fine-tuning API","count":8}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/certified-reward/create-a-reward-session","slug":"/api-reference/certified-reward/create-a-reward-session","pageMetadata":{"title":"Create a reward session","description":"Register the certified reward for YOUR trainer. The reward is validated first (calibrated, non-drift-flagged, population-bound judges — refused with the reason otherwise), the budget is held in the wallet, and the response carries every judge's signed certificate so the trainer holds the grader's error rate before the first rollout is scored. Optional `anchor`: an independent judge the run is checked against mid-run (POST …/anchor). Requires an owner/admin key with platform:write. errorbar never runs the training — that is what makes the certificate independent.","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/reward/sessions","href":"/api-reference/certified-reward/create-a-reward-session","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Register the certified reward for YOUR trainer. The reward is validated first (calibrated, non-drift-flagged, population-bound judges — refused with the reason otherwise), the budget is held in the wallet, and the response carries every judge’s signed certificate so the trainer holds the grader’s error rate before the first rollout is scored. Optional \", _jsx(_components.code, {\n children: \"anchor\"\n }), \": an independent judge the run is checked against mid-run (POST …/anchor). Requires an owner/admin key with platform:write. errorbar never runs the training — that is what makes the certificate independent.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create a reward session","description":"Register the certified reward for YOUR trainer. The reward is validated first (calibrated, non-drift-flagged, population-bound judges — refused with the reason otherwise), the budget is held in the wallet, and the response carries every judge's signed certificate so the trainer holds the grader's error rate before the first rollout is scored. Optional `anchor`: an independent judge the run is checked against mid-run (POST …/anchor). Requires an owner/admin key with platform:write. errorbar never runs the training — that is what makes the certificate independent.","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/reward/sessions","href":"/api-reference/certified-reward/create-a-reward-session","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Certified reward"],"summary":"Create a reward session","description":"Register the certified reward for YOUR trainer. The reward is validated first (calibrated, non-drift-flagged, population-bound judges — refused with the reason otherwise), the budget is held in the wallet, and the response carries every judge's signed certificate so the trainer holds the grader's error rate before the first rollout is scored. Optional `anchor`: an independent judge the run is checked against mid-run (POST …/anchor). Requires an owner/admin key with platform:write. errorbar never runs the training — that is what makes the certificate independent.","operationId":"createRewardSession","requestBody":"f09cfeb9-410d-43b5-aaf8-6dbb11f48bfa","responses":{"201":"f6934880-e308-4675-8e5d-3ca5dc81e67f","400":"bb16c0da-1da8-4103-ac7c-04b1b0dd0142","401":"aea0e86e-0e84-4219-9c0e-fdedd3c5e761","402":"b0ccd4e6-fc95-4996-850a-93e3f2c9cdc1","403":"5067a36a-6b4f-4a22-8327-312a4586d912"},"method":"post","type":"path","servers":["7225afda-fbb9-43d7-bb56-160196b3872f","a0fa1f4b-c484-4da1-9eb0-0d3cf3ec20d1"],"security":["d7249d09-10f7-465d-b688-3db83ef725e0"],"path":"/v1/reward/sessions","baseUrlOptions":["https://gateway.errorbar.ai","https://www.errorbar.ai/api"],"title":"Create a reward session","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["reward","rewardBudgetUsd"],"properties":{"reward":{"oneOf":[{"type":"object","required":["mode","criterionId"],"properties":{"mode":{"type":"string","enum":["single"],"isRequired":true,"uniqueKey":"reward.oneOf.0.mode","typeLabel":"enum\u003cstring>"},"criterionId":{"type":"string","description":"A calibrated judge (TPR and TNR ≥ 0.9, not drift-flagged).","isRequired":true,"uniqueKey":"reward.oneOf.0.criterionId","typeLabel":"string"}},"isRequired":true,"uniqueKey":"reward.oneOf.0","typeLabel":"object"},{"type":"object","required":["mode","criterionIds"],"properties":{"mode":{"type":"string","enum":["compositional"],"isRequired":true,"uniqueKey":"reward.oneOf.1.mode","typeLabel":"enum\u003cstring>"},"criterionIds":{"type":"array","items":{"type":"string","uniqueKey":"reward.oneOf.1.criterionIds.items.[INDEX]","typeLabel":"string"},"minItems":2,"description":"Two or more calibrated judges (each ≥ 0.75); the composite grade is their mean with any assertions.","isRequired":true,"uniqueKey":"reward.oneOf.1.criterionIds","typeLabel":"string[]"},"assertions":{"type":"array","items":{"type":"object","uniqueKey":"reward.oneOf.1.assertions.items.[INDEX]","typeLabel":"object"},"description":"Deterministic components (json_schema, regex_match, tool_called, exec …), 0/1 each.","uniqueKey":"reward.oneOf.1.assertions","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"reward.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"reward","typeLabel":"object"},"rewardBudgetUsd":{"type":"number","description":"Held in the wallet at creation; released on stop, expiry or exhaustion. Max 10000.","isRequired":true,"uniqueKey":"rewardBudgetUsd","typeLabel":"number"},"agentic":{"type":"boolean","default":false,"description":"Whole-trajectory rewards need trace-unit judges; single-turn rewards need request-unit ones.","uniqueKey":"agentic","typeLabel":"boolean"},"ttlHours":{"type":"number","default":72,"description":"Session expiry (max 720). Scoring past it is refused and the hold released.","uniqueKey":"ttlHours","typeLabel":"number"},"label":{"type":"string","maxLength":120,"uniqueKey":"label","typeLabel":"string"},"anchor":{"type":"object","properties":{"criterionId":{"type":"string","description":"An INDEPENDENT calibrated judge: a different criterion whose model or prompt differs from every reward judge, aligned ≥ 0.9, not drift-flagged, same unit.","isRequired":true,"uniqueKey":"anchor.criterionId","typeLabel":"string"}},"required":["criterionId"],"uniqueKey":"anchor","typeLabel":"object"},"tasks":{"type":"array","items":{"type":"object","required":["goal"],"properties":{"goal":{"type":"array","items":{"type":"object","properties":{"role":{"type":"string","uniqueKey":"tasks.items.[INDEX].goal.items.[INDEX].role","typeLabel":"string"},"content":{"type":"string","uniqueKey":"tasks.items.[INDEX].goal.items.[INDEX].content","typeLabel":"string"}},"uniqueKey":"tasks.items.[INDEX].goal.items.[INDEX]","typeLabel":"object"},"description":"The task as chat messages (1..50).","isRequired":true,"uniqueKey":"tasks.items.[INDEX].goal","typeLabel":"object[]"},"image":{"type":"string","description":"Optional sandbox image.","uniqueKey":"tasks.items.[INDEX].image","typeLabel":"string"},"verifier":{"type":"array","items":{"type":"object","properties":{"command":{"type":"string","uniqueKey":"tasks.items.[INDEX].verifier.items.[INDEX].command","typeLabel":"string"},"timeout_sec":{"type":"integer","uniqueKey":"tasks.items.[INDEX].verifier.items.[INDEX].timeout_sec","typeLabel":"integer"}},"uniqueKey":"tasks.items.[INDEX].verifier.items.[INDEX]","typeLabel":"object"},"description":"Per-task exec verifiers (≤ 8), run server-side as deterministic reward components.","uniqueKey":"tasks.items.[INDEX].verifier","typeLabel":"object[]"}},"uniqueKey":"tasks.items.[INDEX]","typeLabel":"object"},"description":"Optional taskset (≤ 2,000). Stored on the session so `GET /v1/reward/sessions/{id}/environment?format=tasks` hands back tasks.jsonl.","uniqueKey":"tasks","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"reward":{"mode":"single","criterionId":"\u003cstring>"},"rewardBudgetUsd":123,"agentic":false,"ttlHours":72,"label":"\u003cstring>","tasks":[{"goal":[{"role":"\u003cstring>","content":"\u003cstring>"}],"image":"\u003cstring>","verifier":[{"command":"\u003cstring>","timeout_sec":123}]}]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"f6934880-e308-4675-8e5d-3ca5dc81e67f":{"description":"Created, with certificates.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","uniqueKey":"id","typeLabel":"string"},"status":{"type":"string","enum":["ACTIVE","COMPLETED","OVERBUDGET","STOPPED","FAILED"],"description":"OVERBUDGET: the reward budget's kill switch fired. STOPPED: stopped by you or expired.","uniqueKey":"status","typeLabel":"enum\u003cstring>"},"agentic":{"type":"boolean","uniqueKey":"agentic","typeLabel":"boolean"},"reward":{"oneOf":[{"type":"object","required":["mode","criterionId"],"properties":{"mode":{"type":"string","enum":["single"],"isRequired":true,"uniqueKey":"reward.oneOf.0.mode","typeLabel":"enum\u003cstring>"},"criterionId":{"type":"string","description":"A calibrated judge (TPR and TNR ≥ 0.9, not drift-flagged).","isRequired":true,"uniqueKey":"reward.oneOf.0.criterionId","typeLabel":"string"}},"uniqueKey":"reward.oneOf.0","typeLabel":"object"},{"type":"object","required":["mode","criterionIds"],"properties":{"mode":{"type":"string","enum":["compositional"],"isRequired":true,"uniqueKey":"reward.oneOf.1.mode","typeLabel":"enum\u003cstring>"},"criterionIds":{"type":"array","items":{"type":"string","uniqueKey":"reward.oneOf.1.criterionIds.items.[INDEX]","typeLabel":"string"},"minItems":2,"description":"Two or more calibrated judges (each ≥ 0.75); the composite grade is their mean with any assertions.","isRequired":true,"uniqueKey":"reward.oneOf.1.criterionIds","typeLabel":"string[]"},"assertions":{"type":"array","items":{"type":"object","uniqueKey":"reward.oneOf.1.assertions.items.[INDEX]","typeLabel":"object"},"description":"Deterministic components (json_schema, regex_match, tool_called, exec …), 0/1 each.","uniqueKey":"reward.oneOf.1.assertions","typeLabel":"object[]"}},"uniqueKey":"reward.oneOf.1","typeLabel":"object"}],"uniqueKey":"reward","typeLabel":"object"},"label":{"oneOf":[{"type":"string","uniqueKey":"label.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"label.oneOf.1","typeLabel":"null"}],"uniqueKey":"label","typeLabel":"string | null"},"budget_usd":{"type":"number","uniqueKey":"budget_usd","typeLabel":"number"},"spent_usd":{"type":"number","description":"Ledger-true judge spend so far.","uniqueKey":"spent_usd","typeLabel":"number"},"expires_at":{"type":"string","format":"date-time","uniqueKey":"expires_at","typeLabel":"string\u003cdate-time>"},"created_at":{"type":"string","format":"date-time","uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"stopped_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"stopped_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"stopped_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"stopped_at","typeLabel":"string\u003cdate-time> | null"},"certificates":{"type":"array","items":{"type":"object","uniqueKey":"certificates.items.[INDEX]","typeLabel":"object"},"description":"One signed judge certificate per reward criterion (see GET /v1/criteria/{id}/certificate): sensitivity, specificity, κ with intervals, trust, what voids it.","uniqueKey":"certificates","typeLabel":"object[]"},"anchor":{"oneOf":[{"type":"object","properties":{"criterion_id":{"type":"string","uniqueKey":"anchor.oneOf.0.criterion_id","typeLabel":"string"},"criterion_name":{"type":"string","uniqueKey":"anchor.oneOf.0.criterion_name","typeLabel":"string"},"held":{"type":"boolean","uniqueKey":"anchor.oneOf.0.held","typeLabel":"boolean"},"held_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"anchor.oneOf.0.held_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"anchor.oneOf.0.held_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"anchor.oneOf.0.held_at","typeLabel":"string\u003cdate-time> | null"},"held_reason":{"oneOf":[{"type":"string","uniqueKey":"anchor.oneOf.0.held_reason.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"anchor.oneOf.0.held_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"anchor.oneOf.0.held_reason","typeLabel":"string | null"},"pinned_step":{"oneOf":[{"type":"string","description":"The step of the best anchor point — the checkpoint to ship.","uniqueKey":"anchor.oneOf.0.pinned_step.oneOf.0","typeLabel":"string"},{"type":"null","description":"The step of the best anchor point — the checkpoint to ship.","uniqueKey":"anchor.oneOf.0.pinned_step.oneOf.1","typeLabel":"null"}],"uniqueKey":"anchor.oneOf.0.pinned_step","typeLabel":"string | null"},"checks":{"type":"integer","uniqueKey":"anchor.oneOf.0.checks","typeLabel":"integer"},"history":{"type":"array","items":{"type":"object","properties":{"step":{"type":"string","uniqueKey":"anchor.oneOf.0.history.items.[INDEX].step","typeLabel":"string"},"at":{"type":"string","format":"date-time","uniqueKey":"anchor.oneOf.0.history.items.[INDEX].at","typeLabel":"string\u003cdate-time>"},"n":{"type":"integer","description":"Prompts both the reward and the anchor judge could grade.","uniqueKey":"anchor.oneOf.0.history.items.[INDEX].n","typeLabel":"integer"},"reward_rate":{"type":"number","description":"Mean composite grade under the session's reward on the anchor outputs — the signal being optimised.","uniqueKey":"anchor.oneOf.0.history.items.[INDEX].reward_rate","typeLabel":"number"},"anchor_rate":{"type":"number","description":"The independent anchor judge's pass rate, corrected for its measured error (Lang–Reiczigel) when the criterion carries report counts.","uniqueKey":"anchor.oneOf.0.history.items.[INDEX].anchor_rate","typeLabel":"number"},"anchor_ci":{"type":"array","items":{"type":"number","uniqueKey":"anchor.oneOf.0.history.items.[INDEX].anchor_ci.items.[INDEX]","typeLabel":"number"},"minItems":2,"maxItems":2,"uniqueKey":"anchor.oneOf.0.history.items.[INDEX].anchor_ci","typeLabel":"number[]"},"anchor_corrected":{"type":"boolean","uniqueKey":"anchor.oneOf.0.history.items.[INDEX].anchor_corrected","typeLabel":"boolean"},"masked":{"type":"integer","description":"Items the anchor judge could not parse — counted in neither rate.","uniqueKey":"anchor.oneOf.0.history.items.[INDEX].masked","typeLabel":"integer"},"gap_se":{"oneOf":[{"type":"number","description":"Paired standard error of the gap (reward grade − anchor verdict) over this check's items, stretched by the anchor's 1/(Se+Sp−1). The gap signature tests against 1.96·√(gap_se₀² + gap_seᵢ²), never less than 0.05. Absent on checks stored before it existed.","uniqueKey":"anchor.oneOf.0.history.items.[INDEX].gap_se.oneOf.0","typeLabel":"number"},{"type":"null","description":"Paired standard error of the gap (reward grade − anchor verdict) over this check's items, stretched by the anchor's 1/(Se+Sp−1). The gap signature tests against 1.96·√(gap_se₀² + gap_seᵢ²), never less than 0.05. Absent on checks stored before it existed.","uniqueKey":"anchor.oneOf.0.history.items.[INDEX].gap_se.oneOf.1","typeLabel":"null"}],"uniqueKey":"anchor.oneOf.0.history.items.[INDEX].gap_se","typeLabel":"number | null"}},"uniqueKey":"anchor.oneOf.0.history.items.[INDEX]","typeLabel":"object"},"description":"The last 20 checks.","uniqueKey":"anchor.oneOf.0.history","typeLabel":"object[]"}},"uniqueKey":"anchor.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"anchor.oneOf.1","typeLabel":"null"}],"uniqueKey":"anchor","typeLabel":"object | null"},"task_count":{"type":"integer","description":"Tasks stored on the session (0 when the trainer keeps its own).","uniqueKey":"task_count","typeLabel":"integer"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","status":"ACTIVE","agentic":true,"reward":{"mode":"single","criterionId":"\u003cstring>"},"label":"\u003cstring>","budget_usd":123,"spent_usd":123,"expires_at":"2023-11-07T05:31:56Z","created_at":"2023-11-07T05:31:56Z","stopped_at":"2023-11-07T05:31:56Z","certificates":[{}],"anchor":{"criterion_id":"\u003cstring>","criterion_name":"\u003cstring>","held":true,"held_at":"2023-11-07T05:31:56Z","held_reason":"\u003cstring>","pinned_step":"\u003cstring>","checks":123,"history":[{"step":"\u003cstring>","at":"2023-11-07T05:31:56Z","n":123,"reward_rate":123,"anchor_rate":123,"anchor_ci":[123],"anchor_corrected":true,"masked":123,"gap_se":123}]},"task_count":123}}},"exampleType":"generated"}},"exampleType":"generated"},"bb16c0da-1da8-4103-ac7c-04b1b0dd0142":{"description":"Malformed request or invalid field.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"type":{"type":"string","description":"invalid_request_error, insufficient_quota, rate_limit_error, or api_error.","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"code":{"type":"string","description":"Machine-stable cause, e.g. invalid_api_key, not_found, insufficient_permissions, precondition_failed.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"}},"required":["message","type","code"],"uniqueKey":"error","typeLabel":"object"}},"description":"Every refusal — gateway and management API alike — uses this one envelope.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"message":"\u003cstring>","type":"\u003cstring>","code":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"aea0e86e-0e84-4219-9c0e-fdedd3c5e761":{"description":"Missing, malformed, or revoked API key.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"type":{"type":"string","description":"invalid_request_error, insufficient_quota, rate_limit_error, or api_error.","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"code":{"type":"string","description":"Machine-stable cause, e.g. invalid_api_key, not_found, insufficient_permissions, precondition_failed.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"}},"required":["message","type","code"],"uniqueKey":"error","typeLabel":"object"}},"description":"Every refusal — gateway and management API alike — uses this one envelope.","uniqueKey":"","typeLabel":"object"},"example":{"error":{"message":"Invalid API key","type":"invalid_request_error","code":"invalid_api_key"}},"examples":{"Example":{"title":"Example","value":{"error":{"message":"Invalid API key","type":"invalid_request_error","code":"invalid_api_key"}}}},"exampleType":"examples"}},"exampleType":"examples"},"b0ccd4e6-fc95-4996-850a-93e3f2c9cdc1":{"description":"Your wallet can't cover the required prepaid runway.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"type":{"type":"string","description":"invalid_request_error, insufficient_quota, rate_limit_error, or api_error.","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"code":{"type":"string","description":"Machine-stable cause, e.g. invalid_api_key, not_found, insufficient_permissions, precondition_failed.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"}},"required":["message","type","code"],"uniqueKey":"error","typeLabel":"object"}},"description":"Every refusal — gateway and management API alike — uses this one envelope.","uniqueKey":"","typeLabel":"object"},"example":{"error":{"message":"Insufficient balance: deploying this endpoint requires at least 1h of runway. Top up and try again.","type":"insufficient_quota","code":"insufficient_balance"}},"examples":{"Example":{"title":"Example","value":{"error":{"message":"Insufficient balance: deploying this endpoint requires at least 1h of runway. Top up and try again.","type":"insufficient_quota","code":"insufficient_balance"}}}},"exampleType":"examples"}},"exampleType":"examples"},"5067a36a-6b4f-4a22-8327-312a4586d912":{"description":"The key lacks the required owner/admin permission.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"type":{"type":"string","description":"invalid_request_error, insufficient_quota, rate_limit_error, or api_error.","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"code":{"type":"string","description":"Machine-stable cause, e.g. invalid_api_key, not_found, insufficient_permissions, precondition_failed.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"}},"required":["message","type","code"],"uniqueKey":"error","typeLabel":"object"}},"description":"Every refusal — gateway and management API alike — uses this one envelope.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"message":"\u003cstring>","type":"\u003cstring>","code":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"d7249d09-10f7-465d-b688-3db83ef725e0":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Your workspace API key, e.g. `sk_sovereign_...`, sent as `Authorization: Bearer \u003ckey>`.","scopes":[]}}},"servers":{"7225afda-fbb9-43d7-bb56-160196b3872f":{"url":"https://gateway.errorbar.ai","description":"Production"},"a0fa1f4b-c484-4da1-9eb0-0d3cf3ec20d1":{"url":"https://www.errorbar.ai/api","description":"Control plane (also served at this base URL)"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Your workspace API key, e.g. `sk_sovereign_...`, sent as `Authorization: Bearer \u003ckey>`.","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Your workspace API key, e.g. `sk_sovereign_...`, sent as `Authorization: Bearer \u003ckey>`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"omnia-9828cd09","siteName":"errorbar","title":"Create a reward session - errorbar","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-13T09:14:07.047Z","originalFileLocation":"api-reference/certified-reward/create-a-reward-session.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Register the certified reward for YOUR trainer. The reward is validated first (calibrated, non-drift-flagged, population-bound judges — refused with the reason otherwise), the budget is held in the wallet, and the response carries every judge\u0026#x27;s signed certificate so the trainer holds the grader\u0026#x27;s error rate before the first rollout is scored. Optional anchor: an independent judge the run is checked against mid-run (POST …/anchor). Requires an owner/admin key with platform:write. errorbar never runs the training — that is what makes the certificate independent.\">\u003cmeta data-mint-head name=\"application-name\" content=\"errorbar\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/omnia-9828cd09/ubKwIdVYRFtlXDaF/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/omnia-9828cd09/ubKwIdVYRFtlXDaF/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/omnia-9828cd09/ubKwIdVYRFtlXDaF/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/omnia-9828cd09/ubKwIdVYRFtlXDaF/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/omnia-9828cd09/ubKwIdVYRFtlXDaF/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/omnia-9828cd09/ubKwIdVYRFtlXDaF/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/omnia-9828cd09/ubKwIdVYRFtlXDaF/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/omnia-9828cd09/ubKwIdVYRFtlXDaF/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/omnia-9828cd09/ubKwIdVYRFtlXDaF/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a reward session - errorbar\">\u003cmeta data-mint-head property=\"og:description\" content=\"Register the certified reward for YOUR trainer. The reward is validated first (calibrated, non-drift-flagged, population-bound judges — refused with the reason otherwise), the budget is held in the wallet, and the response carries every judge\u0026#x27;s signed certificate so the trainer holds the grader\u0026#x27;s error rate before the first rollout is scored. Optional anchor: an independent judge the run is checked against mid-run (POST …/anchor). Requires an owner/admin key with platform:write. errorbar never runs the training — that is what makes the certificate independent.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"errorbar\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.errorbar.ai/api-reference/certified-reward/create-a-reward-session\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://omnia-9828cd09.mintlify.app/_mintlify/api/og/v2?division=Certified+reward+API\u0026amp;title=Create+a+reward+session\u0026amp;description=Register+the+certified+reward+for+YOUR+trainer.+The+reward+is+validated+first+%28calibrated%2C+non-drift-flagged%2C+population-bound+judges+%E2%80%94+refused+with+the+reason+\u0026amp;theme=4890a253571116e8d6e1ff75\u0026amp;signature=861a2f1b4aa587afd484f8bdc94bc5a999e66fadbb0ec141d0b19fd6f68488f2\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create a reward session - errorbar\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Register the certified reward for YOUR trainer. The reward is validated first (calibrated, non-drift-flagged, population-bound judges — refused with the reason otherwise), the budget is held in the wallet, and the response carries every judge\u0026#x27;s signed certificate so the trainer holds the grader\u0026#x27;s error rate before the first rollout is scored. Optional anchor: an independent judge the run is checked against mid-run (POST …/anchor). Requires an owner/admin key with platform:write. errorbar never runs the training — that is what makes the certificate independent.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://omnia-9828cd09.mintlify.app/_mintlify/api/og/v2?division=Certified+reward+API\u0026amp;title=Create+a+reward+session\u0026amp;description=Register+the+certified+reward+for+YOUR+trainer.+The+reward+is+validated+first+%28calibrated%2C+non-drift-flagged%2C+population-bound+judges+%E2%80%94+refused+with+the+reason+\u0026amp;theme=4890a253571116e8d6e1ff75\u0026amp;signature=861a2f1b4aa587afd484f8bdc94bc5a999e66fadbb0ec141d0b19fd6f68488f2\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/omnia-9828cd09/ubKwIdVYRFtlXDaF/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"errorbar\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3f7d39\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.errorbar.ai/api-reference/certified-reward/create-a-reward-session\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/certified-reward/create-a-reward-session.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.errorbar.ai/#organization\",\"name\":\"errorbar\",\"url\":\"https://docs.errorbar.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/omnia-9828cd09/dR-r1msnM4tGAtp4/logo/light.svg?fit=max\u0026auto=format\u0026n=dR-r1msnM4tGAtp4\u0026q=85\u0026s=0a8e72505cf8b9297d6df70ae03e61f1\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.errorbar.ai#website\",\"name\":\"errorbar\",\"url\":\"https://docs.errorbar.ai\",\"publisher\":{\"@id\":\"https://docs.errorbar.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.errorbar.ai/api-reference/certified-reward/create-a-reward-session#webpage\",\"url\":\"https://docs.errorbar.ai/api-reference/certified-reward/create-a-reward-session\",\"name\":\"Create a reward session\",\"description\":\"Register the certified reward for YOUR trainer. The reward is validated first (calibrated, non-drift-flagged, population-bound judges — refused with the reason otherwise), the budget is held in the wallet, and the response carries every judge's signed certificate so the trainer holds the grader's error rate before the first rollout is scored. Optional anchor: an independent judge the run is checked against mid-run (POST …/anchor). Requires an owner/admin key with platform:write. errorbar never runs the training — that is what makes the certificate independent.\",\"dateModified\":\"2026-09-13T09:14:07.047Z\",\"isPartOf\":{\"@id\":\"https://docs.errorbar.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.errorbar.ai/api-reference/certified-reward/create-a-reward-session#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.errorbar.ai/api-reference/certified-reward/create-a-reward-session#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"errorbar\",\"item\":\"https://docs.errorbar.ai\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a reward session\",\"item\":\"https://docs.errorbar.ai/api-reference/certified-reward/create-a-reward-session\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.errorbar.ai/api-reference/certified-reward/create-a-reward-session#apireference\",\"headline\":\"Create a reward session\",\"name\":\"Create a reward session\",\"description\":\"Register the certified reward for YOUR trainer. The reward is validated first (calibrated, non-drift-flagged, population-bound judges — refused with the reason otherwise), the budget is held in the wallet, and the response carries every judge's signed certificate so the trainer holds the grader's error rate before the first rollout is scored. Optional anchor: an independent judge the run is checked against mid-run (POST …/anchor). Requires an owner/admin key with platform:write. errorbar never runs the training — that is what makes the certificate independent.\",\"url\":\"https://docs.errorbar.ai/api-reference/certified-reward/create-a-reward-session\",\"mainEntityOfPage\":{\"@id\":\"https://docs.errorbar.ai/api-reference/certified-reward/create-a-reward-session#webpage\"},\"dateModified\":\"2026-09-13T09:14:07.047Z\",\"publisher\":{\"@id\":\"https://docs.errorbar.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.errorbar.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"errorbar\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"errorbar","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"SDKs","pages":[{"title":"SDKs","href":"/sdks/overview"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"API overview","href":"/api-reference/introduction"}]},{"group":"Inference API","pages":[{"title":"Create chat completion","deprecated":null,"version":null,"openapi":"/openapi-inference.json post /chat/completions","href":"/api-reference/chat/create-chat-completion"},{"title":"Create embeddings","deprecated":null,"version":null,"openapi":"/openapi-inference.json post /embeddings","href":"/api-reference/embeddings/create-embeddings"},{"title":"Rerank documents","deprecated":null,"version":null,"openapi":"/openapi-inference.json post /rerank","href":"/api-reference/rerank/rerank-documents"},{"title":"Create a response","deprecated":null,"version":null,"openapi":"/openapi-inference.json post /responses","href":"/api-reference/responses/create-a-response"},{"title":"List models","deprecated":null,"version":null,"openapi":"/openapi-inference.json get /models","href":"/api-reference/models/list-models"}]},{"group":"Capture \u0026 setup API","pages":[{"title":"OTLP trace ingest","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/traces","href":"/api-reference/otlp-trace-ingest"},{"title":"Setup status","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/setup/status","href":"/api-reference/setup-status"}]},{"group":"Logs \u0026 datasets API","pages":[{"title":"List logged exchanges","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/logs","href":"/api-reference/logs/list-logged-exchanges"},{"title":"Export logged exchanges as JSONL","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/logs/export","href":"/api-reference/logs/export-logged-exchanges-as-jsonl"},{"title":"Import graded traffic","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/logs/import","href":"/api-reference/logs/import-graded-traffic"},{"title":"Get an agent run / grouped conversation","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/traces/{trace_id}","href":"/api-reference/get-an-agent-run-grouped-conversation"},{"title":"Create a dataset from logs","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/datasets/from_logs","href":"/api-reference/logs/create-a-dataset-from-logs"},{"title":"Check texts for benchmark contamination","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/datasets/decontaminate","href":"/api-reference/logs/check-texts-for-benchmark-contamination"}]},{"group":"Grades (labels) API","pages":[{"title":"List trace labels","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/labels","href":"/api-reference/labels/list-trace-labels"},{"title":"Label a trace","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/labels","href":"/api-reference/labels/label-a-trace"},{"title":"List label sets","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/label_sets","href":"/api-reference/labels/list-label-sets"},{"title":"Create a label set","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/label_sets","href":"/api-reference/labels/create-a-label-set"},{"title":"Attach a label set","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/label_sets/{id}/attach","href":"/api-reference/labels/attach-a-label-set"},{"title":"Freeze a label set","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/label_sets/{id}/freeze","href":"/api-reference/labels/freeze-a-label-set"}]},{"group":"Judges (criteria) API","pages":[{"title":"List criteria","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/criteria","href":"/api-reference/criteria/list-criteria"},{"title":"Create a criterion","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/criteria","href":"/api-reference/criteria/create-a-criterion"},{"title":"List criterion templates","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/criteria/templates","href":"/api-reference/list-criterion-templates"},{"title":"Get a criterion","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/criteria/{id}","href":"/api-reference/get-a-criterion"},{"title":"Update a criterion","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/criteria/{id}","href":"/api-reference/update-a-criterion"},{"title":"Delete a criterion","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/criteria/{id}","href":"/api-reference/delete-a-criterion"},{"title":"Align a criterion against your labels","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/criteria/{id}/align","href":"/api-reference/criteria/align-a-criterion-against-your-labels"},{"title":"Get the persistent alignment report","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/criteria/{id}/alignment","href":"/api-reference/get-the-persistent-alignment-report"},{"title":"Scan unlabeled traffic for suspected failures","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/criteria/{id}/scan","href":"/api-reference/criteria/scan-unlabeled-traffic-for-suspected-failures"},{"title":"Suggest judges from your failure critiques","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/criteria/suggest","href":"/api-reference/criteria/suggest-judges-from-your-failure-critiques"},{"title":"Run one auto-improve iteration on a judge","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/criteria/{id}/auto_improve","href":"/api-reference/criteria/run-one-auto-improve-iteration-on-a-judge"},{"title":"Get a calibration certificate","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/criteria/{id}/certificate","href":"/api-reference/criteria/get-a-calibration-certificate"},{"title":"The certificate before and after adjudication","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/criteria/{id}/adjudication","href":"/api-reference/judges/the-certificate-before-and-after-adjudication"},{"title":"Adjudicate a judge/human disagreement","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/labels/{id}/adjudicate","href":"/api-reference/judges/adjudicate-a-judgehuman-disagreement"},{"title":"Get judge settings","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/settings/judge","href":"/api-reference/criteria/get-judge-settings"},{"title":"Update judge settings","deprecated":null,"version":null,"openapi":"/openapi.json put /v1/settings/judge","href":"/api-reference/criteria/update-judge-settings"}]},{"group":"Evals API","pages":[{"title":"List eval runs","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/evals","href":"/api-reference/evals/list-eval-runs"},{"title":"Queue an eval run","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/evals","href":"/api-reference/evals/queue-an-eval-run"},{"title":"Get an eval run","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/evals/{id}","href":"/api-reference/evals/get-an-eval-run"},{"title":"Delete an eval run","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/evals/{id}","href":"/api-reference/evals/delete-an-eval-run"},{"title":"Cancel an eval run","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/evals/{id}/cancel","href":"/api-reference/evals/cancel-an-eval-run"},{"title":"Get an eval run's test cases","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/evals/{id}/samples","href":"/api-reference/evals/get-an-eval-runs-test-cases"},{"title":"Gate a deploy on an eval run","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/evals/{id}/gate","href":"/api-reference/evals/gate-a-deploy-on-an-eval-run"},{"title":"Compare two eval runs","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/evals/compare","href":"/api-reference/evals/compare-two-eval-runs"},{"title":"List failure clusters","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/evals/failure_clusters","href":"/api-reference/evals/list-failure-clusters"},{"title":"Get an evidence bundle","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/evals/{id}/evidence","href":"/api-reference/evals/get-an-evidence-bundle"},{"title":"List registered endpoints","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/endpoints","href":"/api-reference/evals/list-registered-endpoints"},{"title":"Register an endpoint","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/endpoints","href":"/api-reference/evals/register-an-endpoint"},{"title":"Remove an endpoint","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/endpoints/{id}","href":"/api-reference/evals/remove-an-endpoint"}]},{"group":"Alerts API","pages":[{"title":"List fired alerts","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/alerts","href":"/api-reference/alerts/list-fired-alerts"}]},{"group":"Fine-tuning API","pages":[{"title":"List training files","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/fine_tuning/files","href":"/api-reference/fine-tuning/list-training-files"},{"title":"Upload training file","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/fine_tuning/files","href":"/api-reference/fine-tuning/upload-training-file"},{"title":"List fine-tuning jobs","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/fine_tuning/jobs","href":"/api-reference/fine-tuning/list-fine-tuning-jobs"},{"title":"Create fine-tuning job","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/fine_tuning/jobs","href":"/api-reference/fine-tuning/create-fine-tuning-job"},{"title":"Get fine-tuning job","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/fine_tuning/jobs/{id}","href":"/api-reference/fine-tuning/get-fine-tuning-job"},{"title":"Cancel fine-tuning job","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/fine_tuning/jobs/{id}","href":"/api-reference/fine-tuning/cancel-fine-tuning-job"},{"title":"Start a bake-off","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/fine_tuning/jobs/{id}/bakeoff","href":"/api-reference/fine-tuning/start-a-bake-off"},{"title":"Get bake-off state","description":"The comparison's state, verdict, and ledger-true spend. status none means no bake-off has been started for this job.","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/fine_tuning/jobs/{id}/bakeoff","href":"/api-reference/fine-tuning/get-bake-off-state"}]},{"group":"Certified reward API","pages":[{"title":"Create a reward session","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/reward/sessions","href":"/api-reference/certified-reward/create-a-reward-session"},{"title":"List reward sessions","description":null,"deprecated":null,"version":null,"openapi":"/openapi.json get /v1/reward/sessions","href":"/api-reference/certified-reward/list-reward-sessions"},{"title":"Get a reward session","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/reward/sessions/{id}","href":"/api-reference/certified-reward/get-a-reward-session"},{"title":"Stop a reward session","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/reward/sessions/{id}","href":"/api-reference/certified-reward/stop-a-reward-session"},{"title":"Score a rollout group","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/reward/score","href":"/api-reference/certified-reward/score-a-rollout-group"},{"title":"Mid-run anchor check","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/reward/sessions/{id}/anchor","href":"/api-reference/certified-reward/mid-run-anchor-check"},{"title":"The anchor report","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/reward/sessions/{id}/anchor","href":"/api-reference/certified-reward/the-anchor-report"},{"title":"Resume a held session","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/reward/sessions/{id}/resume","href":"/api-reference/certified-reward/resume-a-held-session"},{"title":"Export the graded trajectories","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/reward/sessions/{id}/export","href":"/api-reference/certified-reward/export-the-graded-trajectories"},{"title":"Export the environment bundle","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/reward/sessions/{id}/environment","href":"/api-reference/certified-reward/export-the-environment-bundle"}]},{"group":"Reinforcement learning API","pages":[{"title":"List GRPO runs","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/grpo/runs","href":"/api-reference/reinforcement-learning/list-grpo-runs"},{"title":"Start a GRPO run","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/grpo/runs","href":"/api-reference/reinforcement-learning/start-a-grpo-run"},{"title":"Get a GRPO run","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/grpo/runs/{id}","href":"/api-reference/reinforcement-learning/get-a-grpo-run"},{"title":"Stop a GRPO run","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/grpo/runs/{id}/stop","href":"/api-reference/reinforcement-learning/stop-a-grpo-run"},{"title":"Download trained adapter weights","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/grpo/runs/{id}/weights","href":"/api-reference/reinforcement-learning/download-trained-adapter-weights"},{"title":"List RAFT rounds","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/raft/rounds","href":"/api-reference/reinforcement-learning/list-raft-rounds"},{"title":"List declared agent tools","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/env/tools","href":"/api-reference/reinforcement-learning/list-declared-agent-tools"},{"title":"Register or update a tool","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/env/tools","href":"/api-reference/reinforcement-learning/register-or-update-a-tool"},{"title":"Revoke a tool registration","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/env/tools/{id}","href":"/api-reference/reinforcement-learning/revoke-a-tool-registration"}]},{"group":"Dedicated endpoints API","pages":[{"title":"List dedicated endpoints","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/dedicated","href":"/api-reference/dedicated-endpoints/list-dedicated-endpoints"},{"title":"List deploy templates","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/dedicated/templates","href":"/api-reference/dedicated-endpoints/list-deploy-templates"},{"title":"Create dedicated endpoint","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/dedicated","href":"/api-reference/dedicated-endpoints/create-dedicated-endpoint"},{"title":"Get dedicated endpoint","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/dedicated/{id}","href":"/api-reference/dedicated-endpoints/get-dedicated-endpoint"},{"title":"Update dedicated endpoint","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/dedicated/{id}","href":"/api-reference/dedicated-endpoints/update-dedicated-endpoint"},{"title":"Delete dedicated endpoint","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/dedicated/{id}","href":"/api-reference/dedicated-endpoints/delete-dedicated-endpoint"}]},{"group":"Batches API","pages":[{"title":"List batches","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/batches","href":"/api-reference/batches/list-batches"},{"title":"Create a batch","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/batches","href":"/api-reference/batches/create-a-batch"},{"title":"Retrieve a batch","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/batches/{id}","href":"/api-reference/batches/retrieve-a-batch"},{"title":"Cancel a batch","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/batches/{id}/cancel","href":"/api-reference/batches/cancel-a-batch"}]},{"group":"Model aliases API","pages":[{"title":"List aliases","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/aliases","href":"/api-reference/model-aliases/list-aliases"},{"title":"Create or repoint an alias","deprecated":null,"version":null,"openapi":"/openapi.json put /v1/aliases","href":"/api-reference/model-aliases/create-or-repoint-an-alias"},{"title":"Delete an alias","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/aliases/{id}","href":"/api-reference/model-aliases/delete-an-alias"}]},{"group":"Model versions API","pages":[{"title":"List model versions","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/model_versions","href":"/api-reference/list-model-versions"},{"title":"Get a model version","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/model_versions/{id}","href":"/api-reference/get-a-model-version"},{"title":"Adopt a model version (or roll back)","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/model_versions/{id}/adopt","href":"/api-reference/model-versions/adopt-a-model-version-or-roll-back"}]},{"group":"Audit \u0026 proving API","pages":[{"title":"Export the audit log","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/audit/export","href":"/api-reference/audit-\u0026-proving/export-the-audit-log"},{"title":"Verify the audit chain","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/audit/verify","href":"/api-reference/audit-\u0026-proving/verify-the-audit-chain"},{"title":"List deletion tombstones","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/audit/tombstones","href":"/api-reference/audit-\u0026-proving/list-deletion-tombstones"},{"title":"Record a deletion tombstone","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/audit/tombstones","href":"/api-reference/audit-\u0026-proving/record-a-deletion-tombstone"},{"title":"List enforcement refusals","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/enforcement/refusals","href":"/api-reference/audit-\u0026-proving/list-enforcement-refusals"},{"title":"Verify a signed document","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/verify","href":"/api-reference/audit-\u0026-proving/verify-a-signed-document"}]}]}]},"title":"Create a reward session - errorbar","buildId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","deploymentId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-Bbp7I60D.js","utils-C3RIvJha.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DqD-vLt8.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B31Loprg.js","snippetPresets-DKpk-b8t.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Cj65AhOR.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BXtn5gcC.js","shallow-RY2b03Cp.js","getApiPlaygroundDisplay-B0jeiPk3.js","CodeSnippet-CYgBjjwn.js","CodeSnippets-DOngDrYB.js","Page-n7I5XbKb.js","getPastedJson-DRQbJx-T.js","icon-CQiQCicY.js","MethodPill-BKTLdNtu.js","DuplicateIcon-B9jpAdat.js","createIcon-DCddRrXv.js","DynamicMarkdown-a8hUKrw6.js","SectionHeading-eECVV2eH.js","axios-vUo_bRtp.js","Markdown--GF7ZIpf.js","clsx-DZLdJUrt.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-2LoAhjKH.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Zwc0ZncM.js"]}