Create a DPO fine-tuning job from a dataset, with training config, a loss config for DPO or ORPO, Weights & Biases logging, and S3 or Azure dataset access.
JobState represents the state an asynchronous job can be in.
JOB_STATE_PAUSED: Job is paused, typically due to account suspension or manual intervention.
JOB_STATE_DELETED: Job has been deleted.
JOB_STATE_ARCHIVED: User-facing state for jobs whose row is retained post-delete (e.g. RLOR
trainers within the checkpoint retention window). The internal row is
still in JOB_STATE_DELETED; the gateway translates it to ARCHIVED on
public responses.
{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"Fireworks AI Docs","description":"Official Fireworks AI documentation for inference, deployments, training, Fireworks Nexus, APIs, SDKs, and CLI tools.","colors":{"primary":"#9249e7","light":"#9249e7","dark":"#9249e7"},"logo":{"light":"https://mintcdn.com/fireworksai-docs/k8IlrNKHdagCbcj7/logo/logo.svg?fit=max\u0026auto=format\u0026n=k8IlrNKHdagCbcj7\u0026q=85\u0026s=aa60cf6047af1412adca3c341c1af7cf","dark":"https://mintcdn.com/fireworksai-docs/k8IlrNKHdagCbcj7/logo/logo.svg?fit=max\u0026auto=format\u0026n=k8IlrNKHdagCbcj7\u0026q=85\u0026s=aa60cf6047af1412adca3c341c1af7cf"},"favicon":"https://mintcdn.com/fireworksai-docs/Zmr1JwZl0XCOo6P5/favicon.ico?fit=max\u0026auto=format\u0026n=Zmr1JwZl0XCOo6P5\u0026q=85\u0026s=391f22495764acdbdfd5caf684bd1965","api":{"openapi":["openapi.yml","merged.openapi.yaml"],"playground":{"display":"interactive","proxy":false}},"navbar":{"links":[{"href":"https://discord.gg/fireworks-ai","label":"Community"},{"href":"https://status.fireworks.ai/","label":"Status"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.fireworks.ai/login"}},"footer":{"socials":{"x":"https://x.com/FireworksAI_HQ","discord":"https://discord.gg/fireworks-ai","github":"https://github.com/fw-ai-external","youtube":"https://www.youtube.com/@fireworksai","linkedin":"https://www.linkedin.com/company/fireworks-ai"},"links":[{"header":"Legal","items":[{"label":"Terms of Service","href":"https://fireworks.ai/terms-of-service"},{"label":"Privacy Policy","href":"https://fireworks.ai/privacy-policy"},{"label":"Licenses","href":"https://fireworks.ai/licenses"},{"label":"Trust","href":"https://trust.fireworks.ai/"}]},{"header":"Contact Us","items":[{"label":"Inquiry Form","href":"https://fireworks.ai/contact"}]},{"header":"Resources","items":[{"label":"Blog","href":"https://fireworks.ai/blog"},{"label":"Cookbook","href":"https://github.com/fw-ai-external/cookbook"},{"label":"Pricing","href":"https://fireworks.ai/pricing"}]}]},"integrations":{"ga4":{"measurementId":"G-2P32PRKZ57"},"koala":{"publicApiKey":"pk_59d6417e241a5b81e050226345f38b26d984"},"posthog":{"apiKey":"phc_OQKVIlbmI9arhxBb1xjo2Wz3zJG40X4RVNPTVHS1Gej","apiHost":"https://app.fireworks.ai/relay-1Gej"}},"contextual":{"options":["copy","view"],"display":"header"},"metadata":{"timestamp":false},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"fireworksai-docs","hasAudioNarration":false,"actualSubdomain":"fireworksai-docs","customDomains":["fireworks.ai"],"gitSource":{"type":"github","owner":"fw-ai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aecc33eba11dbdcfe6b3252","collectionId":"3e5f4638-3cdf-4039-b943-e381d788088f","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aecc33eba11dbdcfe6b3252"},"feedback":{"thumbs":true,"edits":false},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6aee371770432e3269a33a99","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"API \u0026 SDK Reference","count":108},{"language":"default","tag":"CLI Reference","count":106},{"language":"default","tag":"firectl CLI","count":106},{"language":"default","tag":"Documentation","count":95},{"language":"default","tag":"Deployments","count":50},{"language":"default","tag":"Resources","count":37},{"language":"default","tag":"FAQ","count":32},{"language":"default","tag":"Nexus","count":32},{"language":"default","tag":"Training","count":31},{"language":"default","tag":"Admin","count":23}]},"assistantConfig":{},"basePath":"/docs","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":"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":true},"customCss":[{"filePath":"style.css","content":"#content-area.max-w-xl{max-width:48rem}p[data-component-part=\"step-title\"]{margin-bottom:16px}[data-component-part=\"step-content\"]>:first-child{margin-top:0}.fw-skill-cta{position:fixed;z-index:30;right:max(1rem, env(safe-area-inset-right));bottom:max(5rem, env(safe-area-inset-bottom));width:16.5rem;max-width:calc(100vw - 2rem);margin:0;padding:0;color:#1c1917;font:inherit;line-height:1.2}.fw-skill-cta.is-toc{right:auto;bottom:max(1.5rem, env(safe-area-inset-bottom))}.fw-skill-cta-bar{position:relative;display:flex;flex-direction:column;align-items:center;gap:0.65rem;box-sizing:border-box;width:100%;padding:0.9rem 0.85rem 0.85rem;border:1px solid rgba(146, 73, 231, 0.28);border-radius:1rem;background:#faf7ff;animation:fw-skill-cta-in 0.7s cubic-bezier(0.2, 0.85, 0.3, 1) both}.fw-skill-cta-title{margin:0;color:#171717;font-size:0.95rem;font-weight:700;line-height:1.25;text-align:center;text-wrap:balance}.fw-skill-cta-logos{display:flex;align-items:center;justify-content:center;gap:1rem}.fw-skill-cta-badge{display:flex;flex:none;align-items:center;justify-content:center}.fw-skill-cta-logo{display:block;flex:none;height:1.2rem;width:auto}.fw-skill-cta-badge.is-claude .fw-skill-cta-logo{height:0.9rem}.fw-skill-cta-copy{display:flex;align-items:center;justify-content:center;gap:0.35rem;box-sizing:border-box;width:100%;min-height:0;padding:0.32rem 0.65rem;border:0;border-radius:0.5rem;background:#7c3aed;color:#fff;font:inherit;font-size:0.78rem;font-weight:600;cursor:pointer;transition:background-color 0.15s ease}.fw-skill-cta-copy:hover{background:#6d28d9}.fw-skill-cta-copy.is-copied{background:#ede4ff;color:#5b21b6;cursor:default}.fw-skill-cta-action-icon{flex:none;width:0.85rem;height:0.85rem}.fw-skill-cta-dismiss{position:absolute;top:-0.6rem;right:-0.6rem;display:flex;align-items:center;justify-content:center;width:1.35rem;height:1.35rem;padding:0;border:1px solid rgba(146, 73, 231, 0.28);border-radius:999px;background:#fff;color:#7c3aed;font:inherit;font-size:0.9rem;line-height:1;cursor:pointer}.fw-skill-cta-dismiss:hover{background:#f3edff;color:#1c1917}html.dark .fw-skill-cta-dismiss,html[data-theme=\"dark\"] .fw-skill-cta-dismiss{background:#1c1917;border-color:rgba(167, 139, 250, 0.45);color:#c4b5fd}.fw-skill-cta-dismiss[hidden],.fw-skill-cta-prompt[hidden]{display:none}.fw-skill-cta-prompt{box-sizing:border-box;width:100%;padding:0.45rem 0.6rem;border:1px solid rgba(146, 73, 231, 0.22);border-radius:0.55rem;background:#fff}.fw-skill-cta-prompt-text{display:block;overflow-x:auto;color:#57534e;font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;font-size:0.68rem;line-height:1.4;white-space:nowrap;scrollbar-width:none;-webkit-mask-image:linear-gradient(to right, #000 85%, transparent);mask-image:linear-gradient(to right, #000 85%, transparent)}.fw-skill-cta-prompt-text::-webkit-scrollbar{display:none}.fw-skill-cta-copy:focus-visible,.fw-skill-cta-dismiss:focus-visible,.fw-skill-cta-prompt:focus-visible{outline:2px solid #9249e7;outline-offset:2px}html.dark .fw-skill-cta-bar,html[data-theme=\"dark\"] .fw-skill-cta-bar{background:#1c1917;border-color:rgba(167, 139, 250, 0.45)}html.dark .fw-skill-cta-logo.is-mono,html[data-theme=\"dark\"] .fw-skill-cta-logo.is-mono{filter:invert(1)}html.dark .fw-skill-cta-title,html[data-theme=\"dark\"] .fw-skill-cta-title{color:#fafaf9}html.dark .fw-skill-cta-copy.is-copied,html[data-theme=\"dark\"] .fw-skill-cta-copy.is-copied{background:rgba(167, 139, 250, 0.18);color:#ddd6fe}html.dark .fw-skill-cta-prompt,html[data-theme=\"dark\"] .fw-skill-cta-prompt{background:#292524;border-color:rgba(167, 139, 250, 0.35)}html.dark .fw-skill-cta-prompt-text,html[data-theme=\"dark\"] .fw-skill-cta-prompt-text{color:#d6d3d1}@media (max-width: 480px){.fw-skill-cta{left:max(1rem, env(safe-area-inset-left));width:auto}}@keyframes fw-skill-cta-in{0%{transform:translateY(14px);opacity:0}55%{transform:translateY(-5px);opacity:1}75%{transform:translateY(2px)}100%{transform:translateY(0)}}@media (prefers-reduced-motion: reduce){.fw-skill-cta-bar{animation:none}}@media print{.fw-skill-cta{display:none}}"},{"filePath":"brand-v2/brand-v2.css","href":"/docs/_mintlify/custom/fireworksai-docs/f00ec2b8f972b8f5/brand-v2/brand-v2.css"}],"page":{"pagePath":"api-reference/create-dpo-job","slug":"/api-reference/create-dpo-job","pageMetadata":{"title":"Create DPO Job","openapi":"post /v1/accounts/{account_id}/dpoJobs","description":"Create a DPO fine-tuning job from a dataset, with training config, a loss config for DPO or ORPO, Weights \u0026 Biases logging, and S3 or Azure dataset access.","href":"/api-reference/create-dpo-job"},"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: \"Create a DPO fine-tuning job from a dataset, with training config, a loss config for DPO or ORPO, Weights \u0026 Biases logging, and S3 or Azure dataset access.\"\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 DPO Job","openapi":"post /v1/accounts/{account_id}/dpoJobs","description":"Create a DPO fine-tuning job from a dataset, with training config, a loss config for DPO or ORPO, Weights \u0026 Biases logging, and S3 or Azure dataset access.","href":"/api-reference/create-dpo-job"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/fireworksai-docs/0fd851b923cc8880/training-skill-cta.js","/docs/_mintlify/custom/fireworksai-docs/4b5856b7e8267204/brand-v2/brand-v2.js","/docs/_mintlify/custom/fireworksai-docs/2086bd10b26e8d71/not-found-tracking.js"],"openApiReferenceData":{"operation":{"operationId":"Gateway_CreateDpoJob","responses":{"200":"c36ad975-2ff4-4117-8e8b-84a116cbb433"},"parameters":["3916e0a9-3023-41b5-9a00-c9623843cb31","745f8018-1c7b-4a30-b77f-48309692205f"],"requestBody":"7024152d-1680-4b84-8034-88e6cd0367b9","tags":["Gateway"],"method":"post","type":"path","servers":["c79a4852-9e7e-4435-8772-ea1cc876dbf2"],"security":["878ef1a3-2fe1-439e-ba84-3757a4a864ae"],"path":"/v1/accounts/{account_id}/dpoJobs","baseUrlOptions":["https://api.fireworks.ai"],"title":"","description":"Create a DPO fine-tuning job from a dataset, with training config, a loss config for DPO or ORPO, Weights \u0026 Biases logging, and S3 or Azure dataset access.","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","disableProxy":true},"dependencies":{"parameters":{"3916e0a9-3023-41b5-9a00-c9623843cb31":{"name":"dpoJobId","description":"ID of the DPO job, a random ID will be generated if not specified.","in":"query","required":false,"schema":{"type":"string","isRequired":false,"description":"ID of the DPO job, a random ID will be generated if not specified.","uniqueKey":"","typeLabel":"string"}},"745f8018-1c7b-4a30-b77f-48309692205f":{"name":"account_id","in":"path","required":true,"description":"The Account Id","schema":{"type":"string","isRequired":true,"description":"The Account Id","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"dataset":{"type":"string","description":"The name of the dataset used for training.","isRequired":true,"uniqueKey":"dataset","typeLabel":"string"},"displayName":{"type":"string","uniqueKey":"displayName","typeLabel":"string"},"trainingConfig":{"type":"object","properties":{"outputModel":{"type":"string","description":"The model ID to be assigned to the resulting fine-tuned model. If not specified, the job ID will be used.","uniqueKey":"trainingConfig.outputModel","typeLabel":"string"},"baseModel":{"type":"string","description":"The name of the base model to be fine-tuned\nOnly one of 'base_model' or 'warm_start_from' should be specified.","uniqueKey":"trainingConfig.baseModel","typeLabel":"string"},"warmStartFrom":{"type":"string","description":"The PEFT addon model in Fireworks format to be fine-tuned from\nOnly one of 'base_model' or 'warm_start_from' should be specified.","uniqueKey":"trainingConfig.warmStartFrom","typeLabel":"string"},"jinjaTemplate":{"type":"string","description":"Deprecated: literal Jinja templates are not supported by Training V2.\nConversation rendering is selected from the base model's registered\nrenderer configuration instead.","uniqueKey":"trainingConfig.jinjaTemplate","typeLabel":"string"},"learningRate":{"type":"number","format":"float","description":"The learning rate used for training.","uniqueKey":"trainingConfig.learningRate","typeLabel":"number\u003cfloat>"},"maxContextLength":{"type":"integer","format":"int32","description":"The maximum context length to use with the model.","uniqueKey":"trainingConfig.maxContextLength","typeLabel":"integer\u003cint32>"},"loraRank":{"type":"integer","format":"int32","description":"The rank of the LoRA layers.","uniqueKey":"trainingConfig.loraRank","typeLabel":"integer\u003cint32>"},"epochs":{"type":"integer","format":"int32","description":"The number of epochs to train for.","uniqueKey":"trainingConfig.epochs","typeLabel":"integer\u003cint32>"},"batchSize":{"type":"integer","format":"int32","description":"Deprecated: legacy V1 token budget. Training V2 batches by samples via\nbatch_size_samples.","uniqueKey":"trainingConfig.batchSize","typeLabel":"integer\u003cint32>"},"gradientAccumulationSteps":{"type":"integer","format":"int32","description":"Deprecated: legacy V1 gradient accumulation. Training V2 batches by\nsamples via batch_size_samples and rejects this field when set.","uniqueKey":"trainingConfig.gradientAccumulationSteps","typeLabel":"integer\u003cint32>"},"learningRateWarmupSteps":{"type":"integer","format":"int32","title":"Number of steps for learning rate warm up","uniqueKey":"trainingConfig.learningRateWarmupSteps","typeLabel":"integer\u003cint32>"},"batchSizeSamples":{"type":"integer","format":"int32","description":"The number of samples per gradient batch.","uniqueKey":"trainingConfig.batchSizeSamples","typeLabel":"integer\u003cint32>"},"optimizerWeightDecay":{"type":"number","format":"float","description":"Weight decay (L2 regularization) for optimizer.","uniqueKey":"trainingConfig.optimizerWeightDecay","typeLabel":"number\u003cfloat>"},"trainerShardingScheme":{"type":"object","properties":{"tensorParallelism":{"type":"integer","format":"int32","description":"Tensor-parallel degree. 0 means unspecified (server defaults to 1).","uniqueKey":"trainingConfig.trainerShardingScheme.tensorParallelism","typeLabel":"integer\u003cint32>"},"pipelineParallelism":{"type":"integer","format":"int32","description":"Pipeline-parallel degree. 0 means unspecified (server defaults to 1).","uniqueKey":"trainingConfig.trainerShardingScheme.pipelineParallelism","typeLabel":"integer\u003cint32>"},"contextParallelism":{"type":"integer","format":"int32","description":"Context-parallel degree. 0 means unspecified (server defaults to 1).","uniqueKey":"trainingConfig.trainerShardingScheme.contextParallelism","typeLabel":"integer\u003cint32>"},"expertParallelism":{"type":"integer","format":"int32","description":"Expert-parallel degree. 0 means unspecified (server defaults to 1).","uniqueKey":"trainingConfig.trainerShardingScheme.expertParallelism","typeLabel":"integer\u003cint32>"},"sequenceParallelism":{"type":"boolean","description":"Whether sequence parallelism should be enabled.","uniqueKey":"trainingConfig.trainerShardingScheme.sequenceParallelism","typeLabel":"boolean"}},"description":"Structured trainer sharding/parallelism configuration.","uniqueKey":"trainingConfig.trainerShardingScheme","typeLabel":"object"},"loraAlpha":{"type":"integer","format":"int32","description":"LoRA alpha scaling factor.\nIf not specified (or 0), trainer defaults are used.","uniqueKey":"trainingConfig.loraAlpha","typeLabel":"integer\u003cint32>"},"loraDropout":{"type":"number","format":"float","description":"LoRA dropout probability.","uniqueKey":"trainingConfig.loraDropout","typeLabel":"number\u003cfloat>"},"loraTargetModules":{"type":"array","items":{"type":"string","uniqueKey":"trainingConfig.loraTargetModules.items.[INDEX]","typeLabel":"string"},"description":"Optional LoRA target module names (e.g. q_proj, k_proj, v_proj).","uniqueKey":"trainingConfig.loraTargetModules","typeLabel":"string[]"},"lrScheduler":{"type":"object","properties":{"constant":{"type":"object","description":"Constant learning rate held flat after warmup (legacy default). No decay knobs.","uniqueKey":"trainingConfig.lrScheduler.constant","typeLabel":"object"},"linear":{"type":"object","properties":{"minLrRatio":{"type":"number","format":"float","description":"Floor learning rate as a fraction of the peak learning rate (0.0 = decay to\nzero, 0.1 = decay to 10% of the peak learning rate).","uniqueKey":"trainingConfig.lrScheduler.linear.minLrRatio","typeLabel":"number\u003cfloat>"},"decayRatio":{"type":"number","format":"float","description":"Fraction of total training steps over which to decay. 0 (unset) decays\nover the full run.","uniqueKey":"trainingConfig.lrScheduler.linear.decayRatio","typeLabel":"number\u003cfloat>"}},"description":"Linear decay from the peak learning rate toward min_lr_ratio after warmup.","uniqueKey":"trainingConfig.lrScheduler.linear","typeLabel":"object"},"cosine":{"type":"object","properties":{"minLrRatio":{"type":"number","format":"float","description":"Floor learning rate as a fraction of the peak learning rate (0.0 = decay to\nzero, 0.1 = decay to 10% of the peak learning rate).","uniqueKey":"trainingConfig.lrScheduler.cosine.minLrRatio","typeLabel":"number\u003cfloat>"},"decayRatio":{"type":"number","format":"float","description":"Fraction of total training steps over which to decay. 0 (unset) decays\nover the full run.","uniqueKey":"trainingConfig.lrScheduler.cosine.decayRatio","typeLabel":"number\u003cfloat>"}},"description":"Cosine annealing from the peak learning rate toward min_lr_ratio after warmup.","uniqueKey":"trainingConfig.lrScheduler.cosine","typeLabel":"object"}},"description":"The learning-rate schedule (constant/linear/cosine + per-type knobs).\nWhen unset, the trainer uses the legacy constant schedule.","uniqueKey":"trainingConfig.lrScheduler","typeLabel":"object"}},"title":"BaseTrainingConfig contains common configuration fields shared across\ndifferent training job types.","description":"Common training configurations.","uniqueKey":"trainingConfig","typeLabel":"BaseTrainingConfig contains common configuration fields shared across\ndifferent training job types. · object"},"wandbConfig":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether to enable wandb logging.","uniqueKey":"wandbConfig.enabled","typeLabel":"boolean"},"apiKey":{"type":"string","description":"The API key for the wandb service.","uniqueKey":"wandbConfig.apiKey","typeLabel":"string"},"project":{"type":"string","description":"The project name for the wandb service.","uniqueKey":"wandbConfig.project","typeLabel":"string"},"entity":{"type":"string","description":"The entity name for the wandb service.","uniqueKey":"wandbConfig.entity","typeLabel":"string"},"runId":{"type":"string","description":"The run ID for the wandb service.","uniqueKey":"wandbConfig.runId","typeLabel":"string"}},"description":"The Weights \u0026 Biases team/user account for logging job progress.","uniqueKey":"wandbConfig","typeLabel":"object"},"lossConfig":{"type":"object","properties":{"method":{"type":"string","enum":["METHOD_UNSPECIFIED","GRPO","DAPO","DPO","ORPO","GSPO_TOKEN"],"default":"METHOD_UNSPECIFIED","title":"- METHOD_UNSPECIFIED: Defaults to GRPO\n - GRPO: Group Relative Policy Optimization (default for preference jobs)\n - DAPO: Decoupled Alignment Preference Optimization\n - DPO: Direct Preference Optimization\n - ORPO: Odds Ratio Preference Optimization (reference-free)\n - GSPO_TOKEN: Group Sequence Policy Optimization (token-level)","uniqueKey":"lossConfig.method","typeLabel":"enum\u003cstring>"},"klBeta":{"type":"number","format":"float","description":"KL coefficient (beta) override for GRPO-like methods.\nIf unset, the trainer default is used.","uniqueKey":"lossConfig.klBeta","typeLabel":"number\u003cfloat>"},"dpo":{"type":"object","properties":{"beta":{"type":"number","format":"float","description":"DPO temperature parameter (beta in the paper). Must be > 0 and \u003c 0.5.","uniqueKey":"lossConfig.dpo.beta","typeLabel":"number\u003cfloat>"},"refCacheConcurrency":{"type":"integer","format":"int32","description":"Max concurrent reference forward passes during cache warm-up.","uniqueKey":"lossConfig.dpo.refCacheConcurrency","typeLabel":"integer\u003cint32>"},"refCacheBatchSize":{"type":"integer","format":"int32","description":"Number of preference pairs per reference forward call during caching.","uniqueKey":"lossConfig.dpo.refCacheBatchSize","typeLabel":"integer\u003cint32>"}},"description":"DPO-specific configuration. Intended for METHOD=DPO.","uniqueKey":"lossConfig.dpo","typeLabel":"object"},"orpo":{"type":"object","properties":{"lambda":{"type":"number","format":"float","description":"Weight for the ORPO odds-ratio loss term.","uniqueKey":"lossConfig.orpo.lambda","typeLabel":"number\u003cfloat>"}},"description":"ORPO-specific configuration. Intended for METHOD=ORPO.","uniqueKey":"lossConfig.orpo","typeLabel":"object"}},"description":"Loss configuration for the training job.\nIf not specified, defaults to DPO loss.\nSet method to ORPO for ORPO training.","uniqueKey":"lossConfig","typeLabel":"object"},"awsS3Config":{"type":"object","properties":{"credentialsSecret":{"type":"string","title":"Reference to a Secret resource containing AWS access key credentials.\nFormat: accounts/{account_id}/secrets/{secret_id}\nThe secret value must be JSON: {\"aws_access_key_id\": \"AKIA...\", \"aws_secret_access_key\": \"...\"}","uniqueKey":"awsS3Config.credentialsSecret","typeLabel":"string"},"iamRoleArn":{"type":"string","title":"IAM role ARN to assume for accessing S3 datasets via GCP OIDC federation.\nFormat: arn:aws:iam::account-id:role/role-name","uniqueKey":"awsS3Config.iamRoleArn","typeLabel":"string"}},"description":"The AWS configuration for S3 dataset access.","uniqueKey":"awsS3Config","typeLabel":"object"},"azureBlobStorageConfig":{"type":"object","properties":{"credentialsSecret":{"type":"string","description":"Reference to a Secret resource containing Azure credentials.\nFormat: accounts/{account_id}/secrets/{secret_id}\nThe secret value must be JSON: {\"connection_string\": \"...\"} or {\"sas_token\": \"...\"} or {\"account_key\": \"...\"}\nMutually exclusive with managed_identity_client_id.","uniqueKey":"azureBlobStorageConfig.credentialsSecret","typeLabel":"string"},"managedIdentityClientId":{"type":"string","description":"Managed Identity Client ID for GCP-to-Azure Workload Identity Federation.\nFormat: uuid\nMutually exclusive with credentials_secret.","uniqueKey":"azureBlobStorageConfig.managedIdentityClientId","typeLabel":"string"},"tenantId":{"type":"string","title":"Azure tenant ID for Workload Identity Federation.\nFormat: uuid","uniqueKey":"azureBlobStorageConfig.tenantId","typeLabel":"string"}},"description":"The Azure configuration for Azure Blob Storage dataset access.","uniqueKey":"azureBlobStorageConfig","typeLabel":"object"},"purpose":{"type":"string","enum":["PURPOSE_UNSPECIFIED","PURPOSE_PILOT"],"default":"PURPOSE_UNSPECIFIED","description":"Scheduling purpose for this job.","uniqueKey":"purpose","typeLabel":"enum\u003cstring>"},"useReservation":{"type":"boolean","description":"Whether to try the account's reservation capacity before falling back to shared trainer capacity.","uniqueKey":"useReservation","typeLabel":"boolean"}},"required":["dataset"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"dataset":"\u003cstring>","displayName":"\u003cstring>","trainingConfig":{"outputModel":"\u003cstring>","baseModel":"\u003cstring>","warmStartFrom":"\u003cstring>","jinjaTemplate":"\u003cstring>","learningRate":123,"maxContextLength":123,"loraRank":123,"epochs":123,"batchSize":123,"gradientAccumulationSteps":123,"learningRateWarmupSteps":123,"batchSizeSamples":123,"optimizerWeightDecay":123,"trainerShardingScheme":{"tensorParallelism":123,"pipelineParallelism":123,"contextParallelism":123,"expertParallelism":123,"sequenceParallelism":true},"loraAlpha":123,"loraDropout":123,"loraTargetModules":["\u003cstring>"],"lrScheduler":{"constant":{},"linear":{"minLrRatio":123,"decayRatio":123},"cosine":{"minLrRatio":123,"decayRatio":123}}},"wandbConfig":{"enabled":true,"apiKey":"\u003cstring>","project":"\u003cstring>","entity":"\u003cstring>","runId":"\u003cstring>"},"lossConfig":{"method":"METHOD_UNSPECIFIED","klBeta":123,"dpo":{"beta":123,"refCacheConcurrency":123,"refCacheBatchSize":123},"orpo":{"lambda":123}},"awsS3Config":{"credentialsSecret":"\u003cstring>","iamRoleArn":"\u003cstring>"},"azureBlobStorageConfig":{"credentialsSecret":"\u003cstring>","managedIdentityClientId":"\u003cstring>","tenantId":"\u003cstring>"},"purpose":"PURPOSE_UNSPECIFIED","useReservation":true}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"c36ad975-2ff4-4117-8e8b-84a116cbb433":{"description":"A successful response.","content":{"application/json":{"schema":{"type":"object","properties":{"dataset":{"type":"string","description":"The name of the dataset used for training.","isRequired":true,"uniqueKey":"dataset","typeLabel":"string"},"name":{"type":"string","readOnly":true,"uniqueKey":"name","typeLabel":"string"},"displayName":{"type":"string","uniqueKey":"displayName","typeLabel":"string"},"createTime":{"type":"string","format":"date-time","readOnly":true,"uniqueKey":"createTime","typeLabel":"string\u003cdate-time>"},"completedTime":{"type":"string","format":"date-time","readOnly":true,"uniqueKey":"completedTime","typeLabel":"string\u003cdate-time>"},"state":{"type":"string","enum":["JOB_STATE_UNSPECIFIED","JOB_STATE_CREATING","JOB_STATE_RUNNING","JOB_STATE_COMPLETED","JOB_STATE_FAILED","JOB_STATE_CANCELLED","JOB_STATE_DELETING","JOB_STATE_WRITING_RESULTS","JOB_STATE_VALIDATING","JOB_STATE_DELETING_CLEANING_UP","JOB_STATE_PENDING","JOB_STATE_EXPIRED","JOB_STATE_RE_QUEUEING","JOB_STATE_CREATING_INPUT_DATASET","JOB_STATE_IDLE","JOB_STATE_CANCELLING","JOB_STATE_EARLY_STOPPED","JOB_STATE_PAUSED","JOB_STATE_DELETED","JOB_STATE_ARCHIVED"],"default":"JOB_STATE_UNSPECIFIED","description":"JobState represents the state an asynchronous job can be in.\n\n - JOB_STATE_PAUSED: Job is paused, typically due to account suspension or manual intervention.\n - JOB_STATE_DELETED: Job has been deleted.\n - JOB_STATE_ARCHIVED: User-facing state for jobs whose row is retained post-delete (e.g. RLOR\ntrainers within the checkpoint retention window). The internal row is\nstill in JOB_STATE_DELETED; the gateway translates it to ARCHIVED on\npublic responses.","readOnly":true,"uniqueKey":"state","typeLabel":"enum\u003cstring>"},"status":{"type":"object","properties":{"code":{"type":"string","enum":["OK","CANCELLED","UNKNOWN","INVALID_ARGUMENT","DEADLINE_EXCEEDED","NOT_FOUND","ALREADY_EXISTS","PERMISSION_DENIED","UNAUTHENTICATED","RESOURCE_EXHAUSTED","FAILED_PRECONDITION","ABORTED","OUT_OF_RANGE","UNIMPLEMENTED","INTERNAL","UNAVAILABLE","DATA_LOSS"],"default":"OK","description":"The status code.","title":"Mimics [https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto]","uniqueKey":"status.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"A developer-facing error message in English.","uniqueKey":"status.message","typeLabel":"string"}},"title":"Mimics [https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto]","readOnly":true,"uniqueKey":"status","typeLabel":"Mimics [https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto] · object"},"createdBy":{"type":"string","description":"The email address of the user who initiated this dpo job.","readOnly":true,"uniqueKey":"createdBy","typeLabel":"string"},"trainingConfig":{"type":"object","properties":{"outputModel":{"type":"string","description":"The model ID to be assigned to the resulting fine-tuned model. If not specified, the job ID will be used.","uniqueKey":"trainingConfig.outputModel","typeLabel":"string"},"baseModel":{"type":"string","description":"The name of the base model to be fine-tuned\nOnly one of 'base_model' or 'warm_start_from' should be specified.","uniqueKey":"trainingConfig.baseModel","typeLabel":"string"},"warmStartFrom":{"type":"string","description":"The PEFT addon model in Fireworks format to be fine-tuned from\nOnly one of 'base_model' or 'warm_start_from' should be specified.","uniqueKey":"trainingConfig.warmStartFrom","typeLabel":"string"},"jinjaTemplate":{"type":"string","description":"Deprecated: literal Jinja templates are not supported by Training V2.\nConversation rendering is selected from the base model's registered\nrenderer configuration instead.","uniqueKey":"trainingConfig.jinjaTemplate","typeLabel":"string"},"learningRate":{"type":"number","format":"float","description":"The learning rate used for training.","uniqueKey":"trainingConfig.learningRate","typeLabel":"number\u003cfloat>"},"maxContextLength":{"type":"integer","format":"int32","description":"The maximum context length to use with the model.","uniqueKey":"trainingConfig.maxContextLength","typeLabel":"integer\u003cint32>"},"loraRank":{"type":"integer","format":"int32","description":"The rank of the LoRA layers.","uniqueKey":"trainingConfig.loraRank","typeLabel":"integer\u003cint32>"},"epochs":{"type":"integer","format":"int32","description":"The number of epochs to train for.","uniqueKey":"trainingConfig.epochs","typeLabel":"integer\u003cint32>"},"batchSize":{"type":"integer","format":"int32","description":"Deprecated: legacy V1 token budget. Training V2 batches by samples via\nbatch_size_samples.","uniqueKey":"trainingConfig.batchSize","typeLabel":"integer\u003cint32>"},"gradientAccumulationSteps":{"type":"integer","format":"int32","description":"Deprecated: legacy V1 gradient accumulation. Training V2 batches by\nsamples via batch_size_samples and rejects this field when set.","uniqueKey":"trainingConfig.gradientAccumulationSteps","typeLabel":"integer\u003cint32>"},"learningRateWarmupSteps":{"type":"integer","format":"int32","title":"Number of steps for learning rate warm up","uniqueKey":"trainingConfig.learningRateWarmupSteps","typeLabel":"integer\u003cint32>"},"batchSizeSamples":{"type":"integer","format":"int32","description":"The number of samples per gradient batch.","uniqueKey":"trainingConfig.batchSizeSamples","typeLabel":"integer\u003cint32>"},"optimizerWeightDecay":{"type":"number","format":"float","description":"Weight decay (L2 regularization) for optimizer.","uniqueKey":"trainingConfig.optimizerWeightDecay","typeLabel":"number\u003cfloat>"},"trainerShardingScheme":{"type":"object","properties":{"tensorParallelism":{"type":"integer","format":"int32","description":"Tensor-parallel degree. 0 means unspecified (server defaults to 1).","uniqueKey":"trainingConfig.trainerShardingScheme.tensorParallelism","typeLabel":"integer\u003cint32>"},"pipelineParallelism":{"type":"integer","format":"int32","description":"Pipeline-parallel degree. 0 means unspecified (server defaults to 1).","uniqueKey":"trainingConfig.trainerShardingScheme.pipelineParallelism","typeLabel":"integer\u003cint32>"},"contextParallelism":{"type":"integer","format":"int32","description":"Context-parallel degree. 0 means unspecified (server defaults to 1).","uniqueKey":"trainingConfig.trainerShardingScheme.contextParallelism","typeLabel":"integer\u003cint32>"},"expertParallelism":{"type":"integer","format":"int32","description":"Expert-parallel degree. 0 means unspecified (server defaults to 1).","uniqueKey":"trainingConfig.trainerShardingScheme.expertParallelism","typeLabel":"integer\u003cint32>"},"sequenceParallelism":{"type":"boolean","description":"Whether sequence parallelism should be enabled.","uniqueKey":"trainingConfig.trainerShardingScheme.sequenceParallelism","typeLabel":"boolean"}},"description":"Structured trainer sharding/parallelism configuration.","uniqueKey":"trainingConfig.trainerShardingScheme","typeLabel":"object"},"loraAlpha":{"type":"integer","format":"int32","description":"LoRA alpha scaling factor.\nIf not specified (or 0), trainer defaults are used.","uniqueKey":"trainingConfig.loraAlpha","typeLabel":"integer\u003cint32>"},"loraDropout":{"type":"number","format":"float","description":"LoRA dropout probability.","uniqueKey":"trainingConfig.loraDropout","typeLabel":"number\u003cfloat>"},"loraTargetModules":{"type":"array","items":{"type":"string","uniqueKey":"trainingConfig.loraTargetModules.items.[INDEX]","typeLabel":"string"},"description":"Optional LoRA target module names (e.g. q_proj, k_proj, v_proj).","uniqueKey":"trainingConfig.loraTargetModules","typeLabel":"string[]"},"lrScheduler":{"type":"object","properties":{"constant":{"type":"object","description":"Constant learning rate held flat after warmup (legacy default). No decay knobs.","uniqueKey":"trainingConfig.lrScheduler.constant","typeLabel":"object"},"linear":{"type":"object","properties":{"minLrRatio":{"type":"number","format":"float","description":"Floor learning rate as a fraction of the peak learning rate (0.0 = decay to\nzero, 0.1 = decay to 10% of the peak learning rate).","uniqueKey":"trainingConfig.lrScheduler.linear.minLrRatio","typeLabel":"number\u003cfloat>"},"decayRatio":{"type":"number","format":"float","description":"Fraction of total training steps over which to decay. 0 (unset) decays\nover the full run.","uniqueKey":"trainingConfig.lrScheduler.linear.decayRatio","typeLabel":"number\u003cfloat>"}},"description":"Linear decay from the peak learning rate toward min_lr_ratio after warmup.","uniqueKey":"trainingConfig.lrScheduler.linear","typeLabel":"object"},"cosine":{"type":"object","properties":{"minLrRatio":{"type":"number","format":"float","description":"Floor learning rate as a fraction of the peak learning rate (0.0 = decay to\nzero, 0.1 = decay to 10% of the peak learning rate).","uniqueKey":"trainingConfig.lrScheduler.cosine.minLrRatio","typeLabel":"number\u003cfloat>"},"decayRatio":{"type":"number","format":"float","description":"Fraction of total training steps over which to decay. 0 (unset) decays\nover the full run.","uniqueKey":"trainingConfig.lrScheduler.cosine.decayRatio","typeLabel":"number\u003cfloat>"}},"description":"Cosine annealing from the peak learning rate toward min_lr_ratio after warmup.","uniqueKey":"trainingConfig.lrScheduler.cosine","typeLabel":"object"}},"description":"The learning-rate schedule (constant/linear/cosine + per-type knobs).\nWhen unset, the trainer uses the legacy constant schedule.","uniqueKey":"trainingConfig.lrScheduler","typeLabel":"object"}},"title":"BaseTrainingConfig contains common configuration fields shared across\ndifferent training job types.","description":"Common training configurations.","uniqueKey":"trainingConfig","typeLabel":"BaseTrainingConfig contains common configuration fields shared across\ndifferent training job types. · object"},"wandbConfig":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether to enable wandb logging.","uniqueKey":"wandbConfig.enabled","typeLabel":"boolean"},"apiKey":{"type":"string","description":"The API key for the wandb service.","uniqueKey":"wandbConfig.apiKey","typeLabel":"string"},"project":{"type":"string","description":"The project name for the wandb service.","uniqueKey":"wandbConfig.project","typeLabel":"string"},"entity":{"type":"string","description":"The entity name for the wandb service.","uniqueKey":"wandbConfig.entity","typeLabel":"string"},"runId":{"type":"string","description":"The run ID for the wandb service.","uniqueKey":"wandbConfig.runId","typeLabel":"string"},"url":{"type":"string","description":"The URL for the wandb service.","readOnly":true,"uniqueKey":"wandbConfig.url","typeLabel":"string"}},"description":"The Weights \u0026 Biases team/user account for logging job progress.","uniqueKey":"wandbConfig","typeLabel":"object"},"trainerLogsSignedUrl":{"type":"string","description":"The signed URL for the trainer logs file (stdout/stderr).\nOnly populated if the account has trainer log reading enabled.","readOnly":true,"uniqueKey":"trainerLogsSignedUrl","typeLabel":"string"},"lossConfig":{"type":"object","properties":{"method":{"type":"string","enum":["METHOD_UNSPECIFIED","GRPO","DAPO","DPO","ORPO","GSPO_TOKEN"],"default":"METHOD_UNSPECIFIED","title":"- METHOD_UNSPECIFIED: Defaults to GRPO\n - GRPO: Group Relative Policy Optimization (default for preference jobs)\n - DAPO: Decoupled Alignment Preference Optimization\n - DPO: Direct Preference Optimization\n - ORPO: Odds Ratio Preference Optimization (reference-free)\n - GSPO_TOKEN: Group Sequence Policy Optimization (token-level)","uniqueKey":"lossConfig.method","typeLabel":"enum\u003cstring>"},"klBeta":{"type":"number","format":"float","description":"KL coefficient (beta) override for GRPO-like methods.\nIf unset, the trainer default is used.","uniqueKey":"lossConfig.klBeta","typeLabel":"number\u003cfloat>"},"dpo":{"type":"object","properties":{"beta":{"type":"number","format":"float","description":"DPO temperature parameter (beta in the paper). Must be > 0 and \u003c 0.5.","uniqueKey":"lossConfig.dpo.beta","typeLabel":"number\u003cfloat>"},"refCacheConcurrency":{"type":"integer","format":"int32","description":"Max concurrent reference forward passes during cache warm-up.","uniqueKey":"lossConfig.dpo.refCacheConcurrency","typeLabel":"integer\u003cint32>"},"refCacheBatchSize":{"type":"integer","format":"int32","description":"Number of preference pairs per reference forward call during caching.","uniqueKey":"lossConfig.dpo.refCacheBatchSize","typeLabel":"integer\u003cint32>"}},"description":"DPO-specific configuration. Intended for METHOD=DPO.","uniqueKey":"lossConfig.dpo","typeLabel":"object"},"orpo":{"type":"object","properties":{"lambda":{"type":"number","format":"float","description":"Weight for the ORPO odds-ratio loss term.","uniqueKey":"lossConfig.orpo.lambda","typeLabel":"number\u003cfloat>"}},"description":"ORPO-specific configuration. Intended for METHOD=ORPO.","uniqueKey":"lossConfig.orpo","typeLabel":"object"}},"description":"Loss configuration for the training job.\nIf not specified, defaults to DPO loss.\nSet method to ORPO for ORPO training.","uniqueKey":"lossConfig","typeLabel":"object"},"awsS3Config":{"type":"object","properties":{"credentialsSecret":{"type":"string","title":"Reference to a Secret resource containing AWS access key credentials.\nFormat: accounts/{account_id}/secrets/{secret_id}\nThe secret value must be JSON: {\"aws_access_key_id\": \"AKIA...\", \"aws_secret_access_key\": \"...\"}","uniqueKey":"awsS3Config.credentialsSecret","typeLabel":"string"},"iamRoleArn":{"type":"string","title":"IAM role ARN to assume for accessing S3 datasets via GCP OIDC federation.\nFormat: arn:aws:iam::account-id:role/role-name","uniqueKey":"awsS3Config.iamRoleArn","typeLabel":"string"}},"description":"The AWS configuration for S3 dataset access.","uniqueKey":"awsS3Config","typeLabel":"object"},"azureBlobStorageConfig":{"type":"object","properties":{"credentialsSecret":{"type":"string","description":"Reference to a Secret resource containing Azure credentials.\nFormat: accounts/{account_id}/secrets/{secret_id}\nThe secret value must be JSON: {\"connection_string\": \"...\"} or {\"sas_token\": \"...\"} or {\"account_key\": \"...\"}\nMutually exclusive with managed_identity_client_id.","uniqueKey":"azureBlobStorageConfig.credentialsSecret","typeLabel":"string"},"managedIdentityClientId":{"type":"string","description":"Managed Identity Client ID for GCP-to-Azure Workload Identity Federation.\nFormat: uuid\nMutually exclusive with credentials_secret.","uniqueKey":"azureBlobStorageConfig.managedIdentityClientId","typeLabel":"string"},"tenantId":{"type":"string","title":"Azure tenant ID for Workload Identity Federation.\nFormat: uuid","uniqueKey":"azureBlobStorageConfig.tenantId","typeLabel":"string"}},"description":"The Azure configuration for Azure Blob Storage dataset access.","uniqueKey":"azureBlobStorageConfig","typeLabel":"object"},"purpose":{"type":"string","enum":["PURPOSE_UNSPECIFIED","PURPOSE_PILOT"],"default":"PURPOSE_UNSPECIFIED","description":"Scheduling purpose for this job.","uniqueKey":"purpose","typeLabel":"enum\u003cstring>"},"useReservation":{"type":"boolean","description":"Whether to try the account's reservation capacity before falling back to shared trainer capacity.","uniqueKey":"useReservation","typeLabel":"boolean"}},"required":["dataset"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"dataset":"\u003cstring>","name":"\u003cstring>","displayName":"\u003cstring>","createTime":"2023-11-07T05:31:56Z","completedTime":"2023-11-07T05:31:56Z","state":"JOB_STATE_UNSPECIFIED","status":{"code":"OK","message":"\u003cstring>"},"createdBy":"\u003cstring>","trainingConfig":{"outputModel":"\u003cstring>","baseModel":"\u003cstring>","warmStartFrom":"\u003cstring>","jinjaTemplate":"\u003cstring>","learningRate":123,"maxContextLength":123,"loraRank":123,"epochs":123,"batchSize":123,"gradientAccumulationSteps":123,"learningRateWarmupSteps":123,"batchSizeSamples":123,"optimizerWeightDecay":123,"trainerShardingScheme":{"tensorParallelism":123,"pipelineParallelism":123,"contextParallelism":123,"expertParallelism":123,"sequenceParallelism":true},"loraAlpha":123,"loraDropout":123,"loraTargetModules":["\u003cstring>"],"lrScheduler":{"constant":{},"linear":{"minLrRatio":123,"decayRatio":123},"cosine":{"minLrRatio":123,"decayRatio":123}}},"wandbConfig":{"enabled":true,"apiKey":"\u003cstring>","project":"\u003cstring>","entity":"\u003cstring>","runId":"\u003cstring>","url":"\u003cstring>"},"trainerLogsSignedUrl":"\u003cstring>","lossConfig":{"method":"METHOD_UNSPECIFIED","klBeta":123,"dpo":{"beta":123,"refCacheConcurrency":123,"refCacheBatchSize":123},"orpo":{"lambda":123}},"awsS3Config":{"credentialsSecret":"\u003cstring>","iamRoleArn":"\u003cstring>"},"azureBlobStorageConfig":{"credentialsSecret":"\u003cstring>","managedIdentityClientId":"\u003cstring>","tenantId":"\u003cstring>"},"purpose":"PURPOSE_UNSPECIFIED","useReservation":true}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"878ef1a3-2fe1-439e-ba84-3757a4a864ae":{"BearerAuth":{"type":"http","scheme":"bearer","description":"Bearer authentication using your Fireworks API key. Format: Bearer \u003cAPI_KEY>","bearerFormat":"API_KEY","scopes":[],"schemeName":"BearerAuth"}}},"servers":{"c79a4852-9e7e-4435-8772-ea1cc876dbf2":{"url":"https://api.fireworks.ai"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Bearer authentication using your Fireworks API key. Format: Bearer \u003cAPI_KEY>","bearerFormat":"API_KEY","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication using your Fireworks API key. Format: Bearer \u003cAPI_KEY>","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"gateway.openapi.yaml"},"subdomain":"fireworksai-docs","siteName":"Fireworks AI Docs","title":"Create DPO Job - Fireworks AI Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-15T20:46:42.407Z","originalFileLocation":"api-reference/create-dpo-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=\"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=\"Create a DPO fine-tuning job from a dataset, with training config, a loss config for DPO or ORPO, Weights \u0026amp; Biases logging, and S3 or Azure dataset access.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Fireworks AI Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/fireworksai-docs/1wzeLeQ_X9KQpzOR/_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=\"/docs/mintlify-assets/_mintlify/favicons/fireworksai-docs/1wzeLeQ_X9KQpzOR/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/fireworksai-docs/1wzeLeQ_X9KQpzOR/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/fireworksai-docs/1wzeLeQ_X9KQpzOR/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/fireworksai-docs/1wzeLeQ_X9KQpzOR/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/fireworksai-docs/1wzeLeQ_X9KQpzOR/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/fireworksai-docs/1wzeLeQ_X9KQpzOR/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/fireworksai-docs/1wzeLeQ_X9KQpzOR/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/fireworksai-docs/1wzeLeQ_X9KQpzOR/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create DPO Job - Fireworks AI Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a DPO fine-tuning job from a dataset, with training config, a loss config for DPO or ORPO, Weights \u0026amp; Biases logging, and S3 or Azure dataset access.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Fireworks AI Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://fireworks.ai/docs/api-reference/create-dpo-job\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://fireworksai-docs.mintlify.site/docs/_mintlify/api/og/v2?division=Direct+Preference+Optimization+Jobs\u0026amp;title=Create+DPO+Job\u0026amp;description=Create+a+DPO+fine-tuning+job+from+a+dataset%2C+with+training+config%2C+a+loss+config+for+DPO+or+ORPO%2C+Weights+%26+Biases+logging%2C+and+S3+or+Azure+dataset+access.\u0026amp;theme=e6fc9d8dc703196e3eb71e6d\u0026amp;signature=c697e842e8bccfa73e27dc8564fe9a4571d652c0c017ce0ab1bfa44c4ef640ff\">\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 DPO Job - Fireworks AI Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a DPO fine-tuning job from a dataset, with training config, a loss config for DPO or ORPO, Weights \u0026amp; Biases logging, and S3 or Azure dataset access.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://fireworksai-docs.mintlify.site/docs/_mintlify/api/og/v2?division=Direct+Preference+Optimization+Jobs\u0026amp;title=Create+DPO+Job\u0026amp;description=Create+a+DPO+fine-tuning+job+from+a+dataset%2C+with+training+config%2C+a+loss+config+for+DPO+or+ORPO%2C+Weights+%26+Biases+logging%2C+and+S3+or+Azure+dataset+access.\u0026amp;theme=e6fc9d8dc703196e3eb71e6d\u0026amp;signature=c697e842e8bccfa73e27dc8564fe9a4571d652c0c017ce0ab1bfa44c4ef640ff\">\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=\"/docs/mintlify-assets/_mintlify/favicons/fireworksai-docs/1wzeLeQ_X9KQpzOR/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Fireworks AI Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#9249e7\">\u003clink data-mint-head rel=\"canonical\" href=\"https://fireworks.ai/docs/api-reference/create-dpo-job\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/create-dpo-job.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://fireworks.ai/#organization\",\"name\":\"Fireworks AI Docs\",\"url\":\"https://fireworks.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/fireworksai-docs/k8IlrNKHdagCbcj7/logo/logo.svg?fit=max\u0026auto=format\u0026n=k8IlrNKHdagCbcj7\u0026q=85\u0026s=aa60cf6047af1412adca3c341c1af7cf\"}},{\"@type\":\"WebSite\",\"@id\":\"https://fireworks.ai/docs#website\",\"name\":\"Fireworks AI Docs\",\"url\":\"https://fireworks.ai/docs\",\"publisher\":{\"@id\":\"https://fireworks.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://fireworks.ai/docs/api-reference/create-dpo-job#webpage\",\"url\":\"https://fireworks.ai/docs/api-reference/create-dpo-job\",\"name\":\"Create DPO Job\",\"description\":\"Create a DPO fine-tuning job from a dataset, with training config, a loss config for DPO or ORPO, Weights \u0026 Biases logging, and S3 or Azure dataset access.\",\"dateModified\":\"2026-10-15T20:46:42.407Z\",\"isPartOf\":{\"@id\":\"https://fireworks.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://fireworks.ai/docs/api-reference/create-dpo-job#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://fireworks.ai/docs/api-reference/create-dpo-job#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Training\",\"item\":\"https://fireworks.ai/docs/api-reference/create-dataset\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create DPO Job\",\"item\":\"https://fireworks.ai/docs/api-reference/create-dpo-job\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://fireworks.ai/docs/api-reference/create-dpo-job#apireference\",\"headline\":\"Create DPO Job\",\"name\":\"Create DPO Job\",\"description\":\"Create a DPO fine-tuning job from a dataset, with training config, a loss config for DPO or ORPO, Weights \u0026 Biases logging, and S3 or Azure dataset access.\",\"url\":\"https://fireworks.ai/docs/api-reference/create-dpo-job\",\"mainEntityOfPage\":{\"@id\":\"https://fireworks.ai/docs/api-reference/create-dpo-job#webpage\"},\"dateModified\":\"2026-10-15T20:46:42.407Z\",\"publisher\":{\"@id\":\"https://fireworks.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://fireworks.ai/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Fireworks AI Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Fireworks AI Docs","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/getting-started/introduction"}]},{"tab":"Nexus","pages":[{"title":"Nexus","href":"/nexus"}]},{"tab":"API \u0026 SDK Reference","groups":[{"group":"API Reference","icon":"brackets-curly","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"Python SDK","icon":"python","href":"/tools-sdks/python-sdk"}]},{"group":"Inference","icon":"zap","pages":[{"group":"OpenAI-compatible API","pages":[{"openapi":"post /v1/chat/completions","title":"Create Chat Completion","href":"/api-reference/post-chatcompletions"},{"openapi":"post /v1/completions","title":"Create Completion","href":"/api-reference/post-completions"}]},{"group":"Anthropic-compatible API","pages":[{"openapi":"post /v1/messages","title":"Create a Message","href":"/api-reference/anthropic-messages"}]},{"group":"System One","pages":[{"title":"System One decisions API","href":"/api-reference/post-systemone"},{"title":"Decisions API (OpenAI-compatible)","href":"/api-reference/post-decisions"}]},{"group":"Responses API","pages":[{"openapi":"post /v1/responses","title":"Create Response","href":"/api-reference/post-responses"},{"openapi":"get /v1/responses","title":"List Responses","href":"/api-reference/list-responses"},{"openapi":"get /v1/responses/{response_id}","title":"Get Response","href":"/api-reference/get-response"},{"openapi":"delete /v1/responses/{response_id}","title":"Delete Response","href":"/api-reference/delete-response"}]},{"group":"Batch API","pages":[{"openapi":"post /v1/accounts/{account_id}/batchInferenceJobs","title":"Create Batch Inference Job","href":"/api-reference/create-batch-inference-job"},{"openapi":"get /v1/accounts/{account_id}/batchInferenceJobs","title":"List Batch Inference Jobs","href":"/api-reference/list-batch-inference-jobs"},{"openapi":"get /v1/accounts/{account_id}/batchInferenceJobs/{batch_inference_job_id}","title":"Get Batch Inference Job","href":"/api-reference/get-batch-inference-job"},{"openapi":"delete /v1/accounts/{account_id}/batchInferenceJobs/{batch_inference_job_id}","title":"Delete Batch Inference Job","href":"/api-reference/delete-batch-inference-job"}]},{"group":"Embeddings API","pages":[{"openapi":"post /rerank","title":"Rerank documents","href":"/api-reference/rerank-documents"},{"openapi":"post /embeddings","title":"Create embeddings","href":"/api-reference/creates-an-embedding-vector-representing-the-input-text"}]},{"group":"Specialized Model Inference","pages":[{"title":"API overview","href":"/api-reference/specialized-model-inference/overview"},{"title":"Load an adapter","api":"POST https://api.fireworks.ai/v1/accounts/{account_id}/deployedModels","href":"/api-reference/specialized-model-inference/load"},{"title":"List loaded adapters","api":"GET https://api.fireworks.ai/v1/accounts/{account_id}/deployedModels","href":"/api-reference/specialized-model-inference/list"},{"title":"Get a loaded adapter","api":"GET https://api.fireworks.ai/v1/accounts/{account_id}/deployedModels/{deployed_model_id}","href":"/api-reference/specialized-model-inference/get"},{"title":"Unload an adapter","api":"DELETE https://api.fireworks.ai/v1/accounts/{account_id}/deployedModels/{deployed_model_id}","href":"/api-reference/specialized-model-inference/unload"}]}]},{"group":"Deployments","icon":"rocket","pages":[{"group":"Deployments","pages":[{"openapi":"post /v1/accounts/{account_id}/deployments","title":"Create Deployment","href":"/api-reference/create-deployment"},{"openapi":"get /v1/accounts/{account_id}/deployments","title":"List Deployments","href":"/api-reference/list-deployments"},{"openapi":"get /v1/accounts/{account_id}/deployments/{deployment_id}","title":"Get Deployment","href":"/api-reference/get-deployment"},{"openapi":"patch /v1/accounts/{account_id}/deployments/{deployment_id}","title":"Update Deployment","href":"/api-reference/update-deployment"},{"openapi":"delete /v1/accounts/{account_id}/deployments/{deployment_id}","title":"Delete Deployment","href":"/api-reference/delete-deployment"},{"openapi":"post /v1/accounts/{account_id}/deployments/{deployment_id}:undelete","title":"Undelete Deployment","href":"/api-reference/undelete-deployment"},{"openapi":"patch /v1/accounts/{account_id}/deployments/{deployment_id}:scale","title":"Scale Deployment to a specific number of replicas or to zero","href":"/api-reference/scale-deployment"}]},{"group":"Models","pages":[{"openapi":"post /v1/accounts/{account_id}/models","title":"Create Model","href":"/api-reference/create-model"},{"openapi":"get /v1/accounts/{account_id}/models","title":"List Models","href":"/api-reference/list-models"},{"openapi":"get /v1/accounts/{account_id}/models/{model_id}","title":"Get Model","href":"/api-reference/get-model"},{"openapi":"post /v1/accounts/{account_id}/models/{model_id}:getUploadEndpoint","title":"Get Model Upload Endpoint","href":"/api-reference/get-model-upload-endpoint"},{"openapi":"get /v1/accounts/{account_id}/models/{model_id}:getDownloadEndpoint","title":"Get Model Download Endpoint","href":"/api-reference/get-model-download-endpoint"},{"openapi":"patch /v1/accounts/{account_id}/models/{model_id}","title":"Update Model","href":"/api-reference/update-model"},{"openapi":"delete /v1/accounts/{account_id}/models/{model_id}","title":"Delete Model","href":"/api-reference/delete-model"},{"openapi":"post /v1/accounts/{account_id}/models/{model_id}:prepare","title":"Prepare Model for different precisions","href":"/api-reference/prepare-model"},{"openapi":"get /v1/accounts/{account_id}/models/{model_id}:validateUpload","title":"Validate Model Upload","href":"/api-reference/validate-model-upload"}]},{"group":"LoRA","pages":[{"openapi":"post /v1/accounts/{account_id}/deployedModels","title":"Load LoRA","href":"/api-reference/create-deployed-model"},{"openapi":"get /v1/accounts/{account_id}/deployedModels","title":"List LoRAs","href":"/api-reference/list-deployed-models"},{"openapi":"get /v1/accounts/{account_id}/deployedModels/{deployed_model_id}","title":"Get LoRA","href":"/api-reference/get-deployed-model"},{"openapi":"patch /v1/accounts/{account_id}/deployedModels/{deployed_model_id}","title":"Update LoRA","href":"/api-reference/update-deployed-model"},{"openapi":"delete /v1/accounts/{account_id}/deployedModels/{deployed_model_id}","title":"Unload LoRA","href":"/api-reference/delete-deployed-model"}]},{"group":"Routers","pages":[{"openapi":"post /v1/accounts/{account_id}/routers","title":"Create Router","href":"/api-reference/create-router"},{"openapi":"get /v1/accounts/{account_id}/routers","title":"List Routers","href":"/api-reference/list-routers"},{"openapi":"get /v1/accounts/{account_id}/routers/{router_id}","title":"CRUD APIs for routers.\nGet Router","href":"/api-reference/get-router"},{"openapi":"patch /v1/accounts/{account_id}/routers/{router_id}","title":"Update Router","href":"/api-reference/update-router"},{"openapi":"delete /v1/accounts/{account_id}/routers/{router_id}","title":"Delete Router","href":"/api-reference/delete-router"}]},{"group":"Deployment Shapes","pages":[{"openapi":"get /v1/accounts/{account_id}/deploymentShapes/{deployment_shape_id}/versions","title":"List Deployment Shapes Versions","href":"/api-reference/list-deployment-shape-versions"},{"openapi":"post /v1/accounts/{account_id}/deploymentShapeVersions:match","title":"Match Deployment Shape Versions","href":"/api-reference/match-deployment-shape-versions"},{"openapi":"get /v1/accounts/{account_id}/deploymentShapes/{deployment_shape_id}","title":"Get Deployment Shape","href":"/api-reference/get-deployment-shape"},{"openapi":"get /v1/accounts/{account_id}/deploymentShapes/{deployment_shape_id}/versions/{version_id}","title":"Get Deployment Shape Version","href":"/api-reference/get-deployment-shape-version"}]}]},{"group":"Training","icon":"sliders","pages":[{"group":"Datasets","pages":[{"openapi":"post /v1/accounts/{account_id}/datasets","title":"Create Dataset","href":"/api-reference/create-dataset"},{"openapi":"get /v1/accounts/{account_id}/datasets","title":"List Datasets","href":"/api-reference/list-datasets"},{"openapi":"get /v1/accounts/{account_id}/datasets/{dataset_id}","title":"Get Dataset","href":"/api-reference/get-dataset"},{"openapi":"post /v1/accounts/{account_id}/datasets/{dataset_id}:getUploadEndpoint","title":"Get Dataset Upload Endpoint","href":"/api-reference/get-dataset-upload-endpoint"},{"openapi":"get /v1/accounts/{account_id}/datasets/{dataset_id}:getDownloadEndpoint","title":"Get Dataset Download Endpoint","href":"/api-reference/get-dataset-download-endpoint"},{"openapi":"patch /v1/accounts/{account_id}/datasets/{dataset_id}","title":"Update Dataset","href":"/api-reference/update-dataset"},{"openapi":"delete /v1/accounts/{account_id}/datasets/{dataset_id}","title":"Delete Dataset","href":"/api-reference/delete-dataset"},{"openapi":"post /v1/accounts/{account_id}/datasets/{dataset_id}:upload","title":"Upload Dataset Files","href":"/api-reference/upload-dataset-files"},{"openapi":"post /v1/accounts/{account_id}/datasets/{dataset_id}:validateUpload","title":"Validate Dataset Upload","href":"/api-reference/validate-dataset-upload"}]},{"group":"Supervised Fine-Tuning Jobs","pages":[{"openapi":"post /v1/accounts/{account_id}/supervisedFineTuningJobs","title":"Create Supervised Fine-tuning Job","href":"/api-reference/create-supervised-fine-tuning-job"},{"openapi":"get /v1/accounts/{account_id}/supervisedFineTuningJobs","title":"List Supervised Fine-tuning Jobs","href":"/api-reference/list-supervised-fine-tuning-jobs"},{"openapi":"get /v1/accounts/{account_id}/supervisedFineTuningJobs/{supervised_fine_tuning_job_id}","title":"Get Supervised Fine-tuning Job","href":"/api-reference/get-supervised-fine-tuning-job"},{"openapi":"delete /v1/accounts/{account_id}/supervisedFineTuningJobs/{supervised_fine_tuning_job_id}","title":"Delete Supervised Fine-tuning Job","href":"/api-reference/delete-supervised-fine-tuning-job"},{"openapi":"post /v1/accounts/{account_id}/supervisedFineTuningJobs/{supervised_fine_tuning_job_id}:resume","title":"Resume Supervised Fine-tuning Job","href":"/api-reference/resume-supervised-fine-tuning-job"}]},{"group":"Reinforcement Fine-Tuning Steps","pages":[{"openapi":"post /v1/accounts/{account_id}/rlorTrainerJobs","title":"Create Reinforcement Fine-tuning Step","href":"/api-reference/create-reinforcement-fine-tuning-step"},{"openapi":"get /v1/accounts/{account_id}/rlorTrainerJobs","title":"List Reinforcement Fine-tuning Steps","href":"/api-reference/list-reinforcement-fine-tuning-steps"},{"openapi":"get /v1/accounts/{account_id}/rlorTrainerJobs/{rlor_trainer_job_id}","title":"Get Reinforcement Fine-tuning Step","href":"/api-reference/get-reinforcement-fine-tuning-step"},{"openapi":"delete /v1/accounts/{account_id}/rlorTrainerJobs/{rlor_trainer_job_id}","title":"Delete Reinforcement Fine-tuning Step","href":"/api-reference/delete-reinforcement-fine-tuning-step"},{"openapi":"post /v1/accounts/{account_id}/rlorTrainerJobs/{rlor_trainer_job_id}:resume","title":"Resume Rlor Trainer Job","description":null,"href":"/api-reference/resume-reinforcement-fine-tuning-step"}]},{"group":"Direct Preference Optimization Jobs","pages":[{"title":"Create DPO Job","openapi":"post /v1/accounts/{account_id}/dpoJobs","href":"/api-reference/create-dpo-job"},{"openapi":"get /v1/accounts/{account_id}/dpoJobs","title":null,"description":null,"href":"/api-reference/list-dpo-jobs"},{"openapi":"get /v1/accounts/{account_id}/dpoJobs/{dpo_job_id}","title":null,"href":"/api-reference/get-dpo-job"},{"openapi":"get /v1/accounts/{account_id}/dpoJobs/{dpo_job_id}:getMetricsFileEndpoint","title":null,"href":"/api-reference/get-dpo-job-metrics-file-endpoint"},{"title":"Delete DPO Job","openapi":"delete /v1/accounts/{account_id}/dpoJobs/{dpo_job_id}","href":"/api-reference/delete-dpo-job"},{"openapi":"post /v1/accounts/{account_id}/dpoJobs/{dpo_job_id}:resume","title":"Resume Dpo Job","href":"/api-reference/resume-dpo-job"}]}]},{"group":"Training SDK","icon":"code","pages":[{"title":"FireworksClient","href":"/fine-tuning/training-api/reference/fireworks-client"},{"title":"TrainerJobManager (Compatibility)","href":"/fine-tuning/training-api/reference/trainer-job-manager"},{"title":"FiretitanServiceClient \u0026 TrainingClient","href":"/fine-tuning/training-api/reference/service-client"},{"title":"DeploymentManager (Compatibility)","href":"/fine-tuning/training-api/reference/deployment-manager"},{"title":"DeploymentSampler","href":"/fine-tuning/training-api/reference/deployment-sampler"},{"title":"WeightSyncer (Legacy)","href":"/fine-tuning/training-api/reference/weight-syncer"},{"title":"Cleanup and Teardown","href":"/fine-tuning/training-api/reference/cleanup"},{"title":"RL parameters reference","sidebarTitle":"RL parameters reference","href":"/fine-tuning/rft-parameters-reference"}]},{"group":"Admin","icon":"shield","pages":[{"group":"Accounts","pages":[{"openapi":"get /v1/accounts","title":"List Accounts","href":"/api-reference/list-accounts"},{"openapi":"get /v1/accounts/{account_id}","title":"Get Account","href":"/api-reference/get-account"},{"openapi":"get /v1/accounts/{account_id}/quotas","title":"List Quotas","href":"/api-reference/list-quotas"},{"openapi":"get /v1/accounts/{account_id}/quotas/{quota_id}","title":"Get Quota","href":"/api-reference/get-quota"},{"openapi":"patch /v1/accounts/{account_id}/quotas/{quota_id}","title":"Update Quota","href":"/api-reference/update-quota"}]},{"group":"Audit Logs","pages":[{"openapi":"get /v1/accounts/{account_id}/auditLogs","title":"List User Audit Logs","href":"/api-reference/list-audit-logs"}]},{"group":"Billing","pages":[{"openapi":"get /v1/accounts/{account_id}/billingUsage","title":"Get Account Usage","href":"/api-reference/get-billing-usage"},{"openapi":"get /v1/accounts/{account_id}/billing/summary","title":"Get billing summary information for an account","href":"/api-reference/get-billing-summary"},{"openapi":"post /v1/accounts/{account_id}/usageCosts:query","title":"Query grouped usage cost subtotals for an account.","href":"/api-reference/query-usage-costs"}]},{"group":"Policy Settings","pages":[{"title":"Get Policy Settings","openapi":"get /v1/accounts/{account_id}/policySettings","href":"/api-reference/get-policy-settings"},{"title":"Update Policy Settings","openapi":"patch /v1/accounts/{account_id}/policySettings","href":"/api-reference/update-policy-settings"}]},{"group":"Users","pages":[{"openapi":"post /v1/accounts/{account_id}/users","title":"Create User","href":"/api-reference/create-user"},{"openapi":"get /v1/accounts/{account_id}/users","title":"List Users","href":"/api-reference/list-users"},{"openapi":"get /v1/accounts/{account_id}/users/{user_id}","title":"Get User","href":"/api-reference/get-user"},{"openapi":"patch /v1/accounts/{account_id}/users/{user_id}","title":"Update User","href":"/api-reference/update-user"}]},{"group":"API Keys","pages":[{"openapi":"post /v1/accounts/{account_id}/users/{user_id}/apiKeys","title":"Create API Key","href":"/api-reference/create-api-key"},{"openapi":"get /v1/accounts/{account_id}/users/{user_id}/apiKeys","title":"List API Keys","href":"/api-reference/list-api-keys"},{"openapi":"post /v1/accounts/{account_id}/users/{user_id}/apiKeys:delete","title":"Delete API Key","href":"/api-reference/delete-api-key"}]},{"group":"Secrets","pages":[{"title":"Create Secret","openapi":"post /v1/accounts/{account_id}/secrets","href":"/api-reference/create-secret"},{"openapi":"get /v1/accounts/{account_id}/secrets","title":"List Secrets","href":"/api-reference/list-secrets"},{"openapi":"get /v1/accounts/{account_id}/secrets/{secret_id}","title":"Get Secret","href":"/api-reference/get-secret"},{"openapi":"patch /v1/accounts/{account_id}/secrets/{secret_id}","title":null,"href":"/api-reference/update-secret"},{"openapi":"delete /v1/accounts/{account_id}/secrets/{secret_id}","title":null,"href":"/api-reference/delete-secret"}]}]}]},{"tab":"CLI Reference","pages":[{"title":"CLI Reference","href":"/tools-sdks/firectl/firectl"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/updates/changelog"}]},{"tab":"Resources","pages":[{"title":"Resources","href":"/tools-sdks/openai-compatibility"}]}]},"basePath":"","title":"Create DPO Job - Fireworks AI Docs","buildId":"dpl_ATnXPMW25DMPUr9VBw6kL6MfBt6T","deploymentId":"dpl_ATnXPMW25DMPUr9VBw6kL6MfBt6T","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-CNqlzjVB.js","utils-BqFiXZ79.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CnR4QBe6.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BY2ZM1OO.js","snippetPresets-x-8ACO8V.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","Page-CTxrMSpo.js","ApiExamples-Ch-SJE05.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CqqG_0NE.js","shallow-BXrZ2b0C.js","getApiPlaygroundDisplay-n7J_wkjq.js","CodeSnippet-CQsp4vyQ.js","CodeSnippets-BfuHqvZx.js","getPastedJson-BjrGIK1i.js","icon-7iLZnVOC.js","MethodPill-TBS1m84e.js","DuplicateIcon-BNMrV4Vs.js","createIcon-C5kCqeU2.js","DynamicMarkdown-Bq09mRwR.js","SectionHeading-G4Bflf5Q.js","axios-vUo_bRtp.js","Markdown-BTUds0aX.js","clsx-6wHzaN2_.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BPypQKlo.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-o6bee4ro.js"]}