The rows a job's dataset takes, in one of two modes, as a dataset upload: row_indices,
whose sides the split picks at evaluation_fraction, or training_indices and
evaluation_indices, whose rows take the side of their list.
The most you agree to pay for its first day of storage, which a dataset above the free size holds, in USD, such as the price you were shown. It is a decimal string, such as "2.500000000", never a JSON number, so no precision is lost: a number is refused with invalid_request, naming this field. If it costs more when it is admitted, it is refused with price_changed and nothing is held.
When work last started on it: a fine-tune, an evaluation or prompt tuning, or the labelling job that made it. Adding rows doesn't count. Null until then.
What prompt tuning can tune in the training partition, counted when the dataset was made or grew, with the reasons the counts give worked out under the limits in force when it is read. Datasets of outcome scores have none.
The day of storage held now, at the price it was accepted at, or null. Archiving or deleting it charges the minutes used of it; later days are priced as they start.
{"docsConfig":{"theme":"sequoia","$schema":"https://mintlify.com/docs.json","name":"OneHot","description":"Decisions your application can act on. Build, evaluate and improve with OneHot.","colors":{"primary":"#555555","light":"#B0B0B0","dark":"#555555"},"logo":"https://mintcdn.com/sqwishai/DckT8DnfX584QrKL/images/sqwish.png?fit=max\u0026auto=format\u0026n=DckT8DnfX584QrKL\u0026q=85\u0026s=bc446299f18ab06437c9fc4cd723c188","favicon":"https://mintcdn.com/sqwishai/kKumWj08JcS35zZs/images/favicon.png?fit=max\u0026auto=format\u0026n=kKumWj08JcS35zZs\u0026q=85\u0026s=6276444493fc860ed9af71a1ec903f60","api":{"playground":{"display":"interactive","proxy":true},"examples":{"languages":["bash","python","javascript"]}},"appearance":{"default":"dark"},"background":{"color":{"light":"#FCFAF8","dark":"#1E1E1E"}},"navbar":{"primary":{"type":"button","label":"Open console","href":"https://console.sqwish.ai"}},"integrations":{"telemetry":{"enabled":false}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"llms.txt","icon":"file-lines","href":"https://api.sqwish.ai/llms.txt"},{"anchor":"openapi.json","icon":"file-code","href":"https://api.sqwish.ai/openapi.json"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"sqwishai","hasAudioNarration":false,"actualSubdomain":"sqwishai","customDomains":["docs.sqwish.ai"],"gitSource":{"type":"github","owner":"sqwishai","repo":"decisionone-workbench","deployBranch":"main","contentDirectory":"docs/public","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6af1b2ecdf3e9cabb27be7de","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"API Reference","count":79},{"language":"default","tag":"Documentation","count":22},{"language":"default","tag":"Labelling","count":12},{"language":"default","tag":"Examples","count":11},{"language":"default","tag":"Datasets","count":11},{"language":"default","tag":"Families","count":10},{"language":"default","tag":"Account and API","count":8},{"language":"default","tag":"Decisions","count":7},{"language":"default","tag":"Models","count":7},{"language":"default","tag":"Build with OneHot","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","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":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","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":"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":"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":"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":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","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":"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":"workos-sso-scim","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},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":"@font-face{font-family:\"Chesna Grotesk\";src:url(\"/fonts/chesna-grotesk-400.woff2\") format(\"woff2\");font-weight:400;font-style:normal;font-display:swap;size-adjust:105.5%}@font-face{font-family:\"Chesna Grotesk\";src:url(\"/fonts/chesna-grotesk-500.woff2\") format(\"woff2\");font-weight:500;font-style:normal;font-display:swap;size-adjust:105.5%}@font-face{font-family:\"Chesna Grotesk\";src:url(\"/fonts/chesna-grotesk-600.woff2\") format(\"woff2\");font-weight:600;font-style:normal;font-display:swap;size-adjust:105.5%}html{--font-family-body-custom: \"Chesna Grotesk\", sans-serif;--font-family-headings-custom: \"Chesna Grotesk\", sans-serif;--sqwish-accent-light: 168 54 127;--sqwish-accent-dark: 240 138 204;--sqwish-chase-docs: 168 54 127;--sqwish-chase-api: 41 118 81;--sqwish-chase-examples: 138 90 0;--sqwish-accent: var(--sqwish-accent-light);--sqwish-pink-ink: 168 54 127;--sqwish-page: 252 250 248;--sqwish-sunk: 247 246 242;--sqwish-sunk-2: 243 241 237;--sqwish-surface: var(--sqwish-page);--sqwish-border: 223 223 223;--sqwish-text: 30 30 30;--sqwish-muted: 99 99 99;--sqwish-sidebar-label-opacity: 0.7;--sqwish-topbar-height: 3.5rem;--mintlify-slot-header-height: calc(var(--sqwish-topbar-height) + 3.5rem)}html.dark{--sqwish-accent: var(--sqwish-accent-dark);--sqwish-chase-docs: 240 138 204;--sqwish-chase-api: 0 210 126;--sqwish-chase-examples: 245 167 50;--sqwish-pink-ink: 240 138 204;--sqwish-page: 30 30 30;--sqwish-sunk: 38 38 38;--sqwish-sunk-2: 47 47 47;--sqwish-surface: var(--sqwish-page);background-color:#1e1e1e;--sqwish-border: 56 56 56;--sqwish-text: 240 240 240;--sqwish-muted: 174 174 174;--sqwish-sidebar-label-opacity: 0.58}html[data-current-path^=\"/api-reference/\"]{--sqwish-accent-light: 41 118 81;--sqwish-accent-dark: 0 210 126}html[data-current-path^=\"/examples/\"]{--sqwish-accent-light: 138 90 0;--sqwish-accent-dark: 245 167 50}#navbar>div>div:has(.nav-logo){height:var(--sqwish-topbar-height)}#navbar>div>div:has(.nav-tabs,>button){background-color:rgb(var(--sqwish-surface))}.nav-tabs{background-color:transparent}.nav-tabs-item[data-active=\"true\"]{color:rgb(var(--sqwish-text))}:is(.nav-tabs-item,.mobile-nav-tabs-item):is([href=\"/introduction\"],[href^=\"/api-reference/\"],[href^=\"/examples/\"]){align-self:stretch;margin:0;padding-inline:0.85rem;border:0;border-radius:0;background-color:transparent;color:rgb(var(--sqwish-muted))}:is(.nav-tabs-item,.mobile-nav-tabs-item):is([href=\"/introduction\"],[href^=\"/api-reference/\"],[href^=\"/examples/\"])>div{height:2px;border-radius:0;background-color:transparent}:is(.nav-tabs-item,.mobile-nav-tabs-item)[href=\"/introduction\"]{--tab-tint: var(--sqwish-chase-docs)}:is(.nav-tabs-item,.mobile-nav-tabs-item)[href^=\"/api-reference/\"]{--tab-tint: var(--sqwish-chase-api)}:is(.nav-tabs-item,.mobile-nav-tabs-item)[href^=\"/examples/\"]{--tab-tint: var(--sqwish-chase-examples)}:is(.nav-tabs-item,.mobile-nav-tabs-item):is([href=\"/introduction\"],[href^=\"/api-reference/\"],[href^=\"/examples/\"]):is(:hover,[data-active=\"true\"]){background-color:transparent}:is(.nav-tabs-item,.mobile-nav-tabs-item):is([href=\"/introduction\"],[href^=\"/api-reference/\"],[href^=\"/examples/\"])[data-active=\"true\"]{color:rgb(var(--tab-tint))}:is(.nav-tabs-item,.mobile-nav-tabs-item):is([href=\"/introduction\"],[href^=\"/api-reference/\"],[href^=\"/examples/\"])[data-active=\"true\"]>div{height:2px;background-color:rgb(var(--tab-tint))}#table-of-contents-content a[aria-current=\"location\"]{color:rgb(var(--sqwish-accent))}@supports (animation-timeline: scroll()){#table-of-contents-content{--sqwish-toc-rest: 84 84 84}html.dark #table-of-contents-content{--sqwish-toc-rest: 161 161 161}#table-of-contents-content li:last-child>a{animation:sqwish-toc-arrive linear forwards;animation-timeline:scroll(root);animation-range:calc(100% - 1px) 100%}#table-of-contents-content li:not(:last-child)>a[aria-current=\"location\"]{animation:sqwish-toc-yield linear forwards;animation-timeline:scroll(root);animation-range:calc(100% - 1px) 100%}}@keyframes sqwish-toc-arrive{to{color:rgb(var(--sqwish-accent));text-shadow:-0.15px 0 0 currentColor, 0.15px 0 0 currentColor}}@keyframes sqwish-toc-yield{to{color:rgb(var(--sqwish-toc-rest));text-shadow:none}}@media (hover: hover){#pagination a:hover :is([data-component-part=\"pagination-chevron\"],[data-component-part=\"pagination-label\"]){color:rgb(var(--sqwish-accent))}}#sidebar-content a[aria-current=\"page\"],#mobile-nav a[aria-current=\"page\"]{border-radius:8px;background-color:rgb(var(--sqwish-sunk-2));color:rgb(var(--sqwish-accent))}html[data-current-path^=\"/api-reference/\"] :is(#sidebar-content,#mobile-nav) a[aria-current=\"page\"]:has(.bg-\\[\\#2AB673\\])>div:last-child{color:#007141}html[data-current-path^=\"/api-reference/\"] :is(#sidebar-content,#mobile-nav) a[aria-current=\"page\"]:has(.bg-\\[\\#3064E3\\])>div:last-child{color:#3a5aa1}html[data-current-path^=\"/api-reference/\"] :is(#sidebar-content,#mobile-nav) a[aria-current=\"page\"]:has(.bg-\\[\\#CB3A32\\])>div:last-child{color:#963e36}html[data-current-path^=\"/api-reference/\"] :is(#sidebar-content,#mobile-nav) a[aria-current=\"page\"]:has(.bg-\\[\\#DA622B\\])>div:last-child{color:#914511}html[data-current-path^=\"/api-reference/\"] :is(#sidebar-content,#mobile-nav) a[aria-current=\"page\"]:has(.bg-\\[\\#C28C30\\])>div:last-child{color:#7c5600}html.dark[data-current-path^=\"/api-reference/\"] :is(#sidebar-content,#mobile-nav) a[aria-current=\"page\"]:has(.bg-\\[\\#2AB673\\])>div:last-child{color:#a6eac1}html.dark[data-current-path^=\"/api-reference/\"] :is(#sidebar-content,#mobile-nav) a[aria-current=\"page\"]:has(.bg-\\[\\#3064E3\\])>div:last-child{color:#b9d8ff}html.dark[data-current-path^=\"/api-reference/\"] :is(#sidebar-content,#mobile-nav) a[aria-current=\"page\"]:has(.bg-\\[\\#CB3A32\\])>div:last-child{color:#ffc1b8}html.dark[data-current-path^=\"/api-reference/\"] :is(#sidebar-content,#mobile-nav) a[aria-current=\"page\"]:has(.bg-\\[\\#DA622B\\])>div:last-child{color:#ffc7a4}html.dark[data-current-path^=\"/api-reference/\"] :is(#sidebar-content,#mobile-nav) a[aria-current=\"page\"]:has(.bg-\\[\\#C28C30\\])>div:last-child{color:#f3d394}html.dark[data-current-path^=\"/api-reference/\"] :is(#sidebar-content,#mobile-nav) .method-nav-pill>.text-green-700{background-color:rgb(103 208 150 / 0.2);color:#7ddea8}html.dark[data-current-path^=\"/api-reference/\"] :is(#sidebar-content,#mobile-nav) .method-nav-pill>.text-blue-700{background-color:rgb(141 182 255 / 0.2);color:#8db6ff}html.dark[data-current-path^=\"/api-reference/\"] :is(#sidebar-content,#mobile-nav) .method-nav-pill>.text-red-700{background-color:rgb(255 150 137 / 0.2);color:#ff9689}html.dark[data-current-path^=\"/api-reference/\"] :is(#sidebar-content,#mobile-nav) .method-nav-pill>.text-orange-700{background-color:rgb(250 157 106 / 0.2);color:#fa9d6a}html.dark[data-current-path^=\"/api-reference/\"] :is(#sidebar-content,#mobile-nav) .method-nav-pill>.text-yellow-700{background-color:rgb(221 176 76 / 0.2);color:#ddb04c}html.dark[data-current-path^=\"/api-reference/\"] :is(#sidebar-content,#mobile-nav) a[aria-current=\"page\"] .method-nav-pill>.bg-\\[\\#2AB673\\]{background-color:#62c896;color:#f4fbf7}:is(#sidebar-content,#mobile-nav) .sidebar-title,#header .eyebrow{font-size:0.6875rem;font-weight:700;letter-spacing:0.09em;text-transform:uppercase}.onehot-endpoint{display:flex;flex-wrap:wrap;align-items:baseline;gap:0.55rem 0.85rem;margin:0.25rem 0 1.75rem;padding:0.8rem 1rem;border:1px solid rgb(var(--sqwish-border));border-radius:0.85rem;background:rgb(var(--sqwish-text) / 0.045)}.onehot-endpoint-label{font-size:0.68rem;font-weight:650;letter-spacing:0.08em;text-transform:uppercase;color:rgb(var(--sqwish-text) / 0.5)}.onehot-endpoint a,.onehot-endpoint a:hover{color:inherit;text-decoration:none;background-image:none;box-shadow:none;border-bottom:0}.onehot-endpoint code{font-weight:650;background:transparent;border:0;box-shadow:none;text-decoration:none;color:rgb(var(--sqwish-text))}.onehot-endpoint-meta{color:rgb(var(--sqwish-text) / 0.62)}#sidebar-content,#mobile-nav{border-right-width:0;background-color:rgb(var(--sqwish-page))}#sidebar-content #navigation-items>[data-component-part=\"scroll-area-viewport\"]{padding:1.25rem 0.375rem 1.5rem}:is(#sidebar-content,#mobile-nav) [data-component-part=\"scroll-area-content\"]>.text-sm{display:flex;flex-direction:column;min-height:100%}:is(#sidebar-content,#mobile-nav) [data-component-part=\"scroll-area-content\"]>.text-sm>div:has(.sidebar-group):first-of-type{margin-top:0}:is(#sidebar-content,#mobile-nav) [data-component-part=\"scroll-area-content\"]>.text-sm>ul:has(>li>a.nav-anchor){order:1;margin-top:2.75rem;padding-bottom:4.5rem}:is(#sidebar-content,#mobile-nav) [data-component-part=\"scroll-area-content\"]>.text-sm>ul:has(>li>a.nav-anchor)::before{content:\"Not for Human\";display:block;margin-bottom:0.85rem;padding-left:1rem;font-size:0.6875rem;font-weight:700;letter-spacing:0.09em;text-transform:uppercase;color:rgb(var(--sqwish-text))}html.dark :is(#sidebar-content,#mobile-nav) [data-component-part=\"scroll-area-content\"]>.text-sm>ul:has(>li>a.nav-anchor)::before{color:#fff}:is(#sidebar-content,#mobile-nav) .sidebar-group-header{margin-bottom:1.25rem}:is(#sidebar-content,#mobile-nav) [data-component-part=\"scroll-area-content\"]>.text-sm>div:has(.sidebar-group)+div:has(.sidebar-group){margin-top:2.75rem}:is(#sidebar-content,#mobile-nav) .sidebar-title{color:rgb(var(--sqwish-text));font-weight:700}html.dark :is(#sidebar-content,#mobile-nav) .sidebar-title{color:#fff}:is(#sidebar-content,#mobile-nav) .sidebar-group a:not([aria-current=\"page\"]){color:rgb(var(--sqwish-muted))}:is(#sidebar-content,#mobile-nav) .sidebar-group a:not([aria-current=\"page\"]):hover{color:rgb(var(--sqwish-text));background-color:rgb(var(--sqwish-sunk));border-radius:8px}#header .eyebrow{margin-bottom:0.5rem;color:rgb(var(--sqwish-text) / 0.7);font-weight:600}#navbar [data-component-name=\"primary-header-button\"]{position:relative;z-index:0;border:1px solid #dfdfdf;border-radius:9999px;padding-inline:1rem;background-color:#ffffff;color:#1e1e1e;font-weight:600;box-shadow:0 1px 2px rgb(0 0 0 / 0.08)}#navbar [data-component-name=\"primary-header-button\"]::before{content:\"\";position:absolute;z-index:-1;inset:-1.5px;border-radius:inherit;padding:1.5px;background:conic-gradient(\n from var(--sqwish-chase-angle),\n rgb(var(--sqwish-chase-docs)),\n rgb(var(--sqwish-chase-api)),\n rgb(var(--sqwish-chase-examples)),\n rgb(var(--sqwish-chase-docs))\n );mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);mask-composite:exclude;opacity:0;transition:opacity 0.2s ease}#navbar [data-component-name=\"primary-header-button\"]:hover{opacity:1}#navbar [data-component-name=\"primary-header-button\"]:hover::before{opacity:1;animation:sqwish-chase-ring 2.8s linear infinite}@property --sqwish-chase-angle{syntax:\"\u003cangle>\";inherits:false;initial-value:0deg}@keyframes sqwish-chase-ring{to{--sqwish-chase-angle: 360deg}}@media (prefers-reduced-motion: reduce){#navbar [data-component-name=\"primary-header-button\"]:hover::before{animation:none}}#search-bar-entry,#search-bar-entry-mobile{border-radius:9999px;background-color:transparent}#search-bar-entry{flex-shrink:1;width:min(22rem, 100%);min-width:0;height:2.5rem;padding-inline:0.9rem;border-color:rgb(var(--sqwish-text) / 0.12);color:rgb(var(--sqwish-text) / 0.7);box-shadow:none}#search-bar-entry>span:first-of-type{font-size:0.9375rem}#search-bar-entry>svg{width:1.05rem;height:1.05rem}#search-bar-entry:hover,#search-bar-entry-mobile:hover{background-color:rgb(var(--sqwish-text) / 0.035)}#search-bar-entry>span{color:inherit;background-color:transparent}#search-bar-entry>svg{background-color:currentColor}#navbar [data-component-name=\"primary-header-button\"]:focus-visible,#search-bar-entry:focus-visible,#search-bar-entry-mobile:focus-visible{outline:2px solid rgb(var(--sqwish-text) / 0.75);outline-offset:3px}.tryit-button{border-radius:9999px;border:1px solid rgb(var(--sqwish-border));background-color:rgb(var(--sqwish-surface));color:rgb(var(--sqwish-text));box-shadow:none}.tryit-button [data-component-part=\"icon-svg\"]{background-color:currentColor}:is(.code-block-copy-button,button[aria-label=\"Copy\"]):is(:hover,:focus-within,:has(>[role=\"status\"]:not(:empty))) svg{color:rgb(var(--sqwish-accent))}.code-block-copy-button[data-base-ui-tooltip-trigger]{position:relative}.code-block-copy-button[data-base-ui-tooltip-trigger]:not([data-popup-open])>[role=\"status\"]:not(:empty){position:absolute;inset:auto auto calc(100% + 0.25rem) 50%;transform:translateX(-50%);z-index:50;width:max-content;height:auto;margin:0;padding:0.125rem 0.375rem;overflow:visible;clip:auto;clip-path:none;border-radius:0.25rem;background-color:rgb(var(--primary-dark));color:rgb(var(--tooltip-foreground));font-size:0.75rem;font-weight:400;line-height:1rem;white-space:nowrap;pointer-events:none}.code-block-copy-button[data-base-ui-tooltip-trigger]>[role=\"status\"]:not(:empty)::after{content:\"!\"}#api-playground-2-operation-page :has(>div>.tryit-button),#api-playground-2-operation-page :has(>.method-pill),#api-playground-2-operation-page .method-pill{border-radius:9999px}.callout{border-radius:0.75rem}.callout[data-callout-type=\"note\"]{border-color:rgb(var(--sqwish-border));background-color:rgb(var(--sqwish-surface));color:rgb(var(--sqwish-text))}.callout[data-callout-type=\"note\"] [data-component-part=\"callout-content\"]{color:inherit}.callout [data-component-part=\"callout-icon\"] svg{color:rgb(var(--sqwish-accent))}img.nav-logo{height:1.75rem!important;width:auto!important}#navbar img.nav-logo{height:2rem!important}#page-title{font-size:clamp(2rem, 2.8vw, 3rem);font-weight:500;line-height:1.15;letter-spacing:-0.04em}html[data-current-path=\"/introduction\"] #page-title::after{content:\"\";display:inline-block;width:1.5em;height:1.5em;margin:-1em 0 -0.12em 0.6em;vertical-align:baseline;background:url(\"/images/inky-reading.svg\") center / contain no-repeat;animation:sqwish-inky-arrive 360ms cubic-bezier(0.16, 1, 0.3, 1)}@keyframes sqwish-inky-arrive{from{opacity:0;transform:translateY(4px)}}@media (prefers-reduced-motion: reduce){html[data-current-path=\"/introduction\"] #page-title::after{animation:none}}#header>.prose{margin-top:0.75rem;font-size:1.125rem;line-height:1.6}html[data-current-path^=\"/api-reference/\"] #page-title{text-wrap:balance;overflow-wrap:normal}html[data-current-path^=\"/api-reference/\"] #header>.prose{font-size:1rem;font-weight:400;line-height:1.75}:is(#sidebar-content,#mobile-nav) a[href^=\"/api-reference/\"] span{hyphens:none;word-break:normal;overflow-wrap:normal}html.dark :is([data-component-part=\"code-block-root\"],[data-fade-overlay]){--shiki-dark-bg: rgb(var(--sqwish-sunk)) !important;--fade-color-dark: rgb(var(--sqwish-sunk)) !important}[data-component-part=\"code-block-root\"] pre{font-size:min(1em, 0.8125rem);line-height:1.6}#content-area .prose code:not(pre code){font-size:max(0.75rem, 0.8125em);font-weight:400;padding:0.125em 0.375em}#content-area .prose table code{word-break:normal}#content-area .prose :is(a:not(.card),u){text-decoration-color:rgb(var(--sqwish-accent));text-underline-offset:0.22em}#content-area [role=\"tabpanel\"]{overflow-x:clip}#content-area [role=\"tabpanel\"] pre{overflow-x:auto}#content-area .prose a.link{border-bottom-color:rgb(var(--sqwish-accent))}#footer{display:none}@media (min-width: 1024px){html{--mintlify-slot-header-height: calc(var(--sqwish-topbar-height) + 3rem)}#content-area{max-width:72rem;padding-inline:clamp(2.5rem, 3.75vw, 4.5rem);padding-top:3rem}#content-container #content-area{margin-inline:0!important}}#content-side-layout{border-left-width:0}#content-side-layout nav{border-left:1px solid rgb(var(--sqwish-border));margin-left:0.15rem;padding-left:0.7rem}#content-side-layout h2>button{display:inline-flex;align-items:center;gap:0.45rem}#content-side-layout h2>button::before{content:\"\";width:0.8rem;height:0.55rem;flex:none;background:linear-gradient(currentColor, currentColor) 0 0 / 100% 1.5px no-repeat,\n linear-gradient(currentColor, currentColor) 0 50% / 100% 1.5px no-repeat,\n linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat}@media (min-width: 1280px){#content-side-layout{top:calc(var(--mintlify-slot-header-height) + var(--banner-height, 0px));height:calc(100vh - var(--mintlify-slot-header-height) - var(--banner-height, 0px));padding-top:3rem}html:not([data-current-path^=\"/api-reference/\"]) #content-side-layout{width:15rem;flex-shrink:0;padding-inline:1.5rem}}@media (max-width: 1279px){#content-container:has(#table-of-contents-content a){flex-wrap:wrap;align-content:flex-start}#content-container:has(#table-of-contents-content a)>:not(#content-side-layout){flex:1 0 100%;min-width:100%}body:has(#table-of-contents-content a) #content-area{padding-top:0.75rem}#content-side-layout:has(#table-of-contents-content a){display:flex;position:sticky;z-index:20;top:calc(var(--mintlify-slot-header-height) + var(--banner-height, 0px) + 0.75rem);order:-1;flex:1 0 100%;min-width:100%;justify-content:flex-end;width:auto;height:auto;margin:0;padding:0.85rem clamp(2.5rem, 3.75vw, 4.5rem) 0;border:0;background:transparent;pointer-events:none}#content-side-layout:has(#table-of-contents-content a) :is(#table-of-contents-layout,#table-of-contents,[data-component-part=\"scroll-area\"],[data-component-part=\"scroll-area-viewport\"],[data-component-part=\"scroll-area-content\"]){display:contents}#content-side-layout nav{position:relative;display:flex;flex-direction:column;align-items:flex-end;gap:0;margin:0;padding:0;border:0;pointer-events:none}#content-side-layout nav>div:has(#table-of-contents-content){display:contents}#content-side-layout h2{margin:0;pointer-events:auto}#content-side-layout h2>button{border:1px solid rgb(var(--sqwish-border));border-radius:999px;background:rgb(var(--sqwish-surface));color:rgb(var(--sqwish-text));padding:0.55rem 0.95rem;font-size:0.8125rem;line-height:1.2;white-space:nowrap;box-shadow:0 10px 28px rgb(0 0 0 / 0.22)}#content-side-layout:focus-within h2>button{border-color:rgb(var(--sqwish-accent));color:rgb(var(--sqwish-accent))}#content-side-layout #table-of-contents-content{position:absolute;top:calc(100% + 0.45rem);right:0;display:none;width:min(22rem, calc(100vw - 2.5rem));max-height:min(24rem, calc(100vh - 8rem));margin:0;padding:0.7rem 0.85rem 0.8rem;overflow:auto;border:1px solid rgb(var(--sqwish-border));border-radius:0.85rem;background:rgb(var(--sqwish-surface));box-shadow:0 16px 40px rgb(0 0 0 / 0.32);pointer-events:auto}#content-side-layout:focus-within #table-of-contents-content{display:block}}@media (max-width: 1023px){#body-content>div:has(>#content-container){padding-top:calc(var(--mintlify-slot-header-height) + var(--banner-height, 0px))}#content-area{padding-inline:1.5rem;padding-top:1.75rem}#content-side-layout:has(#table-of-contents-content a){padding-inline:1.5rem;padding-top:0.35rem}}"}],"page":{"pagePath":"api-reference/labelling/finalize-labeling-job","slug":"/api-reference/labelling/finalize-labeling-job","pageMetadata":{"title":"Finalize labeling job","description":"Turn the rows you accepted into a dataset.","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/labeling/jobs/{job_id}/finalize","href":"/api-reference/labelling/finalize-labeling-job","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Turn the rows you accepted into a dataset.\"\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":"Finalize labeling job","description":"Turn the rows you accepted into a dataset.","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/labeling/jobs/{job_id}/finalize","href":"/api-reference/labelling/finalize-labeling-job","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/sqwishai/d139d3da925631df/tab-title.js","/_mintlify/custom/sqwishai/7ab8422084ffa751/tab-icon.js"],"openApiReferenceData":{"operation":{"tags":["Labelling"],"summary":"Finalize labeling job","description":"Turn the rows you accepted into a dataset.","operationId":"finalizeLabelingJob","parameters":["254d3647-522b-4616-8c24-2951cd45b53d","31510deb-f8d5-4072-8d15-e3915e0cb560"],"requestBody":"6367a6d1-cb3c-422e-a812-8ee9271e0171","responses":{"200":"58a9ce38-1c95-4bc0-9039-b5efdb3cda7c","4XX":"1ac9930e-fbbb-4eaf-8331-3d5629acc0ce","5XX":"ec9a4809-7004-4a47-b696-80d337fc42f0"},"x-internal":false,"security":["51aa1da4-6b28-48cc-aadf-931e14609ca2"],"method":"post","type":"path","servers":["c3470794-117f-43ff-9bf9-3f177379ac8e"],"path":"/v1/labeling/jobs/{job_id}/finalize","baseUrlOptions":["https://api.sqwish.ai"],"title":"Finalize labeling job","codeSamples":[],"requestExampleLanguages":["bash","python","javascript"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"254d3647-522b-4616-8c24-2951cd45b53d":{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id","isRequired":true,"uniqueKey":"","typeLabel":"string"}},"31510deb-f8d5-4072-8d15-e3915e0cb560":{"name":"idempotency-key","in":"header","required":false,"schema":{"oneOf":[{"type":"string","title":"Idempotency-Key","uniqueKey":"oneOf.0","typeLabel":"string"},{"type":"null","title":"Idempotency-Key","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string | null"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"row_indices":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"row_indices.oneOf.0.items.[INDEX]","typeLabel":"integer"},"title":"Row Indices","maxItems":2000,"uniqueKey":"row_indices.oneOf.0","typeLabel":"integer[]"},{"type":"null","title":"Row Indices","uniqueKey":"row_indices.oneOf.1","typeLabel":"null"}],"uniqueKey":"row_indices","typeLabel":"integer[] | null"},"evaluation_fraction":{"oneOf":[{"type":"number","title":"Evaluation Fraction","maximum":1,"minimum":0.1,"uniqueKey":"evaluation_fraction.oneOf.0","typeLabel":"number"},{"type":"null","title":"Evaluation Fraction","uniqueKey":"evaluation_fraction.oneOf.1","typeLabel":"null"}],"uniqueKey":"evaluation_fraction","typeLabel":"number | null"},"training_indices":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"training_indices.oneOf.0.items.[INDEX]","typeLabel":"integer"},"title":"Training Indices","maxItems":2000,"uniqueKey":"training_indices.oneOf.0","typeLabel":"integer[]"},{"type":"null","title":"Training Indices","uniqueKey":"training_indices.oneOf.1","typeLabel":"null"}],"uniqueKey":"training_indices","typeLabel":"integer[] | null"},"evaluation_indices":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"evaluation_indices.oneOf.0.items.[INDEX]","typeLabel":"integer"},"title":"Evaluation Indices","maxItems":2000,"uniqueKey":"evaluation_indices.oneOf.0","typeLabel":"integer[]"},{"type":"null","title":"Evaluation Indices","uniqueKey":"evaluation_indices.oneOf.1","typeLabel":"null"}],"uniqueKey":"evaluation_indices","typeLabel":"integer[] | null"},"max_price_usd":{"oneOf":[{"type":"string","title":"Max Price Usd","description":"The most you agree to pay for its first day of storage, which a dataset above the free size holds, in USD, such as the price you were shown. It is a decimal string, such as `\"2.500000000\"`, never a JSON number, so no precision is lost: a number is refused with invalid_request, naming this field. If it costs more when it is admitted, it is refused with price_changed and nothing is held.","pattern":"^\\d{1,9}(\\.\\d{1,9})?$","uniqueKey":"max_price_usd.oneOf.0","typeLabel":"string"},{"type":"null","title":"Max Price Usd","description":"The most you agree to pay for its first day of storage, which a dataset above the free size holds, in USD, such as the price you were shown. It is a decimal string, such as `\"2.500000000\"`, never a JSON number, so no precision is lost: a number is refused with invalid_request, naming this field. If it costs more when it is admitted, it is refused with price_changed and nothing is held.","uniqueKey":"max_price_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"max_price_usd","typeLabel":"string | null"}},"additionalProperties":false,"type":"object","title":"FinalizeLabels","description":"The rows a job's dataset takes, in one of two modes, as a dataset upload: `row_indices`,\nwhose sides the split picks at `evaluation_fraction`, or `training_indices` and\n`evaluation_indices`, whose rows take the side of their list.","uniqueKey":"","typeLabel":"FinalizeLabels · object"},"examples":{"Example":{"title":"Example","value":{"row_indices":[123],"evaluation_fraction":0.55,"training_indices":[123],"evaluation_indices":[123],"max_price_usd":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"58a9ce38-1c95-4bc0-9039-b5efdb3cda7c":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"id":{"type":"string","title":"Id","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"name":{"type":"string","title":"Name","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"created_at":{"type":"number","title":"Created At","isRequired":true,"uniqueKey":"created_at","typeLabel":"number"},"sha256":{"type":"string","title":"Sha256","description":"Names every row of the latest version: its first version's file digest, each later one's chained on.","isRequired":true,"uniqueKey":"sha256","typeLabel":"string"},"version":{"type":"integer","title":"Version","description":"The latest version. Counts and the split are this version's.","isRequired":true,"uniqueKey":"version","typeLabel":"integer"},"rows":{"type":"integer","title":"Rows","isRequired":true,"uniqueKey":"rows","typeLabel":"integer"},"contexts":{"type":"integer","title":"Contexts","isRequired":true,"uniqueKey":"contexts","typeLabel":"integer"},"duplicates_removed":{"type":"integer","title":"Duplicates Removed","isRequired":true,"uniqueKey":"duplicates_removed","typeLabel":"integer"},"method":{"type":"string","enum":["sft","reward"],"title":"Method","isRequired":true,"uniqueKey":"method","typeLabel":"enum\u003cstring>"},"archived_at":{"oneOf":[{"type":"number","title":"Archived At","description":"When we archived it: when credit couldn't cover its storage, or on a suspension. Restore it to start new work. Null in the library.","isRequired":true,"uniqueKey":"archived_at.oneOf.0","typeLabel":"number"},{"type":"null","title":"Archived At","description":"When we archived it: when credit couldn't cover its storage, or on a suspension. Restore it to start new work. Null in the library.","isRequired":true,"uniqueKey":"archived_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"archived_at","typeLabel":"number | null"},"used_at":{"oneOf":[{"type":"number","title":"Used At","description":"When work last started on it: a fine-tune, an evaluation or prompt tuning, or the labelling job that made it. Adding rows doesn't count. Null until then.","isRequired":true,"uniqueKey":"used_at.oneOf.0","typeLabel":"number"},{"type":"null","title":"Used At","description":"When work last started on it: a fine-tune, an evaluation or prompt tuning, or the labelling job that made it. Adding rows doesn't count. Null until then.","isRequired":true,"uniqueKey":"used_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"used_at","typeLabel":"number | null"},"evaluation_only":{"type":"boolean","title":"Evaluation Only","isRequired":true,"uniqueKey":"evaluation_only","typeLabel":"boolean"},"evaluation_fraction":{"type":"number","title":"Evaluation Fraction","description":"Its first version's evaluation share: as asked, or for a split of your own its evaluation contexts' share, which may be below the 0.1 a request takes.","isRequired":true,"uniqueKey":"evaluation_fraction","typeLabel":"number"},"split":{"additionalProperties":{"type":"integer","uniqueKey":"split.additionalProperties","typeLabel":"integer"},"type":"object","title":"Split","isRequired":true,"uniqueKey":"split","typeLabel":"Split · object"},"prompt_tuning":{"properties":{"decisions":{"items":{"properties":{"decision":{"properties":{"id":{"type":"string","maxLength":128,"minLength":1,"title":"Id","isRequired":true,"uniqueKey":"prompt_tuning.decisions.items.[INDEX].decision.id","typeLabel":"string"},"question":{"oneOf":[{"type":"string","title":"Question","isRequired":true,"uniqueKey":"prompt_tuning.decisions.items.[INDEX].decision.question.oneOf.0","typeLabel":"string"},{"type":"object","title":"Question","additionalProperties":true,"isRequired":true,"uniqueKey":"prompt_tuning.decisions.items.[INDEX].decision.question.oneOf.1","typeLabel":"Question · object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"prompt_tuning.decisions.items.[INDEX].decision.question.oneOf.2.items.[INDEX]","typeLabel":"any"},"title":"Question","isRequired":true,"uniqueKey":"prompt_tuning.decisions.items.[INDEX].decision.question.oneOf.2","typeLabel":"any[]"}],"isRequired":true,"uniqueKey":"prompt_tuning.decisions.items.[INDEX].decision.question","typeLabel":"string | Question · object | any[]"},"kind":{"type":"string","enum":["single","binary","ordinal"],"title":"Kind","default":"single","uniqueKey":"prompt_tuning.decisions.items.[INDEX].decision.kind","typeLabel":"enum\u003cstring>"},"outcomes":{"oneOf":[{"title":"Outcomes"}],"uniqueKey":"prompt_tuning.decisions.items.[INDEX].decision.outcomes","typeLabel":"any"},"rubric":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"prompt_tuning.decisions.items.[INDEX].decision.rubric.oneOf.0.items.[INDEX]","typeLabel":"any"},"title":"Rubric","uniqueKey":"prompt_tuning.decisions.items.[INDEX].decision.rubric.oneOf.0","typeLabel":"any[]"},{"type":"null","title":"Rubric","uniqueKey":"prompt_tuning.decisions.items.[INDEX].decision.rubric.oneOf.1","typeLabel":"null"}],"uniqueKey":"prompt_tuning.decisions.items.[INDEX].decision.rubric","typeLabel":"any[] | null"},"policy":{"oneOf":[{"type":"object","title":"Policy","properties":{"action_costs":{"oneOf":[{"type":"object","title":"Action Costs","additionalProperties":{"additionalProperties":{"type":"number","uniqueKey":"prompt_tuning.decisions.items.[INDEX].decision.policy.oneOf.0.action_costs.oneOf.0.additionalProperties.additionalProperties","typeLabel":"number"},"type":"object","uniqueKey":"prompt_tuning.decisions.items.[INDEX].decision.policy.oneOf.0.action_costs.oneOf.0.additionalProperties","typeLabel":"object"},"uniqueKey":"prompt_tuning.decisions.items.[INDEX].decision.policy.oneOf.0.action_costs.oneOf.0","typeLabel":"Action Costs · object"},{"type":"null","title":"Action Costs","uniqueKey":"prompt_tuning.decisions.items.[INDEX].decision.policy.oneOf.0.action_costs.oneOf.1","typeLabel":"null"}],"uniqueKey":"prompt_tuning.decisions.items.[INDEX].decision.policy.oneOf.0.action_costs","typeLabel":"Action Costs · object | null"},"abstain_below":{"oneOf":[{"type":"number","title":"Abstain Below","maximum":1,"minimum":0,"uniqueKey":"prompt_tuning.decisions.items.[INDEX].decision.policy.oneOf.0.abstain_below.oneOf.0","typeLabel":"number"},{"type":"null","title":"Abstain Below","uniqueKey":"prompt_tuning.decisions.items.[INDEX].decision.policy.oneOf.0.abstain_below.oneOf.1","typeLabel":"null"}],"uniqueKey":"prompt_tuning.decisions.items.[INDEX].decision.policy.oneOf.0.abstain_below","typeLabel":"number | null"}},"additionalProperties":false,"uniqueKey":"prompt_tuning.decisions.items.[INDEX].decision.policy.oneOf.0","typeLabel":"Policy · object"},{"type":"null","uniqueKey":"prompt_tuning.decisions.items.[INDEX].decision.policy.oneOf.1","typeLabel":"null"}],"uniqueKey":"prompt_tuning.decisions.items.[INDEX].decision.policy","typeLabel":"Policy · object | null"}},"additionalProperties":false,"type":"object","required":["id","question"],"title":"Decision","description":"The decision as the dataset's rows define it.","isRequired":true,"uniqueKey":"prompt_tuning.decisions.items.[INDEX].decision","typeLabel":"Decision · object"},"outcomes":{"items":{"type":"string","uniqueKey":"prompt_tuning.decisions.items.[INDEX].outcomes.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Outcomes","description":"Its outcome names in order, as the model reads them and targets name them.","isRequired":true,"uniqueKey":"prompt_tuning.decisions.items.[INDEX].outcomes","typeLabel":"string[]"},"rows":{"type":"integer","title":"Rows","description":"Training rows that ask it.","isRequired":true,"uniqueKey":"prompt_tuning.decisions.items.[INDEX].rows","typeLabel":"integer"},"labels":{"additionalProperties":{"type":"integer","uniqueKey":"prompt_tuning.decisions.items.[INDEX].labels.additionalProperties","typeLabel":"integer"},"type":"object","title":"Labels","description":"How many of those rows expect each outcome, in the decision's order.","isRequired":true,"uniqueKey":"prompt_tuning.decisions.items.[INDEX].labels","typeLabel":"Labels · object"},"reason":{"oneOf":[{"type":"string","title":"Reason","description":"Why prompt tuning can't tune it, or null when it can. A job refused for it has this error code.","enum":["conflicting_decision","structured_wording","too_few_rows","too_many_rows","too_few_per_outcome","unbalanced_split"],"isRequired":true,"uniqueKey":"prompt_tuning.decisions.items.[INDEX].reason.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Reason","description":"Why prompt tuning can't tune it, or null when it can. A job refused for it has this error code.","isRequired":true,"uniqueKey":"prompt_tuning.decisions.items.[INDEX].reason.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"prompt_tuning.decisions.items.[INDEX].reason","typeLabel":"enum\u003cstring> | null"}},"type":"object","required":["decision","outcomes","rows","labels","reason"],"title":"DecisionReadiness","uniqueKey":"prompt_tuning.decisions.items.[INDEX]","typeLabel":"DecisionReadiness · object"},"type":"array","title":"Decisions","description":"Decisions the training rows ask, those it can tune first and then the most asked, as many as fit in 64 KiB.","isRequired":true,"uniqueKey":"prompt_tuning.decisions","typeLabel":"DecisionReadiness · object[]"},"unlisted":{"type":"integer","title":"Unlisted","description":"How many more decisions the training rows ask.","isRequired":true,"uniqueKey":"prompt_tuning.unlisted","typeLabel":"integer"}},"type":"object","required":["decisions","unlisted"],"title":"PromptTuningReadiness","description":"What prompt tuning can tune in the training partition, counted when the dataset was made or grew, with the reasons the counts give worked out under the limits in force when it is read. Datasets of outcome scores have none.","uniqueKey":"prompt_tuning","typeLabel":"PromptTuningReadiness · object"},"input":{"properties":{"format":{"type":"string","enum":["json","jsonl","multipart"],"title":"Format","description":"How its body came: JSON, a multipart form of JSONL files, or a body of JSONL alone.","isRequired":true,"uniqueKey":"input.format","typeLabel":"enum\u003cstring>"},"sha256":{"type":"string","title":"Sha256","isRequired":true,"uniqueKey":"input.sha256","typeLabel":"string"},"bytes":{"type":"integer","title":"Bytes","isRequired":true,"uniqueKey":"input.bytes","typeLabel":"integer"}},"type":"object","required":["format","sha256","bytes"],"title":"InputReceipt","uniqueKey":"input","typeLabel":"InputReceipt · object"},"labeling":{"properties":{"job_id":{"type":"string","title":"Job Id","isRequired":true,"uniqueKey":"labeling.job_id","typeLabel":"string"},"source_id":{"type":"string","title":"Source Id","isRequired":true,"uniqueKey":"labeling.source_id","typeLabel":"string"},"source_sha256":{"type":"string","title":"Source Sha256","isRequired":true,"uniqueKey":"labeling.source_sha256","typeLabel":"string"},"source_input_sha256":{"type":"string","title":"Source Input Sha256","isRequired":true,"uniqueKey":"labeling.source_input_sha256","typeLabel":"string"},"spec_sha256":{"type":"string","title":"Spec Sha256","isRequired":true,"uniqueKey":"labeling.spec_sha256","typeLabel":"string"},"prompt_version":{"type":"string","title":"Prompt Version","isRequired":true,"uniqueKey":"labeling.prompt_version","typeLabel":"string"},"teacher_models":{"items":{"type":"string","uniqueKey":"labeling.teacher_models.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Teacher Models","isRequired":true,"uniqueKey":"labeling.teacher_models","typeLabel":"string[]"},"row_indices":{"items":{"type":"integer","uniqueKey":"labeling.row_indices.items.[INDEX]","typeLabel":"integer"},"type":"array","title":"Row Indices","isRequired":true,"uniqueKey":"labeling.row_indices","typeLabel":"integer[]"},"selection_sha256":{"type":"string","title":"Selection Sha256","isRequired":true,"uniqueKey":"labeling.selection_sha256","typeLabel":"string"},"target_method":{"type":"string","const":"mean_one_hot_teacher_votes","title":"Target Method","isRequired":true,"uniqueKey":"labeling.target_method","typeLabel":"string"}},"type":"object","required":["job_id","source_id","source_sha256","source_input_sha256","spec_sha256","prompt_version","teacher_models","row_indices","selection_sha256","target_method"],"title":"LabelingLineage","uniqueKey":"labeling","typeLabel":"LabelingLineage · object"},"storage_window":{"oneOf":[{"type":"object","title":"StorageWindow","description":"The day of storage held now, at the price it was accepted at, or null. Archiving or deleting it charges the minutes used of it; later days are priced as they start.","required":["started_at","ends_at","reserved_usd"],"properties":{"started_at":{"type":"number","title":"Started At","isRequired":true,"uniqueKey":"storage_window.oneOf.0.started_at","typeLabel":"number"},"ends_at":{"type":"number","title":"Ends At","description":"When this day's hold ends and the next is reserved.","isRequired":true,"uniqueKey":"storage_window.oneOf.0.ends_at","typeLabel":"number"},"reserved_usd":{"type":"string","title":"Reserved Usd","description":"The day's fee held, as exact USD.","isRequired":true,"uniqueKey":"storage_window.oneOf.0.reserved_usd","typeLabel":"string"}},"uniqueKey":"storage_window.oneOf.0","typeLabel":"StorageWindow · object"},{"type":"null","description":"The day of storage held now, at the price it was accepted at, or null. Archiving or deleting it charges the minutes used of it; later days are priced as they start.","uniqueKey":"storage_window.oneOf.1","typeLabel":"null"}],"uniqueKey":"storage_window","typeLabel":"StorageWindow · object | null"},"labels_to_check":{"type":"integer","title":"Labels To Check","description":"How many labels prompt tuning doubted in this dataset that nobody has dismissed, each row and decision once, as its labels-to-check route lists them.","uniqueKey":"labels_to_check","typeLabel":"integer"}},"type":"object","required":["id","name","created_at","sha256","version","rows","contexts","duplicates_removed","method","archived_at","used_at","evaluation_only","evaluation_fraction","split"],"title":"Dataset","uniqueKey":"","typeLabel":"Dataset · object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","name":"\u003cstring>","created_at":123,"sha256":"\u003cstring>","version":123,"rows":123,"contexts":123,"duplicates_removed":123,"method":"sft","archived_at":123,"used_at":123,"evaluation_only":true,"evaluation_fraction":123,"split":{},"prompt_tuning":{"decisions":[{"decision":{"id":"\u003cstring>","question":"\u003cstring>","kind":"single","outcomes":"\u003cunknown>","rubric":["\u003cunknown>"],"policy":{"action_costs":{},"abstain_below":0.5}},"outcomes":["\u003cstring>"],"rows":123,"labels":{},"reason":"conflicting_decision"}],"unlisted":123},"input":{"format":"json","sha256":"\u003cstring>","bytes":123},"labeling":{"job_id":"\u003cstring>","source_id":"\u003cstring>","source_sha256":"\u003cstring>","source_input_sha256":"\u003cstring>","spec_sha256":"\u003cstring>","prompt_version":"\u003cstring>","teacher_models":["\u003cstring>"],"row_indices":[123],"selection_sha256":"\u003cstring>","target_method":"mean_one_hot_teacher_votes"},"storage_window":{"started_at":123,"ends_at":123,"reserved_usd":"\u003cstring>"},"labels_to_check":123}}},"exampleType":"generated"}},"exampleType":"generated"},"1ac9930e-fbbb-4eaf-8331-3d5629acc0ce":{"description":"Client error. On a 422, `error.details` lists each field that failed.","content":{"application/json":{"schema":{"description":"The body of every error.","properties":{"error":{"properties":{"code":{"description":"A stable code to branch on, such as invalid_request.","title":"Code","type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"description":"What went wrong and what to change, in plain words.","title":"Message","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"description":"True when another attempt may succeed; it does not prove that no work was done. Respect Retry-After when present. Only operations that support Idempotency-Key replay a prior result, including /v1/decide for 24 hours, but not a decision of an organisation with zero data retention, which keeps no answer.","title":"Retryable","type":"boolean","isRequired":true,"uniqueKey":"error.retryable","typeLabel":"boolean"},"request_id":{"description":"Also sent as X-Request-ID. Quote it in bug reports.","title":"Request Id","type":"string","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"details":{"oneOf":[{"type":"array","items":{"properties":{"path":{"description":"Where the problem is, such as [\"body\", \"decisions\", 0, \"outcomes\"].","items":{"oneOf":[{"type":"string","uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX]","typeLabel":"string | integer"},"title":"Path","type":"array","isRequired":true,"uniqueKey":"error.details.oneOf.0.items.[INDEX].path","typeLabel":"(string | integer)[]"},"message":{"title":"Message","type":"string","isRequired":true,"uniqueKey":"error.details.oneOf.0.items.[INDEX].message","typeLabel":"string"},"type":{"oneOf":[{"type":"string","title":"Type","uniqueKey":"error.details.oneOf.0.items.[INDEX].type.oneOf.0","typeLabel":"string"},{"type":"null","title":"Type","uniqueKey":"error.details.oneOf.0.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details.oneOf.0.items.[INDEX].type","typeLabel":"string | null"}},"required":["path","message"],"title":"ErrorDetail","type":"object","uniqueKey":"error.details.oneOf.0.items.[INDEX]","typeLabel":"ErrorDetail · object"},"title":"Details","description":"On validation errors, one entry for each field that failed.","uniqueKey":"error.details.oneOf.0","typeLabel":"ErrorDetail · object[]"},{"type":"null","title":"Details","description":"On validation errors, one entry for each field that failed.","uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"ErrorDetail · object[] | null"}},"required":["code","message","retryable","request_id"],"title":"ErrorBody","type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"ErrorBody · object"}},"required":["error"],"title":"ErrorResponse","type":"object","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","retryable":true,"request_id":"\u003cstring>","details":[{"path":["\u003cstring>"],"message":"\u003cstring>","type":"\u003cstring>"}]}}}},"exampleType":"generated"}},"exampleType":"generated"},"ec9a4809-7004-4a47-b696-80d337fc42f0":{"description":"Server error. A 503 names what is not running on this server.","content":{"application/json":{"schema":{"description":"The body of every error.","properties":{"error":{"properties":{"code":{"description":"A stable code to branch on, such as invalid_request.","title":"Code","type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"description":"What went wrong and what to change, in plain words.","title":"Message","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"description":"True when another attempt may succeed; it does not prove that no work was done. Respect Retry-After when present. Only operations that support Idempotency-Key replay a prior result, including /v1/decide for 24 hours, but not a decision of an organisation with zero data retention, which keeps no answer.","title":"Retryable","type":"boolean","isRequired":true,"uniqueKey":"error.retryable","typeLabel":"boolean"},"request_id":{"description":"Also sent as X-Request-ID. Quote it in bug reports.","title":"Request Id","type":"string","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"details":{"oneOf":[{"type":"array","items":{"properties":{"path":{"description":"Where the problem is, such as [\"body\", \"decisions\", 0, \"outcomes\"].","items":{"oneOf":[{"type":"string","uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX]","typeLabel":"string | integer"},"title":"Path","type":"array","isRequired":true,"uniqueKey":"error.details.oneOf.0.items.[INDEX].path","typeLabel":"(string | integer)[]"},"message":{"title":"Message","type":"string","isRequired":true,"uniqueKey":"error.details.oneOf.0.items.[INDEX].message","typeLabel":"string"},"type":{"oneOf":[{"type":"string","title":"Type","uniqueKey":"error.details.oneOf.0.items.[INDEX].type.oneOf.0","typeLabel":"string"},{"type":"null","title":"Type","uniqueKey":"error.details.oneOf.0.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details.oneOf.0.items.[INDEX].type","typeLabel":"string | null"}},"required":["path","message"],"title":"ErrorDetail","type":"object","uniqueKey":"error.details.oneOf.0.items.[INDEX]","typeLabel":"ErrorDetail · object"},"title":"Details","description":"On validation errors, one entry for each field that failed.","uniqueKey":"error.details.oneOf.0","typeLabel":"ErrorDetail · object[]"},{"type":"null","title":"Details","description":"On validation errors, one entry for each field that failed.","uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"ErrorDetail · object[] | null"}},"required":["code","message","retryable","request_id"],"title":"ErrorBody","type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"ErrorBody · object"}},"required":["error"],"title":"ErrorResponse","type":"object","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","retryable":true,"request_id":"\u003cstring>","details":[{"path":["\u003cstring>"],"message":"\u003cstring>","type":"\u003cstring>"}]}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"51aa1da4-6b28-48cc-aadf-931e14609ca2":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"onehot_sk_...","description":"Create an API key in the console.","scopes":[],"schemeName":"BearerAuth"}}},"servers":{"c3470794-117f-43ff-9bf9-3f177379ac8e":{"url":"https://api.sqwish.ai"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"onehot_sk_...","description":"Create an API key in the console.","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Create an API key in the console.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"sqwishai","siteName":"OneHot","title":"Finalize labeling job - OneHot","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-09T04:51:00.497Z","originalFileLocation":"api-reference/labelling/finalize-labeling-job.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=\"dark\"}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=\"Turn the rows you accepted into a dataset.\">\u003cmeta data-mint-head name=\"application-name\" content=\"OneHot\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sqwishai/YdfbdoMtzuqoaza3/_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/sqwishai/YdfbdoMtzuqoaza3/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sqwishai/YdfbdoMtzuqoaza3/_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/sqwishai/YdfbdoMtzuqoaza3/_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/sqwishai/YdfbdoMtzuqoaza3/_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/sqwishai/YdfbdoMtzuqoaza3/_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/sqwishai/YdfbdoMtzuqoaza3/_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/sqwishai/YdfbdoMtzuqoaza3/_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/sqwishai/YdfbdoMtzuqoaza3/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Finalize labeling job - OneHot\">\u003cmeta data-mint-head property=\"og:description\" content=\"Turn the rows you accepted into a dataset.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"OneHot\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.sqwish.ai/api-reference/labelling/finalize-labeling-job\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://sqwishai.mintlify.site/_mintlify/api/og/v2?division=Labelling\u0026amp;title=Finalize+labeling+job\u0026amp;description=Turn+the+rows+you+accepted+into+a+dataset.\u0026amp;theme=1c4a66cc0d5aae3918098a2b\u0026amp;signature=a9066528185e7c961aee40079e9c1386b86b28968bdbf5949113ad19039161a6\">\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=\"Finalize labeling job - OneHot\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Turn the rows you accepted into a dataset.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sqwishai.mintlify.site/_mintlify/api/og/v2?division=Labelling\u0026amp;title=Finalize+labeling+job\u0026amp;description=Turn+the+rows+you+accepted+into+a+dataset.\u0026amp;theme=1c4a66cc0d5aae3918098a2b\u0026amp;signature=a9066528185e7c961aee40079e9c1386b86b28968bdbf5949113ad19039161a6\">\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/sqwishai/YdfbdoMtzuqoaza3/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"OneHot\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#555555\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.sqwish.ai/api-reference/labelling/finalize-labeling-job\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/labelling/finalize-labeling-job.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.sqwish.ai/#organization\",\"name\":\"OneHot\",\"url\":\"https://docs.sqwish.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/sqwishai/DckT8DnfX584QrKL/images/sqwish.png?fit=max\u0026auto=format\u0026n=DckT8DnfX584QrKL\u0026q=85\u0026s=bc446299f18ab06437c9fc4cd723c188\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.sqwish.ai#website\",\"name\":\"OneHot\",\"url\":\"https://docs.sqwish.ai\",\"publisher\":{\"@id\":\"https://docs.sqwish.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.sqwish.ai/api-reference/labelling/finalize-labeling-job#webpage\",\"url\":\"https://docs.sqwish.ai/api-reference/labelling/finalize-labeling-job\",\"name\":\"Finalize labeling job\",\"description\":\"Turn the rows you accepted into a dataset.\",\"dateModified\":\"2026-11-09T04:51:00.497Z\",\"isPartOf\":{\"@id\":\"https://docs.sqwish.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.sqwish.ai/api-reference/labelling/finalize-labeling-job#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.sqwish.ai/api-reference/labelling/finalize-labeling-job#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Labelling\",\"item\":\"https://docs.sqwish.ai/api-reference/labelling/list-teachers\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Finalize labeling job\",\"item\":\"https://docs.sqwish.ai/api-reference/labelling/finalize-labeling-job\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.sqwish.ai/api-reference/labelling/finalize-labeling-job#apireference\",\"headline\":\"Finalize labeling job\",\"name\":\"Finalize labeling job\",\"description\":\"Turn the rows you accepted into a dataset.\",\"url\":\"https://docs.sqwish.ai/api-reference/labelling/finalize-labeling-job\",\"mainEntityOfPage\":{\"@id\":\"https://docs.sqwish.ai/api-reference/labelling/finalize-labeling-job#webpage\"},\"dateModified\":\"2026-11-09T04:51:00.497Z\",\"publisher\":{\"@id\":\"https://docs.sqwish.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.sqwish.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"OneHot\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"OneHot","nav":{"global":{"anchors":[{"anchor":"llms.txt","icon":"file-lines","href":"https://api.sqwish.ai/llms.txt"},{"anchor":"openapi.json","icon":"file-code","href":"https://api.sqwish.ai/openapi.json"}]},"tabs":[{"tab":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","icon":"code","groups":[{"group":"Overview","pages":[{"title":"API reference","href":"/api-reference/overview"}]},{"group":"Decisions","pages":[{"title":"List recipes","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/recipes","href":"/api-reference/decisions/list-recipes"},{"title":"Run decisions","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/decide","href":"/api-reference/decisions/run-decisions"},{"title":"Estimate the cost of decisions","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/decide/estimate","href":"/api-reference/decisions/estimate-the-cost-of-decisions"},{"title":"Lint decisions","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/lint","href":"/api-reference/decisions/lint-decisions"},{"title":"Run Jev decisions","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/systemone","href":"/api-reference/decisions/run-jev-decisions"},{"title":"Estimate the cost of Jev decisions","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/systemone/estimate","href":"/api-reference/decisions/estimate-the-cost-of-jev-decisions"},{"title":"Translate Jev requests","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/systemone/translate","href":"/api-reference/decisions/translate-jev-requests"}]},{"group":"Models","pages":[{"title":"List models","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/models","href":"/api-reference/models/list-models"},{"title":"Get model","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/models/{model_id}","href":"/api-reference/models/get-model"},{"title":"Delete model version","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/models/{model_id}","href":"/api-reference/models/delete-model-version"},{"title":"Check model readiness","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/models/{model_id}/ready","href":"/api-reference/models/check-model-readiness"},{"title":"Get model activity","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/models/{model_id}/activity","href":"/api-reference/models/get-model-activity"},{"title":"Switch a model","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/models/{model}/switch","href":"/api-reference/models/switch-a-model"},{"title":"Keep a model warm","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/models/{model}/keep-warm","href":"/api-reference/models/keep-a-model-warm"}]},{"group":"Families","pages":[{"title":"List families","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/families","href":"/api-reference/families/list-families"},{"title":"Start a family","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/families","href":"/api-reference/families/start-a-family"},{"title":"Continue a family","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/families/{family}/continue","href":"/api-reference/families/continue-a-family"},{"title":"Estimate the fee of starting a family","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/families/estimate","href":"/api-reference/families/estimate-the-fee-of-starting-a-family"},{"title":"Estimate the fee of continuing a family","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/families/{family}/continue/estimate","href":"/api-reference/families/estimate-the-fee-of-continuing-a-family"},{"title":"Get family","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/families/{family}","href":"/api-reference/families/get-family"},{"title":"Delete a family","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/families/{family}","href":"/api-reference/families/delete-a-family"},{"title":"Switch a family","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/families/{family}/switch","href":"/api-reference/families/switch-a-family"},{"title":"Keep a family warm","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/families/{family}/keep-warm","href":"/api-reference/families/keep-a-family-warm"},{"title":"Roll back a family","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/families/{family}/rollback","href":"/api-reference/families/roll-back-a-family"}]},{"group":"Datasets","pages":[{"title":"List datasets","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/datasets","href":"/api-reference/datasets/list-datasets"},{"title":"Create dataset","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/datasets","href":"/api-reference/datasets/create-dataset"},{"title":"List dataset versions","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/datasets/{dataset_id}/versions","href":"/api-reference/datasets/list-dataset-versions"},{"title":"Add rows to a dataset","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/datasets/{dataset_id}/versions","href":"/api-reference/datasets/add-rows-to-a-dataset"},{"title":"Get dataset","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/datasets/{dataset_id}","href":"/api-reference/datasets/get-dataset"},{"title":"Delete dataset","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/datasets/{dataset_id}","href":"/api-reference/datasets/delete-dataset"},{"title":"Rename dataset","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/datasets/{dataset_id}","href":"/api-reference/datasets/rename-dataset"},{"title":"Restore dataset","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/datasets/{dataset_id}/restore","href":"/api-reference/datasets/restore-dataset"},{"title":"Download dataset","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/datasets/{dataset_id}/download","href":"/api-reference/datasets/download-dataset"},{"title":"List dataset rows","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/datasets/{dataset_id}/rows","href":"/api-reference/datasets/list-dataset-rows"},{"title":"List labels to check","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/datasets/{dataset_id}/labels-to-check","href":"/api-reference/datasets/list-labels-to-check"}]},{"group":"Evaluations","pages":[{"title":"List evaluations","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/evaluations","href":"/api-reference/evaluations/list-evaluations"},{"title":"Evaluate models on a dataset","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/evaluations","href":"/api-reference/evaluations/evaluate-models-on-a-dataset"},{"title":"Get an evaluation","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/evaluations/{evaluation_id}","href":"/api-reference/evaluations/get-an-evaluation"},{"title":"Cancel an evaluation","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/evaluations/{evaluation_id}/cancel","href":"/api-reference/evaluations/cancel-an-evaluation"},{"title":"Retry an evaluation","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/evaluations/{evaluation_id}/retry","href":"/api-reference/evaluations/retry-an-evaluation"}]},{"group":"Fine-tuning","pages":[{"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":"Get fine-tuning job","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/fine-tuning/jobs/{job_id}","href":"/api-reference/fine-tuning/get-fine-tuning-job"},{"title":"List job events","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/fine-tuning/jobs/{job_id}/events","href":"/api-reference/fine-tuning/list-job-events"},{"title":"List held-out records","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/fine-tuning/jobs/{job_id}/records","href":"/api-reference/fine-tuning/list-held-out-records"},{"title":"Cancel fine-tuning job","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/fine-tuning/jobs/{job_id}/cancel","href":"/api-reference/fine-tuning/cancel-fine-tuning-job"}]},{"group":"Prompt tuning","pages":[{"title":"List prompt-tuning jobs","deprecated":true,"version":null,"openapi":"/openapi.json get /v1/prompt-tuning/jobs","href":"/api-reference/prompt-tuning/list-prompt-tuning-jobs"},{"title":"Create prompt-tuning job","deprecated":true,"version":null,"openapi":"/openapi.json post /v1/prompt-tuning/jobs","href":"/api-reference/prompt-tuning/create-prompt-tuning-job"},{"title":"Get prompt-tuning job","deprecated":true,"version":null,"openapi":"/openapi.json get /v1/prompt-tuning/jobs/{job_id}","href":"/api-reference/prompt-tuning/get-prompt-tuning-job"},{"title":"Dismiss label issues","deprecated":true,"version":null,"openapi":"/openapi.json patch /v1/prompt-tuning/jobs/{job_id}","href":"/api-reference/prompt-tuning/dismiss-label-issues"},{"title":"Cancel prompt-tuning job","deprecated":true,"version":null,"openapi":"/openapi.json post /v1/prompt-tuning/jobs/{job_id}/cancel","href":"/api-reference/prompt-tuning/cancel-prompt-tuning-job"}]},{"group":"Labelling","pages":[{"title":"List teachers","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/labeling/teachers","href":"/api-reference/labelling/list-teachers"},{"title":"List query sources","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/labeling/sources","href":"/api-reference/labelling/list-query-sources"},{"title":"Upload queries","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/labeling/sources","href":"/api-reference/labelling/upload-queries"},{"title":"Get query source","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/labeling/sources/{source_id}","href":"/api-reference/labelling/get-query-source"},{"title":"Delete query source","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/labeling/sources/{source_id}","href":"/api-reference/labelling/delete-query-source"},{"title":"List labeling jobs","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/labeling/jobs","href":"/api-reference/labelling/list-labeling-jobs"},{"title":"Create labeling job","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/labeling/jobs","href":"/api-reference/labelling/create-labeling-job"},{"title":"Get labeling job","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/labeling/jobs/{job_id}","href":"/api-reference/labelling/get-labeling-job"},{"title":"List labeling results","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/labeling/jobs/{job_id}/results","href":"/api-reference/labelling/list-labeling-results"},{"title":"Cancel labeling job","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/labeling/jobs/{job_id}/cancel","href":"/api-reference/labelling/cancel-labeling-job"},{"title":"Discard labeling job","description":"Set labels ready to review aside without making a dataset. They can still be finalized.","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/labeling/jobs/{job_id}/discard","href":"/api-reference/labelling/discard-labeling-job"},{"title":"Finalize labeling job","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/labeling/jobs/{job_id}/finalize","href":"/api-reference/labelling/finalize-labeling-job"}]},{"group":"Accounts","pages":[{"title":"Get account","description":"Account identity, wallet and current policy limits. tier is the tier the organisation is on, which verified purchases net of reversals raise. effective_limits contains rpm, tpm, concurrency, stored_objects, stored_mib, kept_warm, answering, upload_bytes, read_rpm, write_rpm, estimate_tokens_per_minute and fine_tunes, shared across this account's keys and browser sessions. storage is what the account keeps now: objects and bytes, archived datasets included.","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/account","href":"/api-reference/accounts/get-account"},{"title":"Get usage","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/organization/usage","href":"/api-reference/accounts/get-usage"},{"title":"List requests","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/organization/usage/requests","href":"/api-reference/accounts/list-requests"},{"title":"List API keys","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/organization/keys","href":"/api-reference/accounts/list-api-keys"}]},{"group":"Billing","pages":[{"title":"Get the low-balance alert and this month's spending","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/organization/spending","href":"/api-reference/billing/get-the-low-balance-alert-and-this-months-spending"},{"title":"Get referrals","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/account/referrals","href":"/api-reference/billing/get-referrals"},{"title":"Get credit balance","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/organization/wallet","href":"/api-reference/billing/get-credit-balance"},{"title":"List purchases","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/organization/payments","href":"/api-reference/billing/list-purchases"},{"title":"Get purchase","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/organization/payments/{purchase_id}","href":"/api-reference/billing/get-purchase"},{"title":"Get automatic top-up","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/organization/automatic-topup","href":"/api-reference/billing/get-automatic-top-up"}]},{"group":"Organizations","pages":[{"title":"Get organization","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/organization","href":"/api-reference/organizations/get-organization"}]},{"group":"Projects","pages":[{"title":"List the organisation's projects","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/projects","href":"/api-reference/projects/list-the-organisations-projects"},{"title":"Get a project's spending limit and this month's spending","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/projects/{project_id}/spending","href":"/api-reference/projects/get-a-projects-spending-limit-and-this-months-spending"}]},{"group":"Integrations","pages":[{"title":"Check tool call","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/hooks/claude-code","href":"/api-reference/integrations/check-tool-call"}]},{"group":"System","pages":[{"title":"Check health","deprecated":null,"version":null,"openapi":"/openapi.json get /healthz","href":"/api-reference/system/check-health"},{"title":"Discover capabilities","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/onehot","href":"/api-reference/system/discover-capabilities"}]}]},{"tab":"Examples","icon":"flask","pages":[{"title":"Examples","href":"/examples/customer-support"}]}]},"basePath":"","title":"Finalize labeling job - OneHot","buildId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","deploymentId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-5FCzAcfS.js","utils-SLtAG4EZ.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-2DZi8ZMu.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-D7J3nkzE.js","snippetPresets-D0Alv0AH.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-D9ithiIZ.js","ApiExamples-BI4qNJ2c.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BD3uyr8j.js","shallow-D8iEBr5z.js","getApiPlaygroundDisplay-CgNP4lzR.js","CodeSnippet-CX-QHuMs.js","CodeSnippets-VlXE-ZUf.js","getPastedJson-DYNQkZ1M.js","icon-CzacdwOi.js","MethodPill-2JVqoYKi.js","DuplicateIcon-_xVXs-U8.js","createIcon-BRHrweLo.js","DynamicMarkdown-mQG_iQiE.js","SectionHeading-DMpJzv8f.js","axios-vUo_bRtp.js","Markdown-5FGIym-8.js","clsx-D-TRO5q5.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CdrJecqK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CHlcWBLM.js"]}