Creates a new job for content evaluation. Can be configured to wait for completion or return immediately with a job ID. Policy-first endpoint: requires a policy_id.
A unique evaluation job that has compared a policy to one or more pieces of content
Show child attributes
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Moonbounce Docs","description":"Documentation for Moonbounce content moderation platform and APIs","colors":{"primary":"#478EF0","light":"#74A8F0","dark":"#478EF0"},"logo":{"light":"https://mintcdn.com/clavataai/gvPeNhe6NJK22aBi/Moonbounce_Symbol_Black.svg?fit=max\u0026auto=format\u0026n=gvPeNhe6NJK22aBi\u0026q=85\u0026s=46439a2214e4c1d1b6d5b18d67213318","dark":"https://mintcdn.com/clavataai/gvPeNhe6NJK22aBi/Moonbounce_Symbol_White.svg?fit=max\u0026auto=format\u0026n=gvPeNhe6NJK22aBi\u0026q=85\u0026s=a0833085281192d0854d818bd79b0cd8","href":"https://moonbounce.io"},"favicon":{"light":"https://mintcdn.com/clavataai/gvPeNhe6NJK22aBi/Moonbounce_Symbol_Black.svg?fit=max\u0026auto=format\u0026n=gvPeNhe6NJK22aBi\u0026q=85\u0026s=46439a2214e4c1d1b6d5b18d67213318","dark":"https://mintcdn.com/clavataai/gvPeNhe6NJK22aBi/Moonbounce_Symbol_White.svg?fit=max\u0026auto=format\u0026n=gvPeNhe6NJK22aBi\u0026q=85\u0026s=a0833085281192d0854d818bd79b0cd8"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"clavataai","hasAudioNarration":false,"actualSubdomain":"clavataai","customDomains":["docs.clavata.ai"],"gitSource":{"type":"github","owner":"clavataai","repo":"olympus","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af234e778d86afb9bd639a2","clientVersion":"0.0.4124","searchFilterCounts":[{"language":"default","tag":"Documentation","count":45},{"language":"default","tag":"API Reference","count":20},{"language":"default","tag":"Changelog","count":14},{"language":"default","tag":"Getting Started","count":13},{"language":"default","tag":"Guides","count":12},{"language":"default","tag":"Overview","count":9},{"language":"default","tag":"Policy Authoring","count":7},{"language":"default","tag":"Integrations and Developer Tools","count":7},{"language":"default","tag":"API Docs \u0026 SDKs","count":6},{"language":"default","tag":"Jobs","count":5}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/create-jobs/create-a-new-job","slug":"/api-reference/create-jobs/create-a-new-job","pageMetadata":{"title":"Create a new job","description":"Creates a new job for content evaluation. Can be configured to wait for completion or return immediately with a job ID. Policy-first endpoint: requires a `policy_id`.","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/jobs","href":"/api-reference/create-jobs/create-a-new-job","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Creates a new job for content evaluation. Can be configured to wait for completion or return immediately with a job ID. Policy-first endpoint: requires a \", _jsx(_components.code, {\n children: \"policy_id\"\n }), \".\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create a new job","description":"Creates a new job for content evaluation. Can be configured to wait for completion or return immediately with a job ID. Policy-first endpoint: requires a `policy_id`.","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/jobs","href":"/api-reference/create-jobs/create-a-new-job","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Create a new job","description":"Creates a new job for content evaluation. Can be configured to wait for completion or return immediately with a job ID. Policy-first endpoint: requires a `policy_id`.","operationId":"GatewayService_CreateJob","responses":{"200":"c7bc0d4b-bdaa-4bfd-99af-47b40b5f994b","400":"607899bd-c594-431d-ba71-de33cc1c17c0","429":"21438509-7a35-4a7f-9a3b-b28a5969c202","499":"ffed1371-450d-4310-b75a-3d92882bd51d","default":"2bcd7d91-3723-4c55-aca5-c392afd7ceee"},"requestBody":"22987b71-8b37-46d6-ad91-3219d64d5a27","tags":["Create Jobs"],"method":"post","type":"path","servers":["c2927e36-ff07-4fc8-9ebf-372c8ea6d940"],"security":["0f0f6136-4923-4020-a84e-c28500001e29"],"path":"/v1/jobs","baseUrlOptions":["https://gateway.app.clavata.ai:8443"],"title":"Create a new job","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"contentData":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","description":"A text string to process.","title":"Input text","writeOnly":true,"uniqueKey":"contentData.items.[INDEX].text","typeLabel":"string"},"image":{"type":"string","format":"base64","description":"A binary image file to process.","title":"Input image","writeOnly":true,"uniqueKey":"contentData.items.[INDEX].image","typeLabel":"file"},"imageUrl":{"type":"string","description":"A publicly-accessible URL that points to an image.","title":"Input image URL","writeOnly":true,"uniqueKey":"contentData.items.[INDEX].imageUrl","typeLabel":"string"},"metadata":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"contentData.items.[INDEX].metadata.additionalProperties","typeLabel":"string"},"title":"Optional metadata attached to content when sent to the server","uniqueKey":"contentData.items.[INDEX].metadata","typeLabel":"Optional metadata attached to content when sent to the server · object"}},"description":"A single piece of content to be processed by the Clavata.ai API.","title":"Content Data","uniqueKey":"contentData.items.[INDEX]","typeLabel":"Content Data · object"},"description":"The content data to be evaluated. Only one content type should be set per entry.","isRequired":true,"uniqueKey":"contentData","typeLabel":"Content Data · object[]"},"policyId":{"type":"string","title":"The policy keys to be evaluated","isRequired":true,"uniqueKey":"policyId","typeLabel":"string"},"threshold":{"type":"number","format":"double","description":"The threshold to use for truthyness. If not set a default value will be used.","uniqueKey":"threshold","typeLabel":"number\u003cdouble>"},"expedited":{"type":"boolean","description":"If set, the job will be evaluated in expedited mode, prioritizing speed over cost.","uniqueKey":"expedited","typeLabel":"boolean"},"webhook":{"type":"object","properties":{"url":{"type":"string","description":"The URL to call when the job is complete. Must be HTTPS.","title":"Webhook URL","isRequired":true,"uniqueKey":"webhook.url","typeLabel":"string"},"extraHeaders":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"webhook.extraHeaders.additionalProperties","typeLabel":"string"},"description":"Any additional headers to send with the webhook request. Optional. If included, all headers will be prepended with X-Webhook- to avoid collisions.","title":"Extra Headers","uniqueKey":"webhook.extraHeaders","typeLabel":"Extra Headers · object"}},"description":"A POST request to make when the job is complete.","title":"Webhook Details (Optional)","required":["url"],"uniqueKey":"webhook","typeLabel":"Webhook Details (Optional) · object"},"options":{"type":"object","properties":{"options":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"options.options.additionalProperties","typeLabel":"string"},"description":"Map of option keys to values.","uniqueKey":"options.options","typeLabel":"object"}},"description":"Options for evaluation behavior.","uniqueKey":"options","typeLabel":"object"}},"required":["contentData","policyId"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"contentData":[{"text":"\u003cstring>","image":"aSDinaTvuI8gbWludGxpZnk=","imageUrl":"\u003cstring>","metadata":{}}],"policyId":"\u003cstring>","threshold":123,"expedited":true,"options":{"options":{}}}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"c7bc0d4b-bdaa-4bfd-99af-47b40b5f994b":{"description":"A successful response.","content":{"application/json":{"schema":{"type":"object","properties":{"job":{"type":"object","properties":{"jobUuid":{"type":"string","format":"uuidv4","title":"The ID of the job","readOnly":true,"uniqueKey":"job.jobUuid","typeLabel":"string\u003cuuidv4>"},"customerId":{"type":"string","format":"uuidv4","title":"ID of the customer that created the job","readOnly":true,"uniqueKey":"job.customerId","typeLabel":"string\u003cuuidv4>"},"status":{"type":"string","enum":["JOB_STATUS_UNSPECIFIED","JOB_STATUS_PENDING","JOB_STATUS_RUNNING","JOB_STATUS_COMPLETED","JOB_STATUS_FAILED","JOB_STATUS_CANCELED"],"default":"JOB_STATUS_UNSPECIFIED","title":"The status of a job at the time of the response","uniqueKey":"job.status","typeLabel":"enum\u003cstring>"},"contentData":{"type":"array","items":{"type":"object","properties":{"contentHash":{"type":"string","description":"The hashing algorithm used will appear at the front of the hash value in this field (i.e., 'md5::hash')","title":"Clavata calculated hash of the content.","readOnly":true,"uniqueKey":"job.contentData.items.[INDEX].contentHash","typeLabel":"string"},"metadata":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"job.contentData.items.[INDEX].metadata.additionalProperties","typeLabel":"string"},"title":"Optional metadata attached to content when sent to the server","uniqueKey":"job.contentData.items.[INDEX].metadata","typeLabel":"Optional metadata attached to content when sent to the server · object"}},"description":"A single piece of content to be processed by the Clavata.ai API.","title":"Content Data","uniqueKey":"job.contentData.items.[INDEX]","typeLabel":"Content Data · object"},"description":"Content associated with this job. In responses, includes the content hash and any metadata provided with the original request.","title":"Content Data","uniqueKey":"job.contentData","typeLabel":"Content Data · object[]"},"results":{"type":"array","items":{"type":"object","properties":{"jobUuid":{"type":"string","format":"uuidv4","title":"The ID of the job","uniqueKey":"job.results.items.[INDEX].jobUuid","typeLabel":"string\u003cuuidv4>"},"report":{"type":"object","properties":{"policyId":{"type":"string","format":"uuidv4","title":"The ID of a policy","uniqueKey":"job.results.items.[INDEX].report.policyId","typeLabel":"string\u003cuuidv4>"},"policyKey":{"type":"string","description":"This is the title of the policy as it appears in the policy editor. Do not use this to identify a policy. Use the policy_id instead.","title":"The human-readable name of the policy.","uniqueKey":"job.results.items.[INDEX].report.policyKey","typeLabel":"string"},"policyVersionId":{"type":"string","format":"uuidv4","title":"The ID of a policy version","uniqueKey":"job.results.items.[INDEX].report.policyVersionId","typeLabel":"string\u003cuuidv4>"},"result":{"type":"string","enum":["OUTCOME_UNSPECIFIED","OUTCOME_FALSE","OUTCOME_TRUE","OUTCOME_FAILED"],"default":"OUTCOME_UNSPECIFIED","description":"Evaluation outcome. TRUE, FALSE or FAILED.","uniqueKey":"job.results.items.[INDEX].report.result","typeLabel":"enum\u003cstring>"},"sectionEvaluationReports":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","uniqueKey":"job.results.items.[INDEX].report.sectionEvaluationReports.items.[INDEX].name","typeLabel":"string"},"result":{"type":"string","enum":["OUTCOME_UNSPECIFIED","OUTCOME_FALSE","OUTCOME_TRUE","OUTCOME_FAILED"],"default":"OUTCOME_UNSPECIFIED","description":"Evaluation outcome. TRUE, FALSE or FAILED.","uniqueKey":"job.results.items.[INDEX].report.sectionEvaluationReports.items.[INDEX].result","typeLabel":"enum\u003cstring>"},"message":{"type":"string","uniqueKey":"job.results.items.[INDEX].report.sectionEvaluationReports.items.[INDEX].message","typeLabel":"string"},"assertionEvaluationReports":{"type":"array","items":{"type":"object","properties":{"result":{"type":"string","enum":["OUTCOME_UNSPECIFIED","OUTCOME_FALSE","OUTCOME_TRUE","OUTCOME_FAILED"],"default":"OUTCOME_UNSPECIFIED","description":"Evaluation outcome. TRUE, FALSE or FAILED.","uniqueKey":"job.results.items.[INDEX].report.sectionEvaluationReports.items.[INDEX].assertionEvaluationReports.items.[INDEX].result","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"The text of the assertion.","uniqueKey":"job.results.items.[INDEX].report.sectionEvaluationReports.items.[INDEX].assertionEvaluationReports.items.[INDEX].message","typeLabel":"string"},"score":{"type":"number","format":"double","title":"The truthiness of the assertion","uniqueKey":"job.results.items.[INDEX].report.sectionEvaluationReports.items.[INDEX].assertionEvaluationReports.items.[INDEX].score","typeLabel":"number\u003cdouble>"}},"uniqueKey":"job.results.items.[INDEX].report.sectionEvaluationReports.items.[INDEX].assertionEvaluationReports.items.[INDEX]","typeLabel":"object"},"description":"Each assertion in each section is evaluated","title":"Per-assertion report","uniqueKey":"job.results.items.[INDEX].report.sectionEvaluationReports.items.[INDEX].assertionEvaluationReports","typeLabel":"Per-assertion report · object[]"},"exceptionEvaluationReport":{"type":"object","properties":{"result":{"type":"string","enum":["OUTCOME_UNSPECIFIED","OUTCOME_FALSE","OUTCOME_TRUE","OUTCOME_FAILED"],"default":"OUTCOME_UNSPECIFIED","description":"Evaluation outcome. TRUE, FALSE or FAILED.","uniqueKey":"job.results.items.[INDEX].report.sectionEvaluationReports.items.[INDEX].exceptionEvaluationReport.result","typeLabel":"enum\u003cstring>"},"assertionEvaluationReports":{"type":"array","items":{"type":"object","properties":{"result":{"type":"string","enum":["OUTCOME_UNSPECIFIED","OUTCOME_FALSE","OUTCOME_TRUE","OUTCOME_FAILED"],"default":"OUTCOME_UNSPECIFIED","description":"Evaluation outcome. TRUE, FALSE or FAILED.","uniqueKey":"job.results.items.[INDEX].report.sectionEvaluationReports.items.[INDEX].exceptionEvaluationReport.assertionEvaluationReports.items.[INDEX].result","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"The text of the assertion.","uniqueKey":"job.results.items.[INDEX].report.sectionEvaluationReports.items.[INDEX].exceptionEvaluationReport.assertionEvaluationReports.items.[INDEX].message","typeLabel":"string"},"score":{"type":"number","format":"double","title":"The truthiness of the assertion","uniqueKey":"job.results.items.[INDEX].report.sectionEvaluationReports.items.[INDEX].exceptionEvaluationReport.assertionEvaluationReports.items.[INDEX].score","typeLabel":"number\u003cdouble>"}},"uniqueKey":"job.results.items.[INDEX].report.sectionEvaluationReports.items.[INDEX].exceptionEvaluationReport.assertionEvaluationReports.items.[INDEX]","typeLabel":"object"},"description":"Each assertion in the exception is evaluated","title":"Per-assertion report","uniqueKey":"job.results.items.[INDEX].report.sectionEvaluationReports.items.[INDEX].exceptionEvaluationReport.assertionEvaluationReports","typeLabel":"Per-assertion report · object[]"},"reviewResult":{"type":"object","properties":{"outcome":{"type":"string","enum":["OUTCOME_UNSPECIFIED","OUTCOME_FALSE","OUTCOME_TRUE","OUTCOME_FAILED"],"default":"OUTCOME_UNSPECIFIED","description":"Evaluation outcome. TRUE, FALSE or FAILED.","uniqueKey":"job.results.items.[INDEX].report.sectionEvaluationReports.items.[INDEX].exceptionEvaluationReport.reviewResult.outcome","typeLabel":"enum\u003cstring>"},"score":{"type":"number","format":"double","uniqueKey":"job.results.items.[INDEX].report.sectionEvaluationReports.items.[INDEX].exceptionEvaluationReport.reviewResult.score","typeLabel":"number\u003cdouble>"}},"description":"Report on the result of a single assertion in a policy.","uniqueKey":"job.results.items.[INDEX].report.sectionEvaluationReports.items.[INDEX].exceptionEvaluationReport.reviewResult","typeLabel":"object"}},"description":"Outcome of an EXCEPT WHEN or UNLESS block, if present.","title":"EXCEPT WHEN or UNLESS report","uniqueKey":"job.results.items.[INDEX].report.sectionEvaluationReports.items.[INDEX].exceptionEvaluationReport","typeLabel":"EXCEPT WHEN or UNLESS report · object"},"reviewResult":{"type":"object","properties":{"outcome":{"type":"string","enum":["OUTCOME_UNSPECIFIED","OUTCOME_FALSE","OUTCOME_TRUE","OUTCOME_FAILED"],"default":"OUTCOME_UNSPECIFIED","description":"Evaluation outcome. TRUE, FALSE or FAILED.","uniqueKey":"job.results.items.[INDEX].report.sectionEvaluationReports.items.[INDEX].reviewResult.outcome","typeLabel":"enum\u003cstring>"},"score":{"type":"number","format":"double","uniqueKey":"job.results.items.[INDEX].report.sectionEvaluationReports.items.[INDEX].reviewResult.score","typeLabel":"number\u003cdouble>"}},"description":"Report on the result of a single assertion in a policy.","uniqueKey":"job.results.items.[INDEX].report.sectionEvaluationReports.items.[INDEX].reviewResult","typeLabel":"object"}},"description":"Report on the evaluation of a SECTION or LABEL in a policy.","uniqueKey":"job.results.items.[INDEX].report.sectionEvaluationReports.items.[INDEX]","typeLabel":"object"},"description":"Reports on the evaluation of each SECTION or LABEL block in the policy.","title":"SECTION or LABEL reports","uniqueKey":"job.results.items.[INDEX].report.sectionEvaluationReports","typeLabel":"SECTION or LABEL reports · object[]"},"exceptionEvaluationReport":{"type":"object","properties":{"result":{"type":"string","enum":["OUTCOME_UNSPECIFIED","OUTCOME_FALSE","OUTCOME_TRUE","OUTCOME_FAILED"],"default":"OUTCOME_UNSPECIFIED","description":"Evaluation outcome. TRUE, FALSE or FAILED.","uniqueKey":"job.results.items.[INDEX].report.exceptionEvaluationReport.result","typeLabel":"enum\u003cstring>"},"assertionEvaluationReports":{"type":"array","items":{"type":"object","properties":{"result":{"type":"string","enum":["OUTCOME_UNSPECIFIED","OUTCOME_FALSE","OUTCOME_TRUE","OUTCOME_FAILED"],"default":"OUTCOME_UNSPECIFIED","description":"Evaluation outcome. TRUE, FALSE or FAILED.","uniqueKey":"job.results.items.[INDEX].report.exceptionEvaluationReport.assertionEvaluationReports.items.[INDEX].result","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"The text of the assertion.","uniqueKey":"job.results.items.[INDEX].report.exceptionEvaluationReport.assertionEvaluationReports.items.[INDEX].message","typeLabel":"string"},"score":{"type":"number","format":"double","title":"The truthiness of the assertion","uniqueKey":"job.results.items.[INDEX].report.exceptionEvaluationReport.assertionEvaluationReports.items.[INDEX].score","typeLabel":"number\u003cdouble>"}},"uniqueKey":"job.results.items.[INDEX].report.exceptionEvaluationReport.assertionEvaluationReports.items.[INDEX]","typeLabel":"object"},"description":"Each assertion in the exception is evaluated","title":"Per-assertion report","uniqueKey":"job.results.items.[INDEX].report.exceptionEvaluationReport.assertionEvaluationReports","typeLabel":"Per-assertion report · object[]"},"reviewResult":{"type":"object","properties":{"outcome":{"type":"string","enum":["OUTCOME_UNSPECIFIED","OUTCOME_FALSE","OUTCOME_TRUE","OUTCOME_FAILED"],"default":"OUTCOME_UNSPECIFIED","description":"Evaluation outcome. TRUE, FALSE or FAILED.","uniqueKey":"job.results.items.[INDEX].report.exceptionEvaluationReport.reviewResult.outcome","typeLabel":"enum\u003cstring>"},"score":{"type":"number","format":"double","uniqueKey":"job.results.items.[INDEX].report.exceptionEvaluationReport.reviewResult.score","typeLabel":"number\u003cdouble>"}},"description":"Report on the result of a single assertion in a policy.","uniqueKey":"job.results.items.[INDEX].report.exceptionEvaluationReport.reviewResult","typeLabel":"object"}},"description":"Outcome of an EXCEPT WHEN or UNLESS block, if present.","title":"EXCEPT WHEN or UNLESS report","uniqueKey":"job.results.items.[INDEX].report.exceptionEvaluationReport","typeLabel":"EXCEPT WHEN or UNLESS report · object"},"contentHash":{"type":"string","description":"The hashing algorithm used will appear at the front of the hash value in this field (i.e., 'fnv1a128::hash-value')","title":"Hash of the input content","uniqueKey":"job.results.items.[INDEX].report.contentHash","typeLabel":"string"},"contentMetadata":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"job.results.items.[INDEX].report.contentMetadata.additionalProperties","typeLabel":"string"},"description":"If metadata was attached to the content when the job was created, it will be attached to the evaluation report here.","uniqueKey":"job.results.items.[INDEX].report.contentMetadata","typeLabel":"object"},"reviewResult":{"type":"object","properties":{"outcome":{"type":"string","enum":["OUTCOME_UNSPECIFIED","OUTCOME_FALSE","OUTCOME_TRUE","OUTCOME_FAILED"],"default":"OUTCOME_UNSPECIFIED","description":"Evaluation outcome. TRUE, FALSE or FAILED.","uniqueKey":"job.results.items.[INDEX].report.reviewResult.outcome","typeLabel":"enum\u003cstring>"},"score":{"type":"number","format":"double","uniqueKey":"job.results.items.[INDEX].report.reviewResult.score","typeLabel":"number\u003cdouble>"}},"description":"Report on the result of a single assertion in a policy.","uniqueKey":"job.results.items.[INDEX].report.reviewResult","typeLabel":"object"},"threshold":{"type":"number","format":"double","title":"The threshold that was used to evaluate the policy","uniqueKey":"job.results.items.[INDEX].report.threshold","typeLabel":"number\u003cdouble>"},"labelMatches":{"type":"object","additionalProperties":{"type":"number","format":"float","uniqueKey":"job.results.items.[INDEX].report.labelMatches.additionalProperties","typeLabel":"number\u003cfloat>"},"description":"Labels that matched the content. The keys of the map are the label names, and the values are the scores for each label. This field provides a simple way to identify which labels matched the content without the need to dig into each section report.","title":"Label matches","uniqueKey":"job.results.items.[INDEX].report.labelMatches","typeLabel":"Label matches · object"},"tokenUsage":{"type":"object","properties":{"inputTokens":{"type":"integer","format":"int32","description":"The number of tokens that were sent to the service in the form of content.","uniqueKey":"job.results.items.[INDEX].report.tokenUsage.inputTokens","typeLabel":"integer\u003cint32>"},"billedTokens":{"type":"integer","format":"int32","description":"The number of tokens that Clavata billed for this evaluation.","uniqueKey":"job.results.items.[INDEX].report.tokenUsage.billedTokens","typeLabel":"integer\u003cint32>"},"multiplier":{"type":"number","format":"float","description":"The policy complexity multiplier that was used to calculate the final billed tokens.","uniqueKey":"job.results.items.[INDEX].report.tokenUsage.multiplier","typeLabel":"number\u003cfloat>"}},"description":"Usage related to this policy evaluation.","uniqueKey":"job.results.items.[INDEX].report.tokenUsage","typeLabel":"object"},"labelId":{"type":"string","format":"uuidv4","description":"The ID of the published label evaluated for label-based evaluation flows.","title":"The ID of a label","uniqueKey":"job.results.items.[INDEX].report.labelId","typeLabel":"string\u003cuuidv4>"},"labelVersionId":{"type":"string","format":"uuidv4","description":"The ID of the published label version evaluated for label-based evaluation flows.","title":"The ID of a label version","uniqueKey":"job.results.items.[INDEX].report.labelVersionId","typeLabel":"string\u003cuuidv4>"}},"description":"A report on the result of evaluating a policy against a piece of content/input.","title":"Policy Evaluation Report","uniqueKey":"job.results.items.[INDEX].report","typeLabel":"Policy Evaluation Report · object"},"created":{"type":"string","format":"date-time","title":"The time the result was created","uniqueKey":"job.results.items.[INDEX].created","typeLabel":"string\u003cdate-time>"}},"description":"A result of an evaluation job. Each piece of content that was evaluated will have one JobResult.","title":"Job Result","uniqueKey":"job.results.items.[INDEX]","typeLabel":"Job Result · object"},"title":"The results of the policy evaluations","readOnly":true,"uniqueKey":"job.results","typeLabel":"Job Result · object[]"},"created":{"type":"string","format":"date-time","title":"The time the job was created","readOnly":true,"uniqueKey":"job.created","typeLabel":"string\u003cdate-time>"},"updated":{"type":"string","format":"date-time","title":"The time the job was updated","readOnly":true,"uniqueKey":"job.updated","typeLabel":"string\u003cdate-time>"},"completed":{"type":"string","format":"date-time","title":"The time the job was completed","readOnly":true,"uniqueKey":"job.completed","typeLabel":"string\u003cdate-time>"},"policyId":{"type":"string","format":"uuidv4","title":"The ID of a policy","uniqueKey":"job.policyId","typeLabel":"string\u003cuuidv4>"},"policyVersionId":{"type":"string","format":"uuidv4","title":"The ID of a policy version","readOnly":true,"uniqueKey":"job.policyVersionId","typeLabel":"string\u003cuuidv4>"},"threshold":{"type":"number","format":"double","title":"The threshold that was set for this job","uniqueKey":"job.threshold","typeLabel":"number\u003cdouble>"},"labelId":{"type":"string","format":"uuidv4","description":"Label ID to evaluate this job for published-label evaluation flows.","title":"The ID of a label","uniqueKey":"job.labelId","typeLabel":"string\u003cuuidv4>"},"labelVersionId":{"type":"string","format":"uuidv4","description":"Label Version ID to evaluate this job for published-label evaluation flows.","title":"The ID of a label version","readOnly":true,"uniqueKey":"job.labelVersionId","typeLabel":"string\u003cuuidv4>"},"jobType":{"type":"string","enum":["JOB_TYPE_UNSPECIFIED","JOB_TYPE_STANDARD","JOB_TYPE_BATCH","JOB_TYPE_FREE","JOB_TYPE_TEST"],"default":"JOB_TYPE_UNSPECIFIED","description":"JobType classifies how a job was created for billing and analytics purposes.","uniqueKey":"job.jobType","typeLabel":"enum\u003cstring>"},"error":{"type":"object","properties":{"reason":{"type":"string","enum":["JOB_ERROR_REASON_UNSPECIFIED","JOB_ERROR_REASON_JOB_FAILED","JOB_ERROR_REASON_VIDEO_VALIDATION_FAILURE","JOB_ERROR_REASON_VIDEO_SCENE_CEILING_EXCEEDED","JOB_ERROR_REASON_HLS_REMUX_TIMEOUT_EXHAUSTED","JOB_ERROR_REASON_EXECUTION_DEADLINE_EXCEEDED","JOB_ERROR_REASON_ADMISSION_QUEUE_TIMEOUT","JOB_ERROR_REASON_ADMISSION_FAILED","JOB_ERROR_REASON_TRANSCRIPT_CHUNK_ARTIFACT_INVALID","JOB_ERROR_REASON_QUOTA_EXCEEDED","JOB_ERROR_REASON_CONTENT_BLOCKED","JOB_ERROR_REASON_CONTENT_PRECHECK_FAILED","JOB_ERROR_REASON_VIDEO_SOURCE_UNREACHABLE","JOB_ERROR_REASON_CONTENT_TOO_LARGE"],"default":"JOB_ERROR_REASON_UNSPECIFIED","description":"Why a job failed. Values are public API: existing ones are never renumbered\nor repurposed, but new ones are added as new failure modes appear, so clients\nmust handle unrecognized values rather than assuming this list is complete.\n\n - JOB_ERROR_REASON_UNSPECIFIED: The reason was not recorded. Jobs that failed before this field existed\nreport no error at all rather than this value.\n - JOB_ERROR_REASON_JOB_FAILED: The job failed for a reason with no more specific classification.\n - JOB_ERROR_REASON_VIDEO_VALIDATION_FAILURE: The submitted video could not be validated or decoded.\n - JOB_ERROR_REASON_VIDEO_SCENE_CEILING_EXCEEDED: The submitted video exceeds the maximum number of analyzable scenes.\n - JOB_ERROR_REASON_HLS_REMUX_TIMEOUT_EXHAUSTED: The submitted video stream could not be retrieved before the remux timeout.\n - JOB_ERROR_REASON_EXECUTION_DEADLINE_EXCEEDED: The job exceeded its execution deadline.\n - JOB_ERROR_REASON_ADMISSION_QUEUE_TIMEOUT: The job timed out waiting to be admitted for processing.\n - JOB_ERROR_REASON_ADMISSION_FAILED: The job could not be admitted for processing.\n - JOB_ERROR_REASON_TRANSCRIPT_CHUNK_ARTIFACT_INVALID: The audio transcript could not be processed.\n - JOB_ERROR_REASON_QUOTA_EXCEEDED: The customer's evaluation quota was exhausted before the job could start.\n - JOB_ERROR_REASON_CONTENT_BLOCKED: The submitted content was rejected by a pre-evaluation content check.\n - JOB_ERROR_REASON_CONTENT_PRECHECK_FAILED: The pre-evaluation content check could not be completed.\n - JOB_ERROR_REASON_VIDEO_SOURCE_UNREACHABLE: The submitted video URL could not be accessed (for example HTTP 403/404).\n - JOB_ERROR_REASON_CONTENT_TOO_LARGE: The evaluation prompt exceeds every attempted model's context window.","uniqueKey":"job.error.reason","typeLabel":"enum\u003cstring>"},"message":{"type":"string","uniqueKey":"job.error.message","typeLabel":"string"}},"description":"Details about a terminal job failure. Job status remains the authoritative\nsuccess/failure signal; this message provides a stable machine-readable\nreason and a human-readable explanation when status is JOB_STATUS_FAILED.\n\nmessage is the fixed explanation for the reason, not worker error text, so it\nis safe to display but not useful to parse — branch on reason instead.","uniqueKey":"job.error","typeLabel":"object"}},"description":"A unique evaluation job that has compared a policy to one or more pieces of content","title":"Job","uniqueKey":"job","typeLabel":"Job · object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"job":{"jobUuid":"\u003cstring>","customerId":"\u003cstring>","status":"JOB_STATUS_UNSPECIFIED","contentData":[{"contentHash":"\u003cstring>","metadata":{}}],"results":[{"jobUuid":"\u003cstring>","report":{"policyId":"\u003cstring>","policyKey":"\u003cstring>","policyVersionId":"\u003cstring>","result":"OUTCOME_UNSPECIFIED","sectionEvaluationReports":[{"name":"\u003cstring>","result":"OUTCOME_UNSPECIFIED","message":"\u003cstring>","assertionEvaluationReports":[{"result":"OUTCOME_UNSPECIFIED","message":"\u003cstring>","score":123}],"exceptionEvaluationReport":{"result":"OUTCOME_UNSPECIFIED","assertionEvaluationReports":[{"result":"OUTCOME_UNSPECIFIED","message":"\u003cstring>","score":123}],"reviewResult":{"outcome":"OUTCOME_UNSPECIFIED","score":123}},"reviewResult":{"outcome":"OUTCOME_UNSPECIFIED","score":123}}],"exceptionEvaluationReport":{"result":"OUTCOME_UNSPECIFIED","assertionEvaluationReports":[{"result":"OUTCOME_UNSPECIFIED","message":"\u003cstring>","score":123}],"reviewResult":{"outcome":"OUTCOME_UNSPECIFIED","score":123}},"contentHash":"\u003cstring>","contentMetadata":{},"reviewResult":{"outcome":"OUTCOME_UNSPECIFIED","score":123},"threshold":123,"labelMatches":{},"tokenUsage":{"inputTokens":123,"billedTokens":123,"multiplier":123},"labelId":"\u003cstring>","labelVersionId":"\u003cstring>"},"created":"2023-11-07T05:31:56Z"}],"created":"2023-11-07T05:31:56Z","updated":"2023-11-07T05:31:56Z","completed":"2023-11-07T05:31:56Z","policyId":"\u003cstring>","policyVersionId":"\u003cstring>","threshold":123,"labelId":"\u003cstring>","labelVersionId":"\u003cstring>","jobType":"JOB_TYPE_UNSPECIFIED","error":{"reason":"JOB_ERROR_REASON_UNSPECIFIED","message":"\u003cstring>"}}}}},"exampleType":"generated"}},"exampleType":"generated"},"607899bd-c594-431d-ba71-de33cc1c17c0":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","format":"int32","uniqueKey":"code","typeLabel":"integer\u003cint32>"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string","uniqueKey":"details.items.[INDEX].@type","typeLabel":"string"}},"additionalProperties":{"oneOf":[{}],"uniqueKey":"details.items.[INDEX].additionalProperties","typeLabel":"any"},"uniqueKey":"details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"details","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":123,"message":"\u003cstring>","details":[{"@type":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"21438509-7a35-4a7f-9a3b-b28a5969c202":{"description":"Too Many Requests","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","format":"int32","description":"A [gRPC status code](https://grpc.io/docs/guides/status-codes/)","title":"gRPC Status Code","readOnly":true,"uniqueKey":"code","typeLabel":"integer\u003cint32>"},"message":{"type":"string","description":"The human-readable error message","title":"Error Message","readOnly":true,"uniqueKey":"message","typeLabel":"string"}},"title":"A gRPC Status response","uniqueKey":"","typeLabel":"A gRPC Status response · object"},"examples":{"Example":{"title":"Example","value":{"code":123,"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"ffed1371-450d-4310-b75a-3d92882bd51d":{"description":"Precheck Failures (Canceled)","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","format":"int32","description":"A [gRPC status code](https://grpc.io/docs/guides/status-codes/)","title":"gRPC Status Code","readOnly":true,"uniqueKey":"code","typeLabel":"integer\u003cint32>"},"message":{"type":"string","description":"The human-readable error message","title":"Error Message","readOnly":true,"uniqueKey":"message","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["PRECHECK_FAILURE_TYPE_UNSPECIFIED","PRECHECK_FAILURE_TYPE_NCMEC","PRECHECK_FAILURE_TYPE_UNSUPPORTED_IMAGE_FORMAT","PRECHECK_FAILURE_TYPE_INVALID_IMAGE"],"default":"PRECHECK_FAILURE_TYPE_UNSPECIFIED","description":" - PRECHECK_FAILURE_TYPE_UNSPECIFIED: The precheck failure type is not specified\n - PRECHECK_FAILURE_TYPE_NCMEC: The content has been identified as CSAM due to its hash matching an entry in the NCMEC database.\n - PRECHECK_FAILURE_TYPE_UNSUPPORTED_IMAGE_FORMAT: The image format is not supported.\n - PRECHECK_FAILURE_TYPE_INVALID_IMAGE: The provided image is invalid or corrupted.","uniqueKey":"details.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"message":{"type":"string","title":"An error message associated with the failure","uniqueKey":"details.items.[INDEX].message","typeLabel":"string"},"details":{"description":"Details provides Additional about the failure. The shape will be different for each failure\ntype.","uniqueKey":"details.items.[INDEX].details","typeLabel":"any"},"matchConfidence":{"type":"string","enum":["PRECHECK_MATCH_CONFIDENCE_UNSPECIFIED","PRECHECK_MATCH_CONFIDENCE_EXACT","PRECHECK_MATCH_CONFIDENCE_HIGH","PRECHECK_MATCH_CONFIDENCE_MEDIUM","PRECHECK_MATCH_CONFIDENCE_LOW"],"default":"PRECHECK_MATCH_CONFIDENCE_UNSPECIFIED","description":" - PRECHECK_MATCH_CONFIDENCE_UNSPECIFIED: Default / legacy / non-CSAM. Not a customer-facing confidence tier.\n - PRECHECK_MATCH_CONFIDENCE_EXACT: Exact match (NCMEC direct md5/sha1 hash lookup). Highest confidence; customers may auto-enforce.\n - PRECHECK_MATCH_CONFIDENCE_HIGH: PhotoDNA perceptual match, closest distance band (near-duplicate).\n - PRECHECK_MATCH_CONFIDENCE_MEDIUM: PhotoDNA perceptual match, middle distance band (moderate similarity).\n - PRECHECK_MATCH_CONFIDENCE_LOW: PhotoDNA perceptual match, farthest distance band (loose similarity; review recommended).","uniqueKey":"details.items.[INDEX].matchConfidence","typeLabel":"enum\u003cstring>"}},"uniqueKey":"details.items.[INDEX]","typeLabel":"object"},"description":"An array of objects detailing why the content failed the prechecks.","uniqueKey":"details","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":123,"message":"\u003cstring>","details":[{"type":"PRECHECK_FAILURE_TYPE_UNSPECIFIED","message":"\u003cstring>","details":"\u003cunknown>","matchConfidence":"PRECHECK_MATCH_CONFIDENCE_UNSPECIFIED"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"2bcd7d91-3723-4c55-aca5-c392afd7ceee":{"description":"An unexpected error response.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","format":"int32","uniqueKey":"code","typeLabel":"integer\u003cint32>"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string","uniqueKey":"details.items.[INDEX].@type","typeLabel":"string"}},"additionalProperties":{"oneOf":[{}],"uniqueKey":"details.items.[INDEX].additionalProperties","typeLabel":"any"},"uniqueKey":"details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"details","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":123,"message":"\u003cstring>","details":[{"@type":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"0f0f6136-4923-4020-a84e-c28500001e29":{"Bearer_Token":{"type":"http","scheme":"bearer","bearerFormat":"JWT","scopes":[],"schemeName":"Bearer_Token"}}},"servers":{"c2927e36-ff07-4fc8-9ebf-372c8ea6d940":{"url":"https://gateway.app.clavata.ai:8443"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","scopes":[],"schemeName":"Bearer_Token"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"Bearer_Token","name":"Authorization"}],"title":"Bearer_Token"}]},"originalFileLocation":"openapi.json"},"subdomain":"clavataai","siteName":"Moonbounce Docs","title":"Create a new job - Moonbounce Docs","navMaps":{"firstHrefInVersion":{"Policy-first":{"href":"/api-reference/create-jobs/create-a-new-job","matchLevel":0},"Label-first":{"href":"/api-reference/get-jobs/list-jobs","matchLevel":2}},"firstHrefInLanguage":{}},"lastModified":"2026-10-21T20:50:35.044Z","originalFileLocation":"api-reference/create-jobs/create-a-new-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=\"Creates a new job for content evaluation. Can be configured to wait for completion or return immediately with a job ID. Policy-first endpoint: requires a policy_id.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Moonbounce Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/clavataai/ZQG6bRXwNCw4L7Bv/_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/clavataai/ZQG6bRXwNCw4L7Bv/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/clavataai/ZQG6bRXwNCw4L7Bv/_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/clavataai/ZQG6bRXwNCw4L7Bv/_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/clavataai/ZQG6bRXwNCw4L7Bv/_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/clavataai/ZQG6bRXwNCw4L7Bv/_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/clavataai/ZQG6bRXwNCw4L7Bv/_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/clavataai/ZQG6bRXwNCw4L7Bv/_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/clavataai/ZQG6bRXwNCw4L7Bv/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a new job - Moonbounce Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Creates a new job for content evaluation. Can be configured to wait for completion or return immediately with a job ID. Policy-first endpoint: requires a policy_id.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Moonbounce Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.clavata.ai/api-reference/create-jobs/create-a-new-job\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://clavataai.mintlify.site/_mintlify/api/og/v2?division=Jobs\u0026amp;title=Create+a+new+job\u0026amp;description=Creates+a+new+job+for+content+evaluation.+Can+be+configured+to+wait+for+completion+or+return+immediately+with+a+job+ID.+Policy-first+endpoint%3A+requires+a+%60polic\u0026amp;theme=93cbfcdb10a0fa3e268d879a\u0026amp;signature=bcf00ea6734df1b095f61e58838307602cecf8f63ae403f9c8a3efef859a190e\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create a new job - Moonbounce Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Creates a new job for content evaluation. Can be configured to wait for completion or return immediately with a job ID. Policy-first endpoint: requires a policy_id.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://clavataai.mintlify.site/_mintlify/api/og/v2?division=Jobs\u0026amp;title=Create+a+new+job\u0026amp;description=Creates+a+new+job+for+content+evaluation.+Can+be+configured+to+wait+for+completion+or+return+immediately+with+a+job+ID.+Policy-first+endpoint%3A+requires+a+%60polic\u0026amp;theme=93cbfcdb10a0fa3e268d879a\u0026amp;signature=bcf00ea6734df1b095f61e58838307602cecf8f63ae403f9c8a3efef859a190e\">\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/clavataai/ZQG6bRXwNCw4L7Bv/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Moonbounce Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#478EF0\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.clavata.ai/api-reference/create-jobs/create-a-new-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/create-jobs/create-a-new-job.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.clavata.ai/#organization\",\"name\":\"Moonbounce Docs\",\"url\":\"https://docs.clavata.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/clavataai/gvPeNhe6NJK22aBi/Moonbounce_Symbol_Black.svg?fit=max\u0026auto=format\u0026n=gvPeNhe6NJK22aBi\u0026q=85\u0026s=46439a2214e4c1d1b6d5b18d67213318\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.clavata.ai#website\",\"name\":\"Moonbounce Docs\",\"url\":\"https://docs.clavata.ai\",\"publisher\":{\"@id\":\"https://docs.clavata.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.clavata.ai/api-reference/create-jobs/create-a-new-job#webpage\",\"url\":\"https://docs.clavata.ai/api-reference/create-jobs/create-a-new-job\",\"name\":\"Create a new job\",\"description\":\"Creates a new job for content evaluation. Can be configured to wait for completion or return immediately with a job ID. Policy-first endpoint: requires a policy_id.\",\"dateModified\":\"2026-10-21T20:50:35.044Z\",\"isPartOf\":{\"@id\":\"https://docs.clavata.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.clavata.ai/api-reference/create-jobs/create-a-new-job#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.clavata.ai/api-reference/create-jobs/create-a-new-job#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Moonbounce Docs\",\"item\":\"https://docs.clavata.ai\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a new job\",\"item\":\"https://docs.clavata.ai/api-reference/create-jobs/create-a-new-job\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.clavata.ai/api-reference/create-jobs/create-a-new-job#apireference\",\"headline\":\"Create a new job\",\"name\":\"Create a new job\",\"description\":\"Creates a new job for content evaluation. Can be configured to wait for completion or return immediately with a job ID. Policy-first endpoint: requires a policy_id.\",\"url\":\"https://docs.clavata.ai/api-reference/create-jobs/create-a-new-job\",\"mainEntityOfPage\":{\"@id\":\"https://docs.clavata.ai/api-reference/create-jobs/create-a-new-job#webpage\"},\"dateModified\":\"2026-10-21T20:50:35.044Z\",\"publisher\":{\"@id\":\"https://docs.clavata.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.clavata.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Moonbounce Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Moonbounce Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/create-jobs/create-a-new-job.md","siteName":"Moonbounce Docs","nav":{"global":null,"versions":[{"version":"Policy-first","default":true,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/getting_started/what_is_moonbounce"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"API Reference","description":"Which Moonbounce API endpoints work with policy-first accounts, label-first accounts, or both.","href":"/api-reference/introduction"}]},{"group":"Jobs","pages":[{"title":"Create a new job","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/jobs","href":"/api-reference/create-jobs/create-a-new-job"},{"title":"Stream job results in real-time","description":"Initiates a streaming job that processes content data and returns results as they become available. Useful for real-time content evaluation. Policy-first endpoint: requires a `policy_id`.","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/jobs/stream","href":"/api-reference/create-jobs/stream-job-results-in-real-time"},{"title":"List jobs","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/jobs","href":"/api-reference/get-jobs/list-jobs"},{"title":"Get job details","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/jobs/{jobUuid}","href":"/api-reference/get-jobs/get-job-details"},{"title":"Get job label hits","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/jobs/{jobUuid}/labels","href":"/api-reference/get-jobs/get-job-label-hits"}]},{"group":"Job Feedback","pages":[{"title":"Submit job feedback","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/jobs/{jobUuid}/feedback","href":"/api-reference/job-feedback/submit-job-feedback"},{"title":"Get job feedback","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/jobs/{jobUuid}/feedback","href":"/api-reference/job-feedback/get-job-feedback"}]},{"group":"Batch Processing","pages":[{"title":"Create a new batch job","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/batch-jobs","href":"/api-reference/batch-processing/create-a-new-batch-job"},{"title":"Get batch jobs","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/batch-jobs","href":"/api-reference/batch-processing/get-batch-jobs"},{"title":"Cancel a batch job","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/batch-jobs/{batchJobId}/cancel","href":"/api-reference/batch-processing/cancel-a-batch-job"}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/2026-10-06"}]}]},{"version":"Label-first","pages":[{"title":"Label-first","href":"/api-reference/get-jobs/list-jobs"}]}]},"basePath":"","title":"Create a new job - Moonbounce Docs","buildId":"dpl_8hoxaqFTU7hTr6A2fUraxAyjuiZo","deploymentId":"dpl_8hoxaqFTU7hTr6A2fUraxAyjuiZo","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CDiBsYGW.js","utils-KF9rPlmF.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C26urKTX.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BdjmJAC1.js","snippetPresets-3IpDBjt3.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-D4x_2vvo.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BIWdc5Pa.js","shallow-LQqfiMNd.js","getApiPlaygroundDisplay-DryzlOZG.js","CodeSnippet-tcJujU4r.js","CodeSnippets-BHp0nVLL.js","Page-1CZdsdAn.js","getPastedJson-DU-1ayUv.js","icon-CZK2hPr4.js","MethodPill-DOaqmTFC.js","DuplicateIcon-B5-nUxxl.js","createIcon-CDP_U77G.js","DynamicMarkdown-GHvayGOn.js","SectionHeading-BYvpkmUD.js","axios-vUo_bRtp.js","Markdown-uxhlayGT.js","clsx-B35qUV0p.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BvrGG8gU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CAf0yVYe.js"]}