Returns the full details of a single upload job by ID: its status and status reason, the data source and chunking strategy configs it used, creation/update timestamps, aggregate artifact status counts, and (unless include_artifact_list=false) the per-artifact list with each artifact’s chunk-upload status. Use this to poll the progress of an upload started by the create-upload or file-upload endpoints until it reaches a terminal state. If the stored status is non-terminal, the call reconciles it against the live ingestion workflow — if the workflow has terminated (for example, was killed) the upload’s status is updated to match before the response is returned, so a running job that has actually died is reported accurately rather than staying stuck. Set include_artifact_list=false to get a lighter response without the artifact details.
GET
/
v4
/
knowledge-bases
/
{knowledge_base_id}
/
uploads
/
{upload_id}
Get Upload Job
curl --request GET \ --url https://api.egp.scale.com/v4/knowledge-bases/{knowledge_base_id}/uploads/{upload_id} \ --header 'x-api-key: <api-key>'
Number of artifacts in each of the various states, such as completed and failed for this upload. This includes artifacts for this data source that are retried.
Id of the upload schedule that triggered this upload_id. Null if triggered manually.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Scale AI","colors":{"primary":"#3f2e7b","light":"#ca62ff","dark":"#3f2e7b"},"logo":{"light":"https://mintcdn.com/scalegp/TBmst1qiYXwYqUB5/logo/light.png?fit=max\u0026auto=format\u0026n=TBmst1qiYXwYqUB5\u0026q=85\u0026s=46027042c16b373ac463148db5ad1d6b","dark":"https://mintcdn.com/scalegp/TBmst1qiYXwYqUB5/logo/dark.png?fit=max\u0026auto=format\u0026n=TBmst1qiYXwYqUB5\u0026q=85\u0026s=02733f39d684d796ec742853eabf0de5"},"favicon":"https://mintcdn.com/scalegp/1vQnbXFkjbQbcgd1/favicon.png?fit=max\u0026auto=format\u0026n=1vQnbXFkjbQbcgd1\u0026q=85\u0026s=f52c84ba46a7cca58551673616dabe9c","background":{"decoration":"windows"},"navbar":{"links":[],"primary":{"type":"button","label":"Platform","href":"https://app.sgp.scale.com/"}},"footer":{"socials":{"x":"https://x.com/scale_ai","facebook":"https://www.facebook.com/scaleapi","linkedin":"https://www.linkedin.com/company/scaleai"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"scalegp","hasAudioNarration":false,"actualSubdomain":"scalegp","customDomains":["docs.gp.scale.com"],"gitSource":{"type":"github","owner":"scaleapi","repo":"sgp-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6abeb90f3a8b8379c1eaf648","collectionId":"437f531c-55bf-41b5-8f5d-4e63781df61e","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6abeb90f3a8b8379c1eaf648"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6abeb90f3a8b8379c1eaf648","clientVersion":"0.0.4054","searchFilterCounts":[{"language":"default","tag":"API Reference","count":235},{"language":"default","tag":"AgentOps API","count":141},{"language":"default","tag":"Guides","count":131},{"language":"default","tag":"Agentex API","count":94},{"language":"default","tag":"Evaluations","count":72},{"language":"default","tag":"Dex API","count":48},{"language":"default","tag":"Agents","count":41},{"language":"default","tag":"Evaluation Datasets","count":34},{"language":"default","tag":"Models","count":32},{"language":"default","tag":"Knowledge Bases","count":31}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":"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":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":"@font-face{font-family:'Aeonik';src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7W0Q5nw.woff2);font-weight:400;font-style:normal;font-display:swap}h1,h2,h3{font-family:'aeonik';letter-spacing:normal!important}"}],"page":{"pagePath":"reference/v4/knowledge-bases/get-upload-job","slug":"/reference/v4/knowledge-bases/get-upload-job","pageMetadata":{"title":"Get Upload Job","description":"Returns the full details of a single upload job by ID: its status and status reason, the data source and chunking strategy configs it used, creation/update timestamps, aggregate artifact status counts, and (unless include_artifact_list=false) the per-artifact list with each artifact's chunk-upload status. Use this to poll the progress of an upload started by the create-upload or file-upload endpoints until it reaches a terminal state. If the stored status is non-terminal, the call reconciles it against the live ingestion workflow — if the workflow has terminated (for example, was killed) the upload's status is updated to match before the response is returned, so a running job that has actually died is reported accurately rather than staying stuck. Set include_artifact_list=false to get a lighter response without the artifact details.","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/knowledge-bases/{knowledge_base_id}/uploads/{upload_id}","href":"/reference/v4/knowledge-bases/get-upload-job","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Returns the full details of a single upload job by ID: its status and status reason, the data source and chunking strategy configs it used, creation/update timestamps, aggregate artifact status counts, and (unless include_artifact_list=false) the per-artifact list with each artifact’s chunk-upload status. Use this to poll the progress of an upload started by the create-upload or file-upload endpoints until it reaches a terminal state. If the stored status is non-terminal, the call reconciles it against the live ingestion workflow — if the workflow has terminated (for example, was killed) the upload’s status is updated to match before the response is returned, so a running job that has actually died is reported accurately rather than staying stuck. Set include_artifact_list=false to get a lighter response without the artifact details.\"\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":"Get Upload Job","description":"Returns the full details of a single upload job by ID: its status and status reason, the data source and chunking strategy configs it used, creation/update timestamps, aggregate artifact status counts, and (unless include_artifact_list=false) the per-artifact list with each artifact's chunk-upload status. Use this to poll the progress of an upload started by the create-upload or file-upload endpoints until it reaches a terminal state. If the stored status is non-terminal, the call reconciles it against the live ingestion workflow — if the workflow has terminated (for example, was killed) the upload's status is updated to match before the response is returned, so a running job that has actually died is reported accurately rather than staying stuck. Set include_artifact_list=false to get a lighter response without the artifact details.","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/knowledge-bases/{knowledge_base_id}/uploads/{upload_id}","href":"/reference/v4/knowledge-bases/get-upload-job","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Knowledge Bases"],"summary":"Get Upload Job","description":"Returns the full details of a single upload job by ID: its status and status reason, the data source and chunking strategy configs it used, creation/update timestamps, aggregate artifact status counts, and (unless include_artifact_list=false) the per-artifact list with each artifact's chunk-upload status. Use this to poll the progress of an upload started by the create-upload or file-upload endpoints until it reaches a terminal state. If the stored status is non-terminal, the call reconciles it against the live ingestion workflow — if the workflow has terminated (for example, was killed) the upload's status is updated to match before the response is returned, so a running job that has actually died is reported accurately rather than staying stuck. Set include_artifact_list=false to get a lighter response without the artifact details.","operationId":"GET-V4-/v2/knowledge-bases/{knowledge_base_id}/uploads/{upload_id}","security":["dc91f4e0-1ab2-4fd6-9541-314d4762a4e9"],"parameters":["c667c2da-6bd8-4a33-9bb2-0b484938f954","28da3833-f9ac-4713-999d-3f290ff55995","d0133168-37bc-4f4f-b3ea-73b8ce0bf555","dae00048-aa3f-435f-ac36-9a7a2cd43421"],"responses":{"200":"1e72d9e3-7e95-4caf-8cd0-33d94385ceed","422":"49563d47-3886-414f-9d4b-b47251251a07"},"method":"get","type":"path","servers":["239d3ed0-e9a1-4424-90ea-9274ea35b5d0"],"path":"/v4/knowledge-bases/{knowledge_base_id}/uploads/{upload_id}","baseUrlOptions":["https://api.egp.scale.com"],"title":"Get Upload Job","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"c667c2da-6bd8-4a33-9bb2-0b484938f954":{"name":"knowledge_base_id","in":"path","required":true,"schema":{"type":"string","title":"Knowledge Base Id","isRequired":true,"uniqueKey":"","typeLabel":"string"}},"28da3833-f9ac-4713-999d-3f290ff55995":{"name":"upload_id","in":"path","required":true,"schema":{"type":"string","title":"Upload Id","isRequired":true,"uniqueKey":"","typeLabel":"string"}},"d0133168-37bc-4f4f-b3ea-73b8ce0bf555":{"name":"include_artifact_list","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Include Artifact List","isRequired":false,"uniqueKey":"","typeLabel":"boolean"}},"dae00048-aa3f-435f-ac36-9a7a2cd43421":{"name":"x-selected-account-id","in":"header","required":false,"schema":{"oneOf":[{"type":"string","title":"Account ID Header","uniqueKey":"oneOf.0","typeLabel":"string"},{"type":"null","title":"Account ID Header","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string | null"}}},"responses":{"1e72d9e3-7e95-4caf-8cd0-33d94385ceed":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"upload_id":{"type":"string","title":"Upload Id","description":"Unique ID of the upload job.","isRequired":true,"uniqueKey":"upload_id","typeLabel":"string"},"data_source_config":{"oneOf":[{"type":"object","title":"S3 DataSource Config","description":"Configuration for downloading data from source.","required":["source","s3_bucket","aws_region","aws_account_id"],"properties":{"source":{"type":"string","const":"S3","title":"Source","isRequired":true,"uniqueKey":"data_source_config.oneOf.0.source","typeLabel":"string"},"s3_bucket":{"type":"string","title":"S3 Bucket","description":"Name of the S3 bucket where the data is stored.","isRequired":true,"uniqueKey":"data_source_config.oneOf.0.s3_bucket","typeLabel":"string"},"aws_region":{"type":"string","title":"Aws Region","description":"AWS region where the S3 bucket is located.","isRequired":true,"uniqueKey":"data_source_config.oneOf.0.aws_region","typeLabel":"string"},"aws_account_id":{"type":"string","pattern":"^\\d{12}$","title":"Aws Account Id","description":"AWS account ID that owns the S3 bucket.","isRequired":true,"uniqueKey":"data_source_config.oneOf.0.aws_account_id","typeLabel":"string"},"s3_prefix":{"type":"string","title":"S3 Prefix","description":"Prefix of the S3 bucket where the data is stored. If not specified, the entire bucket will be used.","default":"","uniqueKey":"data_source_config.oneOf.0.s3_prefix","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data_source_config.oneOf.0","typeLabel":"S3 DataSource Config · object"},{"type":"object","title":"SharePoint DataSource Config","description":"Configuration for downloading data from source.","required":["source","client_id","tenant_id","site_id"],"properties":{"source":{"type":"string","const":"SharePoint","title":"Source","isRequired":true,"uniqueKey":"data_source_config.oneOf.1.source","typeLabel":"string"},"client_id":{"type":"string","title":"Client Id","description":"Client ID associated with this SharePoint site","isRequired":true,"uniqueKey":"data_source_config.oneOf.1.client_id","typeLabel":"string"},"tenant_id":{"type":"string","title":"Tenant Id","description":"Tenant ID that the SharePoint site is within","isRequired":true,"uniqueKey":"data_source_config.oneOf.1.tenant_id","typeLabel":"string"},"site_id":{"type":"string","title":"Site Id","description":"Site ID for this SharePoint site, can be found at https://[hostname].sharepoint.com/sites/[site name]/_api/site/id","isRequired":true,"uniqueKey":"data_source_config.oneOf.1.site_id","typeLabel":"string"},"folder_path":{"title":"Folder Path","description":"Nested folder path to read files from the root of the site. Please omit the leading slash. Example: 'Documents/sub_directory'","default":"","type":"string","uniqueKey":"data_source_config.oneOf.1.folder_path","typeLabel":"string"},"recursive":{"title":"Recursive","description":"Recurse through the folder contents, default is True.","default":true,"type":"boolean","uniqueKey":"data_source_config.oneOf.1.recursive","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"data_source_config.oneOf.1","typeLabel":"SharePoint DataSource Config · object"},{"type":"object","title":"SharePoint Page DataSource Config","description":"Configuration for downloading data from source.","required":["source","client_id","tenant_id","site_id"],"properties":{"source":{"type":"string","const":"SharePointPage","title":"Source","isRequired":true,"uniqueKey":"data_source_config.oneOf.2.source","typeLabel":"string"},"client_id":{"type":"string","title":"Client Id","description":"Client ID associated with this SharePoint site","isRequired":true,"uniqueKey":"data_source_config.oneOf.2.client_id","typeLabel":"string"},"tenant_id":{"type":"string","title":"Tenant Id","description":"Tenant ID that the SharePoint site is within","isRequired":true,"uniqueKey":"data_source_config.oneOf.2.tenant_id","typeLabel":"string"},"site_id":{"type":"string","title":"Site Id","description":"Site ID for this SharePoint site","isRequired":true,"uniqueKey":"data_source_config.oneOf.2.site_id","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data_source_config.oneOf.2","typeLabel":"SharePoint Page DataSource Config · object"},{"type":"object","title":"Google Drive DataSource Config","description":"Configuration for downloading data from source.","required":["source","drive_id"],"properties":{"source":{"type":"string","const":"GoogleDrive","title":"Source","isRequired":true,"uniqueKey":"data_source_config.oneOf.3.source","typeLabel":"string"},"drive_id":{"type":"string","title":"Drive Id","description":"ID associated with the Google Drive to retrieve contents from","isRequired":true,"uniqueKey":"data_source_config.oneOf.3.drive_id","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data_source_config.oneOf.3","typeLabel":"Google Drive DataSource Config · object"},{"type":"object","title":"Azure Blob Storage DataSource Config","description":"Configuration for downloading data from source.","required":["source","container_url"],"properties":{"source":{"type":"string","const":"AzureBlobStorage","title":"Source","isRequired":true,"uniqueKey":"data_source_config.oneOf.4.source","typeLabel":"string"},"container_url":{"type":"string","title":"Container Url","description":"The full URL of the container such as 'https://your-account-name.blob.core.windows.net/your-container-name'","isRequired":true,"uniqueKey":"data_source_config.oneOf.4.container_url","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data_source_config.oneOf.4","typeLabel":"Azure Blob Storage DataSource Config · object"},{"type":"object","title":"Google Cloud Storage DataSource Config","description":"Configuration for downloading data from source.","required":["source","bucket"],"properties":{"source":{"type":"string","const":"GoogleCloudStorage","title":"Source","isRequired":true,"uniqueKey":"data_source_config.oneOf.5.source","typeLabel":"string"},"bucket":{"type":"string","title":"Bucket","description":"Name of the Google Cloud Storage bucket where the data is stored.","isRequired":true,"uniqueKey":"data_source_config.oneOf.5.bucket","typeLabel":"string"},"prefix":{"title":"Prefix","description":"Prefix path within the Google Cloud Storage bucket. If not specified, the entire bucket will be used.","type":"string","uniqueKey":"data_source_config.oneOf.5.prefix","typeLabel":"string"},"project_id":{"title":"Project Id","description":"GCP project ID that owns the Google Cloud Storage bucket. If not specified, uses the default project.","type":"string","uniqueKey":"data_source_config.oneOf.5.project_id","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data_source_config.oneOf.5","typeLabel":"Google Cloud Storage DataSource Config · object"},{"type":"object","title":"LocalChunksSourceConfig","description":"Configuration for downloading data from source.","required":["source","artifact_name","artifact_uri"],"properties":{"source":{"type":"string","const":"LocalChunks","title":"Source","isRequired":true,"uniqueKey":"data_source_config.oneOf.6.source","typeLabel":"string"},"artifact_name":{"type":"string","title":"Artifact Name","description":"The file name assigned to the artifact, containing a file extension. Adding an extension is mandatory, to allow detecting file types for text extraction.","isRequired":true,"uniqueKey":"data_source_config.oneOf.6.artifact_name","typeLabel":"string"},"artifact_uri":{"type":"string","title":"Artifact Uri","description":"A unique identifier for an artifact within the knowledge base, such as full path in a directory or file system.","isRequired":true,"uniqueKey":"data_source_config.oneOf.6.artifact_uri","typeLabel":"string"},"deduplication_strategy":{"type":"string","enum":["Overwrite","Fail"],"title":"DeduplicationStrategy","description":"Action to take if an artifact with the same name already exists in the knowledge base. Can be either Overwrite (default) or Fail.","default":"Overwrite","uniqueKey":"data_source_config.oneOf.6.deduplication_strategy","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"data_source_config.oneOf.6","typeLabel":"LocalChunksSourceConfig · object"},{"type":"object","title":"LocalFileSourceConfig","description":"Configuration for downloading data from source.","required":["source"],"properties":{"source":{"type":"string","const":"LocalFile","title":"Source","isRequired":true,"uniqueKey":"data_source_config.oneOf.7.source","typeLabel":"string"},"deduplication_strategy":{"type":"string","enum":["Overwrite","Fail"],"title":"DeduplicationStrategy","description":"Action to take if an artifact with the same name already exists in the knowledge base. Can be either Overwrite (default) or Fail.","default":"Overwrite","uniqueKey":"data_source_config.oneOf.7.deduplication_strategy","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"data_source_config.oneOf.7","typeLabel":"LocalFileSourceConfig · object"},{"type":"object","title":"Confluence DataSource Config","description":"Configuration for downloading data from source.","required":["source","space_key"],"properties":{"source":{"type":"string","const":"Confluence","title":"Source","isRequired":true,"uniqueKey":"data_source_config.oneOf.8.source","typeLabel":"string"},"space_key":{"type":"string","title":"Space Key","description":"Confluence space key to retrieve contents from. See https://support.atlassian.com/confluence-cloud/docs/choose-a-space-key","isRequired":true,"uniqueKey":"data_source_config.oneOf.8.space_key","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data_source_config.oneOf.8","typeLabel":"Confluence DataSource Config · object"},{"type":"object","title":"Slack DataSource Config","description":"Configuration for downloading data from source.","required":["source","channel_id"],"properties":{"source":{"type":"string","const":"Slack","title":"Source","isRequired":true,"uniqueKey":"data_source_config.oneOf.9.source","typeLabel":"string"},"channel_id":{"type":"string","title":"Channel Id","description":"Slack Channel or Conversation ID to retrieve history from. Open channel details and find the ID at bottom of 'About' section.","isRequired":true,"uniqueKey":"data_source_config.oneOf.9.channel_id","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data_source_config.oneOf.9","typeLabel":"Slack DataSource Config · object"},{"type":"object","title":"Snowflake DataSource Config","description":"Configuration for downloading data from source.","required":["source","account","user"],"properties":{"source":{"type":"string","const":"Snowflake","title":"Source","isRequired":true,"uniqueKey":"data_source_config.oneOf.10.source","typeLabel":"string"},"account":{"type":"string","title":"Account","description":"Snowflake account identifier","isRequired":true,"uniqueKey":"data_source_config.oneOf.10.account","typeLabel":"string"},"user":{"type":"string","title":"User","description":"Snowflake user name","isRequired":true,"uniqueKey":"data_source_config.oneOf.10.user","typeLabel":"string"},"warehouse":{"title":"Warehouse","description":"Snowflake warehouse to run queries against.","type":"string","uniqueKey":"data_source_config.oneOf.10.warehouse","typeLabel":"string"},"role":{"title":"Role","description":"Snowflake role to assume on connection.","type":"string","uniqueKey":"data_source_config.oneOf.10.role","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data_source_config.oneOf.10","typeLabel":"Snowflake DataSource Config · object"},{"type":"object","title":"Databricks DataSource Config","description":"Configuration for downloading data from source.","required":["source","server_hostname","http_path"],"properties":{"source":{"type":"string","const":"Databricks","title":"Source","isRequired":true,"uniqueKey":"data_source_config.oneOf.11.source","typeLabel":"string"},"server_hostname":{"type":"string","title":"Server Hostname","description":"Databricks server hostname","isRequired":true,"uniqueKey":"data_source_config.oneOf.11.server_hostname","typeLabel":"string"},"http_path":{"type":"string","title":"Http Path","description":"HTTP path for the Databricks cluster or SQL warehouse","isRequired":true,"uniqueKey":"data_source_config.oneOf.11.http_path","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data_source_config.oneOf.11","typeLabel":"Databricks DataSource Config · object"},{"type":"object","title":"SQL Database DataSource Config","description":"Configuration for downloading data from source.","required":["source","dialect","database"],"properties":{"source":{"type":"string","const":"SQLDatabase","title":"Source","isRequired":true,"uniqueKey":"data_source_config.oneOf.12.source","typeLabel":"string"},"dialect":{"type":"string","enum":["postgresql","mssql","sqlite","snowflake"],"title":"Dialect","description":"SQL dialect to use for connection","isRequired":true,"uniqueKey":"data_source_config.oneOf.12.dialect","typeLabel":"enum\u003cstring>"},"database":{"type":"string","title":"Database","description":"Name of the database to connect to.","isRequired":true,"uniqueKey":"data_source_config.oneOf.12.database","typeLabel":"string"},"host":{"title":"Host","description":"Database server hostname or IP address","type":"string","uniqueKey":"data_source_config.oneOf.12.host","typeLabel":"string"},"port":{"title":"Port","description":"Database server port","type":"integer","uniqueKey":"data_source_config.oneOf.12.port","typeLabel":"integer"},"username":{"title":"Username","description":"Username for authentication","type":"string","uniqueKey":"data_source_config.oneOf.12.username","typeLabel":"string"},"driver":{"title":"Driver","description":"ODBC driver name for MSSQL connections. Defaults to 'ODBC Driver 18 for SQL Server' if not specified.","type":"string","uniqueKey":"data_source_config.oneOf.12.driver","typeLabel":"string"},"ssl_mode":{"title":"Ssl Mode","description":"SSL mode for PostgreSQL connections (e.g., 'require', 'verify-full')","type":"string","uniqueKey":"data_source_config.oneOf.12.ssl_mode","typeLabel":"string"},"connect_timeout":{"title":"Connect Timeout","description":"Connection timeout in seconds","default":30,"type":"integer","uniqueKey":"data_source_config.oneOf.12.connect_timeout","typeLabel":"integer"},"connection_options":{"title":"Connection Options","description":"Additional connection parameters appended to the URL (e.g., {'sslrootcert': '/path/to/ca.pem', 'application_name': 'myapp'})","additionalProperties":{"type":"string","uniqueKey":"data_source_config.oneOf.12.connection_options.additionalProperties","typeLabel":"string"},"type":"object","uniqueKey":"data_source_config.oneOf.12.connection_options","typeLabel":"Connection Options · object"},"account":{"title":"Account","description":"Snowflake account identifier (e.g., 'xy12345' or 'xy12345.us-east-2.azure'). Do NOT include the '.snowflakecomputing.com' suffix.","type":"string","uniqueKey":"data_source_config.oneOf.12.account","typeLabel":"string"},"warehouse":{"title":"Warehouse","description":"Snowflake warehouse name for query execution. Required for Snowflake.","type":"string","uniqueKey":"data_source_config.oneOf.12.warehouse","typeLabel":"string"},"schema_name":{"title":"Schema Name","description":"Snowflake schema name. Defaults to 'PUBLIC' if not specified.","type":"string","uniqueKey":"data_source_config.oneOf.12.schema_name","typeLabel":"string"},"role":{"title":"Role","description":"Snowflake role for authentication. Uses the default role for the user if not specified.","type":"string","uniqueKey":"data_source_config.oneOf.12.role","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data_source_config.oneOf.12","typeLabel":"SQL Database DataSource Config · object"},{"type":"object","title":"MongoDB DataSource Config","description":"Configuration for downloading data from source.","required":["source","database"],"properties":{"source":{"type":"string","const":"MongoDB","title":"Source","isRequired":true,"uniqueKey":"data_source_config.oneOf.13.source","typeLabel":"string"},"database":{"type":"string","title":"Database","description":"Database name to connect to","isRequired":true,"uniqueKey":"data_source_config.oneOf.13.database","typeLabel":"string"},"connect_timeout":{"title":"Connect Timeout","description":"Connection timeout in seconds","default":30,"type":"integer","uniqueKey":"data_source_config.oneOf.13.connect_timeout","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"data_source_config.oneOf.13","typeLabel":"MongoDB DataSource Config · object"},{"type":"object","title":"BigQuery DataSource Config","description":"Configuration for downloading data from source.","required":["source","project_id"],"properties":{"source":{"type":"string","const":"BigQuery","title":"Source","isRequired":true,"uniqueKey":"data_source_config.oneOf.14.source","typeLabel":"string"},"project_id":{"type":"string","title":"Project Id","description":"GCP project ID containing the BigQuery dataset(s) to query.","isRequired":true,"uniqueKey":"data_source_config.oneOf.14.project_id","typeLabel":"string"},"location":{"title":"Location","description":"BigQuery dataset location (e.g. 'US', 'EU', 'us-central1'). When omitted the client uses the project's default location.","type":"string","uniqueKey":"data_source_config.oneOf.14.location","typeLabel":"string"},"connect_timeout":{"title":"Connect Timeout","description":"Connection timeout in seconds for BigQuery API calls.","default":30,"type":"integer","uniqueKey":"data_source_config.oneOf.14.connect_timeout","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"data_source_config.oneOf.14","typeLabel":"BigQuery DataSource Config · object"}],"isRequired":true,"uniqueKey":"data_source_config","typeLabel":"S3 DataSource Config · object | SharePoint DataSource Config · object | SharePoint Page DataSource Config · object | Google Drive DataSource Config · object | Azure Blob Storage DataSource Config · object | Google Cloud Storage DataSource Config · object | LocalChunksSourceConfig · object | LocalFileSourceConfig · object | Confluence DataSource Config · object | Slack DataSource Config · object | Snowflake DataSource Config · object | Databricks DataSource Config · object | SQL Database DataSource Config · object | MongoDB DataSource Config · object | BigQuery DataSource Config · object"},"created_at":{"type":"string","title":"Created At","description":"The timestamp at which the upload job started.","isRequired":true,"uniqueKey":"created_at","typeLabel":"string"},"updated_at":{"type":"string","title":"Updated At","description":"The timestamp at which the upload job was last updated.","isRequired":true,"uniqueKey":"updated_at","typeLabel":"string"},"status":{"type":"string","enum":["Running","Completed","Failed","Canceled"],"title":"UploadJobStatus","description":"Sync status","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"artifacts_status":{"properties":{"artifacts_chunking":{"type":"integer","title":"Artifacts Chunking","description":"Number of artifacts in the chunking state","isRequired":true,"uniqueKey":"artifacts_status.artifacts_chunking","typeLabel":"integer"},"artifacts_embedding":{"type":"integer","title":"Artifacts Embedding","description":"Number of artifacts in the embedding state","isRequired":true,"uniqueKey":"artifacts_status.artifacts_embedding","typeLabel":"integer"},"artifacts_completed":{"type":"integer","title":"Artifacts Completed","description":"Number of artifacts uploaded successfully.","isRequired":true,"uniqueKey":"artifacts_status.artifacts_completed","typeLabel":"integer"},"artifacts_pending":{"type":"integer","title":"Artifacts Pending","description":"Previously: Number of artifacts awaiting upload. Note that this status will be deprecated soon and should show 0","isRequired":true,"uniqueKey":"artifacts_status.artifacts_pending","typeLabel":"integer"},"artifacts_uploading":{"type":"integer","title":"Artifacts Uploading","description":"Number of artifacts with upload in progress.","isRequired":true,"uniqueKey":"artifacts_status.artifacts_uploading","typeLabel":"integer"},"artifacts_failed":{"type":"integer","title":"Artifacts Failed","description":"Number of artifacts that failed while being processed.","isRequired":true,"uniqueKey":"artifacts_status.artifacts_failed","typeLabel":"integer"}},"type":"object","required":["artifacts_chunking","artifacts_embedding","artifacts_completed","artifacts_pending","artifacts_uploading","artifacts_failed"],"title":"ArtifactsStatus","description":"Number of artifacts in each of the various states, such as completed and failed for this upload. This includes artifacts for this data source that are retried.","isRequired":true,"uniqueKey":"artifacts_status","typeLabel":"ArtifactsStatus · object"},"artifacts":{"title":"Artifacts","description":"List of info for each artifacts associated with this upload. This includes artifacts for this data source that are retried.","items":{"properties":{"artifact_id":{"type":"string","title":"Artifact Id","description":"Unique identifier for the artifact.","isRequired":true,"uniqueKey":"artifacts.items.[INDEX].artifact_id","typeLabel":"string"},"artifact_name":{"type":"string","title":"Artifact Name","description":"Friendly name for the artifact.","isRequired":true,"uniqueKey":"artifacts.items.[INDEX].artifact_name","typeLabel":"string"},"artifact_uri":{"type":"string","title":"Artifact Uri","description":"Location (e.g. URI) of the artifact in the data source.","isRequired":true,"uniqueKey":"artifacts.items.[INDEX].artifact_uri","typeLabel":"string"},"status":{"type":"string","title":"Status","description":"Status of the artifact.","isRequired":true,"uniqueKey":"artifacts.items.[INDEX].status","typeLabel":"string"},"source":{"type":"string","enum":["S3","Confluence","SharePoint","SharePointPage","GoogleDrive","GoogleCloudStorage","AzureBlobStorage","Slack","Snowflake","Databricks","LocalFile","LocalChunks"],"title":"ArtifactSource","description":"Data source of the artifact.","isRequired":true,"uniqueKey":"artifacts.items.[INDEX].source","typeLabel":"enum\u003cstring>"},"chunks_status":{"properties":{"chunks_completed":{"type":"integer","title":"Chunks Completed","description":"Number of chunks uploaded successfully.","isRequired":true,"uniqueKey":"artifacts.items.[INDEX].chunks_status.chunks_completed","typeLabel":"integer"},"chunks_pending":{"type":"integer","title":"Chunks Pending","description":"Number of chunks awaiting upload.","isRequired":true,"uniqueKey":"artifacts.items.[INDEX].chunks_status.chunks_pending","typeLabel":"integer"},"chunks_failed":{"type":"integer","title":"Chunks Failed","description":"Number of chunks that failed upload.","isRequired":true,"uniqueKey":"artifacts.items.[INDEX].chunks_status.chunks_failed","typeLabel":"integer"}},"type":"object","required":["chunks_completed","chunks_pending","chunks_failed"],"title":"ChunksStatus","description":"Number of chunks pending, completed, and failed.","isRequired":true,"uniqueKey":"artifacts.items.[INDEX].chunks_status","typeLabel":"ChunksStatus · object"},"tags":{"title":"Tags","description":"Tags associated with the artifact.","additionalProperties":true,"type":"object","isRequired":true,"uniqueKey":"artifacts.items.[INDEX].tags","typeLabel":"Tags · object"},"artifact_uri_public":{"title":"Artifact Uri Public","description":"Public Location (e.g. URI) of the artifact in the data source.","type":"string","uniqueKey":"artifacts.items.[INDEX].artifact_uri_public","typeLabel":"string"},"status_reason":{"title":"Status Reason","description":"Reason for the artifact's status.","type":"string","uniqueKey":"artifacts.items.[INDEX].status_reason","typeLabel":"string"},"updated_at":{"title":"Updated At","description":"Timestamp at which the artifact was last updated.","type":"string","format":"date-time","uniqueKey":"artifacts.items.[INDEX].updated_at","typeLabel":"string\u003cdate-time>"}},"type":"object","required":["artifact_id","artifact_name","artifact_uri","status","source","chunks_status","tags"],"title":"ArtifactInfo","uniqueKey":"artifacts.items.[INDEX]","typeLabel":"ArtifactInfo · object"},"type":"array","isRequired":true,"uniqueKey":"artifacts","typeLabel":"ArtifactInfo · object[]"},"chunking_strategy_config":{"oneOf":[{"type":"object","title":"CharacterChunkingStrategyConfig","description":"Configuration for chunking the text content of each artifact.","required":["strategy"],"properties":{"strategy":{"type":"string","const":"character","title":"Strategy","isRequired":true,"uniqueKey":"chunking_strategy_config.oneOf.0.strategy","typeLabel":"string"},"separator":{"title":"Separator","description":"Character designating breaks in input data. Text data will first be split into sections by this separator, then each section will be split into chunks of size `chunk_size`.","default":"\n\n","type":"string","uniqueKey":"chunking_strategy_config.oneOf.0.separator","typeLabel":"string"},"chunk_size":{"title":"Chunk Size","description":"Maximum number of characters in each chunk. If not specified, a chunk size of 1000 will be used.","default":1000,"type":"integer","minimum":1,"uniqueKey":"chunking_strategy_config.oneOf.0.chunk_size","typeLabel":"integer"},"chunk_overlap":{"title":"Chunk Overlap","description":"Number of characters to overlap between chunks. If not specified, an overlap of 200 will be used. For example if the chunk size is 3 and the overlap size is 1, and the text to chunk is 'abcde', the chunks will be 'abc', 'cde'.","default":200,"type":"integer","minimum":0,"uniqueKey":"chunking_strategy_config.oneOf.0.chunk_overlap","typeLabel":"integer"}},"uniqueKey":"chunking_strategy_config.oneOf.0","typeLabel":"CharacterChunkingStrategyConfig · object"},{"type":"object","title":"TokenChunkingStrategyConfig","description":"Configuration for chunking the text content of each artifact.","required":["strategy"],"properties":{"strategy":{"type":"string","const":"token","title":"Strategy","isRequired":true,"uniqueKey":"chunking_strategy_config.oneOf.1.strategy","typeLabel":"string"},"separator":{"title":"Separator","description":"Character designating breaks in input data. Text data will first be split into sections by this separator, then each section will be split into chunks of size `chunk_size`.","default":"\n\n","type":"string","uniqueKey":"chunking_strategy_config.oneOf.1.separator","typeLabel":"string"},"target_chunk_size":{"title":"Target Chunk Size","description":"Target number of tokens in each chunk. If not specified, a target chunk size of 200 will be used.","default":200,"type":"integer","minimum":1,"uniqueKey":"chunking_strategy_config.oneOf.1.target_chunk_size","typeLabel":"integer"},"max_chunk_size":{"title":"Max Chunk Size","description":"Maximum number of tokens in each chunk. If not specified, a maximum chunk size of 600 will be used.","default":600,"type":"integer","minimum":1,"uniqueKey":"chunking_strategy_config.oneOf.1.max_chunk_size","typeLabel":"integer"},"chunk_overlap":{"title":"Chunk Overlap","description":"Number of tokens to overlap between chunks. If not specified, an overlap of 0 will be used. Not this if only followed approximately.","default":0,"type":"integer","minimum":0,"uniqueKey":"chunking_strategy_config.oneOf.1.chunk_overlap","typeLabel":"integer"}},"uniqueKey":"chunking_strategy_config.oneOf.1","typeLabel":"TokenChunkingStrategyConfig · object"},{"type":"object","title":"CustomChunkingStrategyConfig","description":"Configuration for chunking the text content of each artifact.","required":["strategy","endpoint"],"properties":{"strategy":{"type":"string","const":"custom","title":"Strategy","isRequired":true,"uniqueKey":"chunking_strategy_config.oneOf.2.strategy","typeLabel":"string"},"endpoint":{"type":"string","title":"Endpoint","description":"Endpoint path to call for custom chunking","isRequired":true,"uniqueKey":"chunking_strategy_config.oneOf.2.endpoint","typeLabel":"string"},"params":{"title":"Params","description":"Parameters that will be appended to the body of the request for the chunk.","default":{},"additionalProperties":true,"type":"object","uniqueKey":"chunking_strategy_config.oneOf.2.params","typeLabel":"Params · object"}},"uniqueKey":"chunking_strategy_config.oneOf.2","typeLabel":"CustomChunkingStrategyConfig · object"},{"type":"object","title":"PreChunkedStrategyConfig","description":"Configuration for chunking the text content of each artifact.","required":["strategy"],"properties":{"strategy":{"type":"string","const":"pre_chunked","title":"Strategy","isRequired":true,"uniqueKey":"chunking_strategy_config.oneOf.3.strategy","typeLabel":"string"}},"uniqueKey":"chunking_strategy_config.oneOf.3","typeLabel":"PreChunkedStrategyConfig · object"},{"type":"object","title":"EnhancedChunkingStrategyConfig","description":"Configuration for chunking the text content of each artifact.","properties":{"strategy":{"type":"string","const":"enhanced","title":"Strategy","default":"enhanced","uniqueKey":"chunking_strategy_config.oneOf.4.strategy","typeLabel":"string"},"chunk_mode":{"type":"string","enum":["variable","section","page","page_sections","block"],"title":"Chunk Mode","description":"Enhanced internal chunking method","default":"section","uniqueKey":"chunking_strategy_config.oneOf.4.chunk_mode","typeLabel":"enum\u003cstring>"},"options":{"title":"Options","description":"Options for enhanced parsing","additionalProperties":true,"type":"object","uniqueKey":"chunking_strategy_config.oneOf.4.options","typeLabel":"Options · object"},"advanced_options":{"title":"Advanced Options","description":"Advanced options for enhanced parsing","additionalProperties":true,"type":"object","uniqueKey":"chunking_strategy_config.oneOf.4.advanced_options","typeLabel":"Advanced Options · object"},"experimental_options":{"title":"Experimental Options","description":"Experimental options for enhanced parsing","additionalProperties":true,"type":"object","uniqueKey":"chunking_strategy_config.oneOf.4.experimental_options","typeLabel":"Experimental Options · object"},"use_async_parsing":{"type":"boolean","title":"Use Async Parsing","default":false,"uniqueKey":"chunking_strategy_config.oneOf.4.use_async_parsing","typeLabel":"boolean"}},"uniqueKey":"chunking_strategy_config.oneOf.4","typeLabel":"EnhancedChunkingStrategyConfig · object"}],"uniqueKey":"chunking_strategy_config","typeLabel":"CharacterChunkingStrategyConfig · object | TokenChunkingStrategyConfig · object | CustomChunkingStrategyConfig · object | PreChunkedStrategyConfig · object | EnhancedChunkingStrategyConfig · object"},"status_reason":{"title":"Status Reason","description":"Reason for the upload job's status.","type":"string","uniqueKey":"status_reason","typeLabel":"string"},"created_by_schedule_id":{"title":"Created By Schedule Id","description":"Id of the upload schedule that triggered this upload_id. Null if triggered manually.","type":"string","uniqueKey":"created_by_schedule_id","typeLabel":"string"}},"type":"object","required":["upload_id","data_source_config","created_at","updated_at","status","artifacts_status","artifacts"],"title":"GetKnowledgeBaseV2UploadResponse","uniqueKey":"","typeLabel":"GetKnowledgeBaseV2UploadResponse · object"},"examples":{"Example":{"title":"Example","value":{"upload_id":"\u003cstring>","data_source_config":{"source":"S3","s3_bucket":"\u003cstring>","aws_region":"\u003cstring>","aws_account_id":"\u003cstring>","s3_prefix":""},"created_at":"\u003cstring>","updated_at":"\u003cstring>","status":"Running","artifacts_status":{"artifacts_chunking":123,"artifacts_embedding":123,"artifacts_completed":123,"artifacts_pending":123,"artifacts_uploading":123,"artifacts_failed":123},"artifacts":[{"artifact_id":"\u003cstring>","artifact_name":"\u003cstring>","artifact_uri":"\u003cstring>","status":"\u003cstring>","source":"S3","chunks_status":{"chunks_completed":123,"chunks_pending":123,"chunks_failed":123},"tags":{},"artifact_uri_public":"\u003cstring>","status_reason":"\u003cstring>","updated_at":"2023-11-07T05:31:56Z"}],"chunking_strategy_config":{"strategy":"character","separator":"\n\n","chunk_size":1000,"chunk_overlap":200},"status_reason":"\u003cstring>","created_by_schedule_id":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"49563d47-3886-414f-9d4b-b47251251a07":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"},"input":{"oneOf":[{"title":"Input"}],"uniqueKey":"detail.items.[INDEX].input","typeLabel":"any"},"ctx":{"type":"object","title":"Context","additionalProperties":true,"uniqueKey":"detail.items.[INDEX].ctx","typeLabel":"Context · object"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"type":"array","title":"Detail","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"type":"object","title":"HTTPValidationError","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>","input":"\u003cunknown>","ctx":{}}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"dc91f4e0-1ab2-4fd6-9541-314d4762a4e9":{"APIKeyHeader":{"type":"apiKey","in":"header","name":"x-api-key","scopes":[]}}},"servers":{"239d3ed0-e9a1-4424-90ea-9274ea35b5d0":{"url":"https://api.egp.scale.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","scopes":[]},"schema":{"title":"x-api-key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"APIKeyHeader","name":"x-api-key"}],"title":"APIKeyHeader"}]},"originalFileLocation":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json"},"subdomain":"scalegp","siteName":"Scale AI","title":"Get Upload Job - Scale AI","navMaps":{"firstHrefInVersion":{"V5":{"href":"/docs/v5/overview","matchLevel":4},"V4 (legacy)":{"href":"/reference/v4/knowledge-bases/get-upload-job","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-09-28T19:56:26.884Z","originalFileLocation":"reference/v4/knowledge-bases/get-upload-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=\"Returns the full details of a single upload job by ID: its status and status reason, the data source and chunking strategy configs it used, creation/update timestamps, aggregate artifact status counts, and (unless include_artifact_list=false) the per-artifact list with each artifact\u0026#x27;s chunk-upload status. Use this to poll the progress of an upload started by the create-upload or file-upload endpoints until it reaches a terminal state. If the stored status is non-terminal, the call reconciles it against the live ingestion workflow — if the workflow has terminated (for example, was killed) the upload\u0026#x27;s status is updated to match before the response is returned, so a running job that has actually died is reported accurately rather than staying stuck. Set include_artifact_list=false to get a lighter response without the artifact details.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Scale AI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/scalegp/UksUEh3sxckFW0X-/_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/scalegp/UksUEh3sxckFW0X-/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/scalegp/UksUEh3sxckFW0X-/_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/scalegp/UksUEh3sxckFW0X-/_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/scalegp/UksUEh3sxckFW0X-/_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/scalegp/UksUEh3sxckFW0X-/_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/scalegp/UksUEh3sxckFW0X-/_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/scalegp/UksUEh3sxckFW0X-/_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/scalegp/UksUEh3sxckFW0X-/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get Upload Job - Scale AI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Returns the full details of a single upload job by ID: its status and status reason, the data source and chunking strategy configs it used, creation/update timestamps, aggregate artifact status counts, and (unless include_artifact_list=false) the per-artifact list with each artifact\u0026#x27;s chunk-upload status. Use this to poll the progress of an upload started by the create-upload or file-upload endpoints until it reaches a terminal state. If the stored status is non-terminal, the call reconciles it against the live ingestion workflow — if the workflow has terminated (for example, was killed) the upload\u0026#x27;s status is updated to match before the response is returned, so a running job that has actually died is reported accurately rather than staying stuck. Set include_artifact_list=false to get a lighter response without the artifact details.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Scale AI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.gp.scale.com/reference/v4/knowledge-bases/get-upload-job\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://scalegp.mintlify.app/_mintlify/api/og/v2?division=Knowledge+Bases\u0026amp;title=Get+Upload+Job\u0026amp;description=Returns+the+full+details+of+a+single+upload+job+by+ID%3A+its+status+and+status+reason%2C+the+data+source+and+chunking+strategy+configs+it+used%2C+creation%2Fupdate+time\u0026amp;theme=b7e87dd2f9a2a23155199f59\u0026amp;signature=acf915d6dd29be57bb77dd8ad9ba27fe78bf866f13023098006d379584ae88e1\">\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=\"Get Upload Job - Scale AI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Returns the full details of a single upload job by ID: its status and status reason, the data source and chunking strategy configs it used, creation/update timestamps, aggregate artifact status counts, and (unless include_artifact_list=false) the per-artifact list with each artifact\u0026#x27;s chunk-upload status. Use this to poll the progress of an upload started by the create-upload or file-upload endpoints until it reaches a terminal state. If the stored status is non-terminal, the call reconciles it against the live ingestion workflow — if the workflow has terminated (for example, was killed) the upload\u0026#x27;s status is updated to match before the response is returned, so a running job that has actually died is reported accurately rather than staying stuck. Set include_artifact_list=false to get a lighter response without the artifact details.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://scalegp.mintlify.app/_mintlify/api/og/v2?division=Knowledge+Bases\u0026amp;title=Get+Upload+Job\u0026amp;description=Returns+the+full+details+of+a+single+upload+job+by+ID%3A+its+status+and+status+reason%2C+the+data+source+and+chunking+strategy+configs+it+used%2C+creation%2Fupdate+time\u0026amp;theme=b7e87dd2f9a2a23155199f59\u0026amp;signature=acf915d6dd29be57bb77dd8ad9ba27fe78bf866f13023098006d379584ae88e1\">\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/scalegp/UksUEh3sxckFW0X-/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Scale AI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3f2e7b\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.gp.scale.com/reference/v4/knowledge-bases/get-upload-job\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/reference/v4/knowledge-bases/get-upload-job.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.gp.scale.com/#organization\",\"name\":\"Scale AI\",\"url\":\"https://docs.gp.scale.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/scalegp/TBmst1qiYXwYqUB5/logo/light.png?fit=max\u0026auto=format\u0026n=TBmst1qiYXwYqUB5\u0026q=85\u0026s=46027042c16b373ac463148db5ad1d6b\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.gp.scale.com#website\",\"name\":\"Scale AI\",\"url\":\"https://docs.gp.scale.com\",\"publisher\":{\"@id\":\"https://docs.gp.scale.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.gp.scale.com/reference/v4/knowledge-bases/get-upload-job#webpage\",\"url\":\"https://docs.gp.scale.com/reference/v4/knowledge-bases/get-upload-job\",\"name\":\"Get Upload Job\",\"description\":\"Returns the full details of a single upload job by ID: its status and status reason, the data source and chunking strategy configs it used, creation/update timestamps, aggregate artifact status counts, and (unless include_artifact_list=false) the per-artifact list with each artifact's chunk-upload status. Use this to poll the progress of an upload started by the create-upload or file-upload endpoints until it reaches a terminal state. If the stored status is non-terminal, the call reconciles it against the live ingestion workflow — if the workflow has terminated (for example, was killed) the upload's status is updated to match before the response is returned, so a running job that has actually died is reported accurately rather than staying stuck. Set include_artifact_list=false to get a lighter response without the artifact details.\",\"dateModified\":\"2026-09-28T19:56:26.884Z\",\"isPartOf\":{\"@id\":\"https://docs.gp.scale.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.gp.scale.com/reference/v4/knowledge-bases/get-upload-job#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.gp.scale.com/reference/v4/knowledge-bases/get-upload-job#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Knowledge Bases\",\"item\":\"https://docs.gp.scale.com/reference/v4/knowledge-bases/list-knowledge-bases\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get Upload Job\",\"item\":\"https://docs.gp.scale.com/reference/v4/knowledge-bases/get-upload-job\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.gp.scale.com/reference/v4/knowledge-bases/get-upload-job#apireference\",\"headline\":\"Get Upload Job\",\"name\":\"Get Upload Job\",\"description\":\"Returns the full details of a single upload job by ID: its status and status reason, the data source and chunking strategy configs it used, creation/update timestamps, aggregate artifact status counts, and (unless include_artifact_list=false) the per-artifact list with each artifact's chunk-upload status. Use this to poll the progress of an upload started by the create-upload or file-upload endpoints until it reaches a terminal state. If the stored status is non-terminal, the call reconciles it against the live ingestion workflow — if the workflow has terminated (for example, was killed) the upload's status is updated to match before the response is returned, so a running job that has actually died is reported accurately rather than staying stuck. Set include_artifact_list=false to get a lighter response without the artifact details.\",\"url\":\"https://docs.gp.scale.com/reference/v4/knowledge-bases/get-upload-job\",\"mainEntityOfPage\":{\"@id\":\"https://docs.gp.scale.com/reference/v4/knowledge-bases/get-upload-job#webpage\"},\"dateModified\":\"2026-09-28T19:56:26.884Z\",\"publisher\":{\"@id\":\"https://docs.gp.scale.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.gp.scale.com#website\"}}]}\u003c/script>","siteName":"Scale AI","nav":{"global":null,"versions":[{"version":"V5","pages":[{"title":"V5","href":"/docs/v5/overview"}]},{"version":"V4 (legacy)","tabs":[{"tab":"Home","pages":[{"title":"Home","href":"/home"}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/docs/introduction"}]},{"tab":"API Reference","groups":[{"group":"Knowledge Bases","pages":[{"title":"List Knowledge Bases","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/knowledge-bases","href":"/reference/v4/knowledge-bases/list-knowledge-bases"},{"title":"Create Knowledge Base","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/knowledge-bases","href":"/reference/v4/knowledge-bases/create-knowledge-base"},{"title":"Get Knowledge Base","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/knowledge-bases/{knowledge_base_id}","href":"/reference/v4/knowledge-bases/get-knowledge-base"},{"title":"Delete Knowledge Base","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json delete /v4/knowledge-bases/{knowledge_base_id}","href":"/reference/v4/knowledge-bases/delete-knowledge-base"},{"title":"Patch Knowledge Base","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json patch /v4/knowledge-bases/{knowledge_base_id}","href":"/reference/v4/knowledge-bases/patch-knowledge-base"},{"title":"List Knowledge Base Async Jobs","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/knowledge-bases/{knowledge_base_id}/async-jobs","href":"/reference/v4/knowledge-bases/list-knowledge-base-async-jobs"},{"title":"Fetch Chunks by ID or Metadata","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/knowledge-bases/{knowledge_base_id}/chunks","href":"/reference/v4/knowledge-bases/fetch-chunks-by-id-or-metadata"},{"title":"Query Relevant Chunks","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/knowledge-bases/{knowledge_base_id}/query","href":"/reference/v4/knowledge-bases/query-relevant-chunks"},{"title":"Delete Data Source Connection","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/knowledge-bases/{knowledge_base_id}/data-source-connections/{knowledge_base_data_source_id}/delete","href":"/reference/v4/knowledge-bases/delete-data-source-connection"},{"title":"Submit Upload Job with local files","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/knowledge-bases/{knowledge_base_id}/upload_files","href":"/reference/v4/knowledge-bases/submit-upload-job-with-local-files"},{"title":"List Upload Jobs","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/knowledge-bases/{knowledge_base_id}/uploads","href":"/reference/v4/knowledge-bases/list-upload-jobs"},{"title":"Submit Upload Job","description":"Starts an asynchronous ingestion job that syncs the knowledge base with a data source, and returns immediately with an upload_id to poll via the Get Upload endpoint. The request body is a union that supports three modes: an inline data source config, a reference to a previously created data source by data_source_id, or a set of locally provided chunks. On each run the job detects new, updated, and deleted artifacts since the last upload, then extracts, chunks (per the chunking strategy config), and embeds new/updated content while removing deleted artifacts, so uploads are eventually consistent and idempotent — retrying with the same data source and chunking config resumes without duplication, while changing the chunking config forces re-chunking. Before starting, it validates data source access and the chunking config, and it rejects the request if another upload for the same data source is already in progress or if the knowledge base is mid-migration. PER_FILE tagging information is not accepted here (use the file-upload endpoint for that); it is rejected with a validation error. If the backend fails to launch the ingestion workflow the upload is marked failed and an error is returned.","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/knowledge-bases/{knowledge_base_id}/uploads","href":"/reference/v4/knowledge-bases/submit-upload-job"},{"title":"Get Upload Job","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/knowledge-bases/{knowledge_base_id}/uploads/{upload_id}","href":"/reference/v4/knowledge-bases/get-upload-job"},{"title":"Cancel Upload Job","description":"Cancels an in-progress upload job, terminating its ingestion workflow and marking the job as canceled. Only uploads currently in the running state can be canceled; calling this on an upload that has already reached a terminal state (completed, failed, or canceled) returns an error. Termination is best-effort — if the underlying workflow is already gone the job is still marked canceled in the database — so the response's canceled flag reflects that the job was moved to the canceled state. Already-ingested artifacts and chunks from the partial upload are not rolled back by this call.","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/knowledge-bases/{knowledge_base_id}/uploads/{upload_id}/cancel","href":"/reference/v4/knowledge-bases/cancel-upload-job"},{"title":"List Tracked Artifacts","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/knowledge-bases/{knowledge_base_id}/artifacts","href":"/reference/v4/knowledge-bases/list-tracked-artifacts"},{"title":"Get Tracked Artifact Details","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/knowledge-bases/{knowledge_base_id}/artifacts/{artifact_id}","href":"/reference/v4/knowledge-bases/get-tracked-artifact-details"},{"title":"Delete Locally Stored Artifact","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json delete /v4/knowledge-bases/{knowledge_base_id}/artifacts/{artifact_id}","href":"/reference/v4/knowledge-bases/delete-locally-stored-artifact"},{"title":"Patch Artifact Information","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json patch /v4/knowledge-bases/{knowledge_base_id}/artifacts/{artifact_id}","href":"/reference/v4/knowledge-bases/patch-artifact-information"},{"title":"List Chunks of Artifacts with Pagination","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/knowledge-bases/{knowledge_base_id}/artifacts/{artifact_id}/chunks","href":"/reference/v4/knowledge-bases/list-chunks-of-artifacts-with-pagination"},{"title":"Create chunk for local chunk artifacts","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/knowledge-bases/{knowledge_base_id}/artifacts/{artifact_id}/chunks","href":"/reference/v4/knowledge-bases/create-chunk-for-local-chunk-artifacts"},{"title":"Get Single Chunk Information and status","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/knowledge-bases/{knowledge_base_id}/artifacts/{artifact_id}/chunks/{chunk_id}","href":"/reference/v4/knowledge-bases/get-single-chunk-information-and-status"},{"title":"Update Single Chunk data for local artifact","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json put /v4/knowledge-bases/{knowledge_base_id}/artifacts/{artifact_id}/chunks/{chunk_id}","href":"/reference/v4/knowledge-bases/update-single-chunk-data-for-local-artifact"},{"title":"Delete Single Chunk from Local Artifact","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json delete /v4/knowledge-bases/{knowledge_base_id}/artifacts/{artifact_id}/chunks/{chunk_id}","href":"/reference/v4/knowledge-bases/delete-single-chunk-from-local-artifact"},{"title":"Get Chunk and Artifact Information by Chunk ID","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/knowledge-bases/chunks/{chunk_id}","href":"/reference/v4/knowledge-bases/get-chunk-and-artifact-information-by-chunk-id"},{"title":"Test Knowledge Base Data Source credentials","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/knowledge-base-data-sources/{knowledge_base_data_source_id}/verify","href":"/reference/v4/knowledge-bases/test-knowledge-base-data-source-credentials"},{"title":"Batch Delete Locally Stored Artifacts","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/knowledge-bases/{knowledge_base_id}/artifacts/batch-delete","href":"/reference/v4/knowledge-bases/batch-delete-locally-stored-artifacts"},{"title":"List Upload Schedules","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/knowledge-bases/{knowledge_base_id}/upload-schedules","href":"/reference/v4/knowledge-bases/list-upload-schedules"},{"title":"Create Upload Schedule","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/knowledge-bases/{knowledge_base_id}/upload-schedules","href":"/reference/v4/knowledge-bases/create-upload-schedule"},{"title":"Get Upload Schedule","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/knowledge-bases/{knowledge_base_id}/upload-schedules/{upload_schedule_id}","href":"/reference/v4/knowledge-bases/get-upload-schedule"},{"title":"Delete Upload Schedule","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json delete /v4/knowledge-bases/{knowledge_base_id}/upload-schedules/{upload_schedule_id}","href":"/reference/v4/knowledge-bases/delete-upload-schedule"},{"title":"Update Upload Schedule","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json patch /v4/knowledge-bases/{knowledge_base_id}/upload-schedules/{upload_schedule_id}","href":"/reference/v4/knowledge-bases/update-upload-schedule"}]},{"group":"Chunks","pages":[{"title":"Rank Chunks","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/chunks/rank","href":"/reference/v4/chunks/rank-chunks"}]},{"group":"Agents","pages":[{"title":"Execute Agent","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/agents/execute","href":"/reference/v4/agents/execute-agent"}]},{"group":"Completions","pages":[{"title":"Create Completion","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/completions","href":"/reference/v4/completions/create-completion"}]},{"group":"Chat Completions","pages":[{"title":"Create Chat Completion","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/chat-completions","href":"/reference/v4/chat-completions/create-chat-completion"}]},{"group":"Models","pages":[{"title":"Execute Model Deployment","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/models/{model_instance_id}/deployments/{model_deployment_id}/execute","href":"/reference/v4/models/execute-model-deployment"},{"title":"Execute Model Deployment Async and Return the Async Run ID","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/models/{model_instance_id}/deployments/{model_deployment_id}/executeAsync","href":"/reference/v4/models/execute-model-deployment-async-and-return-the-async-run-id"},{"title":"Poll Async Inference for result","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/models/{model_instance_id}/deployments/{model_deployment_id}/pollAsync/{async_task_id}","href":"/reference/v4/models/poll-async-inference-for-result"},{"title":"Generate text embedding","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/models/{model_deployment_id}/embeddings","href":"/reference/v4/models/generate-text-embedding"},{"title":"Generate reranking","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/models/{model_deployment_id}/rerankings","href":"/reference/v4/models/generate-reranking"},{"title":"Generate completion","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/models/{model_deployment_id}/completions","href":"/reference/v4/models/generate-completion"},{"title":"Generate chat completion","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/models/{model_deployment_id}/chat-completions","href":"/reference/v4/models/generate-chat-completion"},{"title":"List Model Deployments of a Model","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/models/{model_instance_id}/deployments","href":"/reference/v4/models/list-model-deployments-of-a-model"},{"title":"Deploy Model","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/models/{model_instance_id}/deployments","href":"/reference/v4/models/deploy-model"},{"title":"Get Model usage by model name","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/models/{model_name}/usage-statistics","href":"/reference/v4/models/get-model-usage-by-model-name"},{"title":"List All Model Deployments","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/model-deployments","href":"/reference/v4/models/list-all-model-deployments"},{"title":"Get Model usage for one deployment","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/model-deployments/{model_deployment_id}/usage-statistics","href":"/reference/v4/models/get-model-usage-for-one-deployment"},{"title":"Add model to group","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/model-groups/{model_group_id}/models/{model_instance_id}","href":"/reference/v4/models/add-model-to-group"},{"title":"Get Model usage for a group","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/model-groups/{model_group_id}/usage-statistics","href":"/reference/v4/models/get-model-usage-for-a-group"},{"title":"List Models","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/models","href":"/reference/v4/models/list-models"},{"title":"Create Model","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/models","href":"/reference/v4/models/create-model"},{"title":"Get Model","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/models/{model_id}","href":"/reference/v4/models/get-model"},{"title":"Delete Model","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json delete /v4/models/{model_id}","href":"/reference/v4/models/delete-model"},{"title":"Update Model","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json patch /v4/models/{model_id}","href":"/reference/v4/models/update-model"},{"title":"List Model Groups","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/model-groups","href":"/reference/v4/models/list-model-groups"},{"title":"Create Model Group","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/model-groups","href":"/reference/v4/models/create-model-group"},{"title":"Get Model Group","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/model-groups/{model_group_id}","href":"/reference/v4/models/get-model-group"},{"title":"Delete Model Group","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json delete /v4/model-groups/{model_group_id}","href":"/reference/v4/models/delete-model-group"},{"title":"Update Model Group","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json patch /v4/model-groups/{model_group_id}","href":"/reference/v4/models/update-model-group"},{"title":"Get Deployment","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/models/{model_instance_id}/deployments/{deployment_id}","href":"/reference/v4/models/get-deployment"},{"title":"Delete Deployment","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json delete /v4/models/{model_instance_id}/deployments/{deployment_id}","href":"/reference/v4/models/delete-deployment"},{"title":"Update Deployment","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json patch /v4/models/{model_instance_id}/deployments/{deployment_id}","href":"/reference/v4/models/update-deployment"}]},{"group":"Users","pages":[{"title":"User info","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /user-info","href":"/reference/v4/users/user-info"},{"title":"Update user info","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json patch /user-preferences","href":"/reference/v4/users/update-user-info"},{"title":"Get User","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /users/{user_id}","href":"/reference/v4/users/get-user"}]},{"group":"Accounts","pages":[{"title":"Create account","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /accounts","href":"/reference/v4/accounts/create-account"}]},{"group":"Organizations","pages":[{"title":"Get organization","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /organizations/by-domain/{domain}","href":"/reference/v4/organizations/get-organization"}]},{"group":"Question Sets","pages":[{"title":"Get Question Set","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/question-sets/{question_set_id}","href":"/reference/v4/question-sets/get-question-set"},{"title":"Delete Question Set","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json delete /v4/question-sets/{question_set_id}","href":"/reference/v4/question-sets/delete-question-set"},{"title":"Update Question Set","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json patch /v4/question-sets/{question_set_id}","href":"/reference/v4/question-sets/update-question-set"},{"title":"List Question Sets","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/question-sets","href":"/reference/v4/question-sets/list-question-sets"},{"title":"Create Question Set","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/question-sets","href":"/reference/v4/question-sets/create-question-set"}]},{"group":"Evaluations","pages":[{"title":"Claim Evaluation Task","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/evaluations/{evaluation_id}/claim-task","href":"/reference/v4/evaluations/claim-evaluation-task"},{"title":"Batch assign tasks to user","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json patch /v4/evaluations/{evaluation_id}/tasks/batch-assign","href":"/reference/v4/evaluations/batch-assign-tasks-to-user"},{"title":"Update Evaluation Task","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json patch /v4/evaluations/{evaluation_id}/tasks/{task_id}","href":"/reference/v4/evaluations/update-evaluation-task"},{"title":"Get Contributor Metrics","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/evaluations/{evaluation_id}/contributor-metrics/{contributor_id}","href":"/reference/v4/evaluations/get-contributor-metrics"},{"title":"List Contributor Metrics","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/evaluations/{evaluation_id}/contributor-metrics","href":"/reference/v4/evaluations/list-contributor-metrics"},{"title":"Get Evaluation Metrics","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/evaluations/{evaluation_id}/evaluation-metrics","href":"/reference/v4/evaluations/get-evaluation-metrics"},{"title":"Get Hybrid Evaluation Metrics","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/evaluations/{evaluation_id}/hybrid-eval-metrics","href":"/reference/v4/evaluations/get-hybrid-evaluation-metrics"},{"title":"List Evaluations","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/evaluations","href":"/reference/v4/evaluations/list-evaluations"},{"title":"Create Evaluation","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/evaluations","href":"/reference/v4/evaluations/create-evaluation"},{"title":"Get Evaluation","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/evaluations/{evaluation_id}","href":"/reference/v4/evaluations/get-evaluation"},{"title":"Delete Evaluation","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json delete /v4/evaluations/{evaluation_id}","href":"/reference/v4/evaluations/delete-evaluation"},{"title":"Update Evaluation","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json patch /v4/evaluations/{evaluation_id}","href":"/reference/v4/evaluations/update-evaluation"},{"title":"List Test Case Results","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/evaluations/{evaluation_id}/test-case-results","href":"/reference/v4/evaluations/list-test-case-results"},{"title":"Create Test Case Result","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/evaluations/{evaluation_id}/test-case-results","href":"/reference/v4/evaluations/create-test-case-result"},{"title":"Batch Create Test Case Results","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/evaluations/{evaluation_id}/test-case-results/batch","href":"/reference/v4/evaluations/batch-create-test-case-results"},{"title":"Get Test Case Result","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/evaluations/{evaluation_id}/test-case-results/{test_case_result_id}","href":"/reference/v4/evaluations/get-test-case-result"},{"title":"Update Test Case Result","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json patch /v4/evaluations/{evaluation_id}/test-case-results/{test_case_result_id}","href":"/reference/v4/evaluations/update-test-case-result"},{"title":"Get Historical Test Case Result","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/evaluations/{evaluation_id}/test-case-results/{test_case_result_id}/history/{num}","href":"/reference/v4/evaluations/get-historical-test-case-result"},{"title":"Get All Versions of Test Case Result","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/evaluations/{evaluation_id}/test-case-results/{test_case_result_id}/history","href":"/reference/v4/evaluations/get-all-versions-of-test-case-result"},{"title":"List Historical Test Case Results","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/evaluations/{evaluation_id}/test-case-results/history/{num}","href":"/reference/v4/evaluations/list-historical-test-case-results"}]},{"group":"Evaluation Configs","pages":[{"title":"List Evaluation Configs","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/evaluation-configs","href":"/reference/v4/evaluation-configs/list-evaluation-configs"},{"title":"Create Evaluation Config","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/evaluation-configs","href":"/reference/v4/evaluation-configs/create-evaluation-config"},{"title":"Get Evaluation Config","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/evaluation-configs/{evaluation_config_id}","href":"/reference/v4/evaluation-configs/get-evaluation-config"},{"title":"Delete Evaluation Config","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json delete /v4/evaluation-configs/{evaluation_config_id}","href":"/reference/v4/evaluation-configs/delete-evaluation-config"}]},{"group":"Evaluation Datasets","pages":[{"title":"List Evaluation Datasets","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/evaluation-datasets","href":"/reference/v4/evaluation-datasets/list-evaluation-datasets"},{"title":"Create Evaluation Dataset","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/evaluation-datasets","href":"/reference/v4/evaluation-datasets/create-evaluation-dataset"},{"title":"Get Evaluation Dataset","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/evaluation-datasets/{evaluation_dataset_id}","href":"/reference/v4/evaluation-datasets/get-evaluation-dataset"},{"title":"Delete Evaluation Dataset","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json delete /v4/evaluation-datasets/{evaluation_dataset_id}","href":"/reference/v4/evaluation-datasets/delete-evaluation-dataset"},{"title":"Update Evaluation Dataset","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json patch /v4/evaluation-datasets/{evaluation_dataset_id}","href":"/reference/v4/evaluation-datasets/update-evaluation-dataset"},{"title":"List Evaluation Dataset Versions","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/evaluation-datasets/{evaluation_dataset_id}/evaluation-dataset-versions","href":"/reference/v4/evaluation-datasets/list-evaluation-dataset-versions"},{"title":"Create Evaluation Dataset Version","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/evaluation-datasets/{evaluation_dataset_id}/evaluation-dataset-versions","href":"/reference/v4/evaluation-datasets/create-evaluation-dataset-version"},{"title":"Get Evaluation Dataset Version","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/evaluation-datasets/{evaluation_dataset_id}/evaluation-dataset-versions/{evaluation_dataset_version_id}","href":"/reference/v4/evaluation-datasets/get-evaluation-dataset-version"},{"title":"List Test Cases","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/evaluation-datasets/{evaluation_dataset_id}/test-cases","href":"/reference/v4/evaluation-datasets/list-test-cases"},{"title":"Create Test Case","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/evaluation-datasets/{evaluation_dataset_id}/test-cases","href":"/reference/v4/evaluation-datasets/create-test-case"},{"title":"Batch Create Test Cases","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/evaluation-datasets/{evaluation_dataset_id}/test-cases/batch","href":"/reference/v4/evaluation-datasets/batch-create-test-cases"},{"title":"Get Test Case","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/evaluation-datasets/{evaluation_dataset_id}/test-cases/{test_case_id}","href":"/reference/v4/evaluation-datasets/get-test-case"},{"title":"Delete Test Case","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json delete /v4/evaluation-datasets/{evaluation_dataset_id}/test-cases/{test_case_id}","href":"/reference/v4/evaluation-datasets/delete-test-case"},{"title":"Update Test Case","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json patch /v4/evaluation-datasets/{evaluation_dataset_id}/test-cases/{test_case_id}","href":"/reference/v4/evaluation-datasets/update-test-case"},{"title":"Get Historical Test Case","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/evaluation-datasets/{evaluation_dataset_id}/test-cases/{test_case_id}/history/{num}","href":"/reference/v4/evaluation-datasets/get-historical-test-case"},{"title":"Get All Versions of Test Case","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/evaluation-datasets/{evaluation_dataset_id}/test-cases/{test_case_id}/history","href":"/reference/v4/evaluation-datasets/get-all-versions-of-test-case"},{"title":"Wipe Full History of Test Cases","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json delete /v4/evaluation-datasets/{evaluation_dataset_id}/test-cases/{test_case_id}/history","href":"/reference/v4/evaluation-datasets/wipe-full-history-of-test-cases"},{"title":"List Historical Test Cases","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/evaluation-datasets/{evaluation_dataset_id}/test-cases/history/{num}","href":"/reference/v4/evaluation-datasets/list-historical-test-cases"},{"title":"List Autogenerated Draft Test Cases","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/evaluation-datasets/{evaluation_dataset_id}/autogenerated-draft-test-cases","href":"/reference/v4/evaluation-datasets/list-autogenerated-draft-test-cases"},{"title":"Create Autogenerated Draft Test Case","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/evaluation-datasets/{evaluation_dataset_id}/autogenerated-draft-test-cases","href":"/reference/v4/evaluation-datasets/create-autogenerated-draft-test-case"},{"title":"Get Autogenerated Draft Test Case","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/evaluation-datasets/{evaluation_dataset_id}/autogenerated-draft-test-cases/{autogenerated_draft_test_case_id}","href":"/reference/v4/evaluation-datasets/get-autogenerated-draft-test-case"},{"title":"Delete Autogenerated Draft Test Case","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json delete /v4/evaluation-datasets/{evaluation_dataset_id}/autogenerated-draft-test-cases/{autogenerated_draft_test_case_id}","href":"/reference/v4/evaluation-datasets/delete-autogenerated-draft-test-case"},{"title":"Update Autogenerated Draft Test Case","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json patch /v4/evaluation-datasets/{evaluation_dataset_id}/autogenerated-draft-test-cases/{autogenerated_draft_test_case_id}","href":"/reference/v4/evaluation-datasets/update-autogenerated-draft-test-case"},{"title":"Approve Autogenerated Draft Test Case","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/evaluation-datasets/{evaluation_dataset_id}/autogenerated-draft-test-cases/{autogenerated_draft_test_case_id}/approve","href":"/reference/v4/evaluation-datasets/approve-autogenerated-draft-test-case"},{"title":"Publish Latest Evaluation Dataset Version","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/evaluation-datasets/{evaluation_dataset_id}/publish","href":"/reference/v4/evaluation-datasets/publish-latest-evaluation-dataset-version"},{"title":"Approve Auto Generated Test Cases Batch","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/evaluation-datasets/{evaluation_dataset_id}/approve-batch","href":"/reference/v4/evaluation-datasets/approve-auto-generated-test-cases-batch"},{"title":"Get Evaluation Dataset Generation Jobs","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/evaluation-datasets/{evaluation_dataset_id}/generation-jobs","href":"/reference/v4/evaluation-datasets/get-evaluation-dataset-generation-jobs"},{"title":"Create Evaluation Dataset Generation Job","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/evaluation-datasets/{evaluation_dataset_id}/generation-jobs","href":"/reference/v4/evaluation-datasets/create-evaluation-dataset-generation-job"},{"title":"Get Evaluation Dataset Generation Job","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/evaluation-datasets/{evaluation_dataset_id}/generation-jobs/{generation_job_id}","href":"/reference/v4/evaluation-datasets/get-evaluation-dataset-generation-job"},{"title":"Cancel Evaluation Dataset Generation Job","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/evaluation-datasets/{evaluation_dataset_id}/generation-jobs/{generation_job_id}/cancel","href":"/reference/v4/evaluation-datasets/cancel-evaluation-dataset-generation-job"},{"title":"Publish Evaluation Dataset Version","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/evaluation-datasets/{evaluation_dataset_id}/evaluation-dataset-versions/{evaluation_dataset_version_id}/publish","href":"/reference/v4/evaluation-datasets/publish-evaluation-dataset-version"}]},{"group":"Studio Projects","pages":[{"title":"List Studio Projects","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/studio-projects","href":"/reference/v4/studio-projects/list-studio-projects"},{"title":"Create Studio Project","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/studio-projects","href":"/reference/v4/studio-projects/create-studio-project"},{"title":"Get Studio Project","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/studio-projects/{studio_project_id}","href":"/reference/v4/studio-projects/get-studio-project"},{"title":"Delete Studio Project","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json delete /v4/studio-projects/{studio_project_id}","href":"/reference/v4/studio-projects/delete-studio-project"},{"title":"Update Studio Project","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json patch /v4/studio-projects/{studio_project_id}","href":"/reference/v4/studio-projects/update-studio-project"}]},{"group":"Application Specs","pages":[{"title":"List Application Specs","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/application-specs","href":"/reference/v4/application-specs/list-application-specs"},{"title":"Create Application Spec","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/application-specs","href":"/reference/v4/application-specs/create-application-spec"},{"title":"Get Application Spec","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/application-specs/{application_spec_id}","href":"/reference/v4/application-specs/get-application-spec"},{"title":"Delete Application Spec","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json delete /v4/application-specs/{application_spec_id}","href":"/reference/v4/application-specs/delete-application-spec"},{"title":"Update Application Spec","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json patch /v4/application-specs/{application_spec_id}","href":"/reference/v4/application-specs/update-application-spec"}]},{"group":"Questions","pages":[{"title":"List Questions","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/questions","href":"/reference/v4/questions/list-questions"},{"title":"Create Question","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/questions","href":"/reference/v4/questions/create-question"},{"title":"Get Question","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/questions/{question_id}","href":"/reference/v4/questions/get-question"}]},{"group":"Knowledge Base Data Sources","pages":[{"title":"List Knowledge Base Data Sources","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/knowledge-base-data-sources","href":"/reference/v4/knowledge-base-data-sources/list-knowledge-base-data-sources"},{"title":"Create Knowledge Base Data Source","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/knowledge-base-data-sources","href":"/reference/v4/knowledge-base-data-sources/create-knowledge-base-data-source"},{"title":"Get Knowledge Base Data Source","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/knowledge-base-data-sources/{knowledge_base_data_source_id}","href":"/reference/v4/knowledge-base-data-sources/get-knowledge-base-data-source"},{"title":"Delete Knowledge Base Data Source","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json delete /v4/knowledge-base-data-sources/{knowledge_base_data_source_id}","href":"/reference/v4/knowledge-base-data-sources/delete-knowledge-base-data-source"},{"title":"Update Knowledge Base Data Source","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json patch /v4/knowledge-base-data-sources/{knowledge_base_data_source_id}","href":"/reference/v4/knowledge-base-data-sources/update-knowledge-base-data-source"}]},{"group":"Model Templates V3 (Beta)","pages":[{"title":"List Model Templates","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/model-templates","href":"/reference/v4/model-templates-v3-beta/list-model-templates"},{"title":"Create Model Template","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/model-templates","href":"/reference/v4/model-templates-v3-beta/create-model-template"},{"title":"Get Model Template","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/model-templates/{model_template_id}","href":"/reference/v4/model-templates-v3-beta/get-model-template"},{"title":"Delete Model Template","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json delete /v4/model-templates/{model_template_id}","href":"/reference/v4/model-templates-v3-beta/delete-model-template"}]},{"group":"Model server","pages":[{"title":"Fixed Server interface for Model execution","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/serving/{model_server_id}/execute","href":"/reference/v4/model-server/fixed-server-interface-for-model-execution"},{"title":"Fixed Server interface for async Model execution","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/serving/{model_server_id}/executeAsync","href":"/reference/v4/model-server/fixed-server-interface-for-async-model-execution"},{"title":"Poll Async Inference for result","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/serving/{model_server_id}/pollAsync/{async_task_id}","href":"/reference/v4/model-server/poll-async-inference-for-result"},{"title":"Fixed Server interface for Model execution by named alias","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/serving/a/{alias}/execute","href":"/reference/v4/model-server/fixed-server-interface-for-model-execution-by-named-alias"},{"title":"Fixed Server interface for async Model execution by named alias","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/serving/a/{alias}/executeAsync","href":"/reference/v4/model-server/fixed-server-interface-for-async-model-execution-by-named-alias"},{"title":"Poll Async Inference for result by named alias","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/serving/a/{alias}/pollAsync/{async_task_id}","href":"/reference/v4/model-server/poll-async-inference-for-result-by-named-alias"},{"title":"Create a new Model Server","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/serving","href":"/reference/v4/model-server/create-a-new-model-server"},{"title":"Get current deployment of the Model Server","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/serving/{model_server_id}/deployment","href":"/reference/v4/model-server/get-current-deployment-of-the-model-server"},{"title":"Change backend of the Model Server","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json put /v4/serving/{model_server_id}/backend","href":"/reference/v4/model-server/change-backend-of-the-model-server"},{"title":"Rollback backend of the Model Server","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/serving/{model_server_id}/rollback","href":"/reference/v4/model-server/rollback-backend-of-the-model-server"}]},{"group":"API Reference","pages":[{"title":"Fixed Server interface for Model execution by named alias","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/serving","href":"/reference/v4/fixed-server-interface-for-model-execution-by-named-alias"},{"title":"Fixed Server interface for Model execution by named alias","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/serving/{model_server_id}","href":"/reference/v4/fixed-server-interface-for-model-execution-by-named-alias-1"},{"title":"Delete a Model Server","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json delete /v4/serving/{model_server_id}","href":"/reference/v4/delete-a-model-server"},{"title":"Fixed Server interface for Model execution by named alias","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/serving/a/{alias}","href":"/reference/v4/fixed-server-interface-for-model-execution-by-named-alias-2"}]},{"group":"Fine Tuning Jobs V3 (Beta)","pages":[{"title":"List Fine Tuning Jobs","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/fine-tuning-jobs","href":"/reference/v4/fine-tuning-jobs-v3-beta/list-fine-tuning-jobs"},{"title":"Create Fine Tuning Job","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/fine-tuning-jobs","href":"/reference/v4/fine-tuning-jobs-v3-beta/create-fine-tuning-job"},{"title":"Get Fine Tuning Job","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/fine-tuning-jobs/{fine_tuning_job_id}","href":"/reference/v4/fine-tuning-jobs-v3-beta/get-fine-tuning-job"},{"title":"Delete Fine Tuning Job","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json delete /v4/fine-tuning-jobs/{fine_tuning_job_id}","href":"/reference/v4/fine-tuning-jobs-v3-beta/delete-fine-tuning-job"},{"title":"Get fine tuning job events","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/fine-tuning-jobs/{fine_tuning_job_id}/events","href":"/reference/v4/fine-tuning-jobs-v3-beta/get-fine-tuning-job-events"}]},{"group":"Training Datasets V3 (Beta)","pages":[{"title":"List Training Datasets","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/training-datasets","href":"/reference/v4/training-datasets-v3-beta/list-training-datasets"},{"title":"Create Training Dataset","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/training-datasets","href":"/reference/v4/training-datasets-v3-beta/create-training-dataset"},{"title":"Get Training Dataset","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/training-datasets/{training_dataset_id}","href":"/reference/v4/training-datasets-v3-beta/get-training-dataset"},{"title":"Delete Training Dataset","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json delete /v4/training-datasets/{training_dataset_id}","href":"/reference/v4/training-datasets-v3-beta/delete-training-dataset"},{"title":"Get Training Dataset Contents","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/training-datasets/{training_dataset_id}/contents","href":"/reference/v4/training-datasets-v3-beta/get-training-dataset-contents"}]},{"group":"package deployments","pages":[{"title":"Install a deployment packages","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/deployment-packages/{account_id}/install","href":"/reference/v4/package-deployments/install-a-deployment-packages"},{"title":"Copy a deployment package to control plane hook","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/deployment-packages/{account_id}/copy-to-control-plane-hook","href":"/reference/v4/package-deployments/copy-a-deployment-package-to-control-plane-hook"},{"title":"Install a deployment packages","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/deployment-packages/{account_id}/install_async","href":"/reference/v4/package-deployments/install-a-deployment-packages-1"},{"title":"Verify that the prerequisites for installing a specific package version are met","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/deployment-packages/{account_id}/verify-install-prerequisites-met","href":"/reference/v4/package-deployments/verify-that-the-prerequisites-for-installing-a-specific-package-version-are-met"}]},{"group":"Beta","pages":[{"title":"Generate OpenAI chat completion from messages","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/beta/chat/completions","href":"/reference/v4/beta/generate-openai-chat-completion-from-messages"},{"title":"Generate legacy text completion from prompt","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/beta/completions","href":"/reference/v4/beta/generate-legacy-text-completion-from-prompt"},{"title":"List files","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/beta/files","href":"/reference/v4/beta/list-files"},{"title":"Upload a file","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/beta/files","href":"/reference/v4/beta/upload-a-file"},{"title":"Get file metadata","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/beta/files/{file_id}","href":"/reference/v4/beta/get-file-metadata"},{"title":"Delete a file","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json delete /v4/beta/files/{file_id}","href":"/reference/v4/beta/delete-a-file"},{"title":"Update a file","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json patch /v4/beta/files/{file_id}","href":"/reference/v4/beta/update-a-file"},{"title":"Download file content","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/beta/files/{file_id}/content","href":"/reference/v4/beta/download-file-content"}]},{"group":"Applications","pages":[{"title":"List Application Variants","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/application-variants","href":"/reference/v4/applications/list-application-variants"},{"title":"Create Application Variant","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/application-variants","href":"/reference/v4/applications/create-application-variant"},{"title":"Get Application Variant","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/application-variants/{application_variant_id}","href":"/reference/v4/applications/get-application-variant"},{"title":"Delete Application Variant","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json delete /v4/application-variants/{application_variant_id}","href":"/reference/v4/applications/delete-application-variant"},{"title":"Update Application Variant","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json patch /v4/application-variants/{application_variant_id}","href":"/reference/v4/applications/update-application-variant"},{"title":"List Application Deployments","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/application-deployments","href":"/reference/v4/applications/list-application-deployments"},{"title":"Create Application Deployment","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/application-deployments","href":"/reference/v4/applications/create-application-deployment"},{"title":"Get Application Deployment","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/application-deployments/{application_deployment_id}","href":"/reference/v4/applications/get-application-deployment"},{"title":"Update Application Deployment","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json patch /v4/application-deployments/{application_deployment_id}","href":"/reference/v4/applications/update-application-deployment"},{"title":"List Application Variant Reports","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/application-variant-reports","href":"/reference/v4/applications/list-application-variant-reports"},{"title":"Create Application Variant Report","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/application-variant-reports","href":"/reference/v4/applications/create-application-variant-report"},{"title":"Get Application Variant Report","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/application-variant-reports/{application_variant_report_id}","href":"/reference/v4/applications/get-application-variant-report"},{"title":"List Application Test Case Outputs","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/application-test-case-outputs","href":"/reference/v4/applications/list-application-test-case-outputs"},{"title":"Batch Create Application Test Case Outputs","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/application-test-case-outputs/batch","href":"/reference/v4/applications/batch-create-application-test-case-outputs"},{"title":"Get Application Test Case Output","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/application-test-case-outputs/{application_test_case_output_id}","href":"/reference/v4/applications/get-application-test-case-output"},{"title":"Create Application With Variant","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/application-with-variant","href":"/reference/v4/applications/create-application-with-variant"},{"title":"Get Application Schemas","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/application-schemas","href":"/reference/v4/applications/get-application-schemas"},{"title":"Process Application","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/applications/process","href":"/reference/v4/applications/process-application"},{"title":"Process Application By Id","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/applications/{application_variant_id}/process","href":"/reference/v4/applications/process-application-by-id"},{"title":"Process Deployed Application For Thread","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/applications/{application_variant_id}/threads/{thread_id}/process","href":"/reference/v4/applications/process-deployed-application-for-thread"},{"title":"Process Application By Alias","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/applications/process/{application_alias}","href":"/reference/v4/applications/process-application-by-alias"},{"title":"Validate Application","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/applications/validate","href":"/reference/v4/applications/validate-application"},{"title":"List Application Threads","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/applications/{application_variant_id}/threads","href":"/reference/v4/applications/list-application-threads"},{"title":"Create New Application Thread","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/applications/{application_variant_id}/threads","href":"/reference/v4/applications/create-new-application-thread"},{"title":"Upload Application Files","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/applications/upload-files","href":"/reference/v4/applications/upload-application-files"},{"title":"Publish Application Variant","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/application-variants/{application_variant_id}/publish","href":"/reference/v4/applications/publish-application-variant"}]},{"group":"ChatThreads","pages":[{"title":"Get Thread Messages","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/threads/{thread_id}/messages","href":"/reference/v4/chatthreads/get-thread-messages"},{"title":"Delete Chat Thread","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json delete /v4/threads/{thread_id}","href":"/reference/v4/chatthreads/delete-chat-thread"},{"title":"Patch Chat Thread","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json patch /v4/threads/{thread_id}","href":"/reference/v4/chatthreads/patch-chat-thread"},{"title":"Patch Chat Thread Entry","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json patch /v4/threads/{thread_id}/messages/{application_interaction_id}","href":"/reference/v4/chatthreads/patch-chat-thread-entry"},{"title":"Add Feedback To Thread Entry","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json put /v4/threads/{thread_id}/messages/{application_interaction_id}/feedback","href":"/reference/v4/chatthreads/add-feedback-to-thread-entry"},{"title":"Delete Interaction Feedback","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json delete /v4/threads/{thread_id}/messages/{application_interaction_id}/feedback","href":"/reference/v4/chatthreads/delete-interaction-feedback"}]},{"group":"Interactions","pages":[{"title":"Create Application Interaction","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/interactions/","href":"/reference/v4/interactions/create-application-interaction"},{"title":"Get Interaction Feedback","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/interactions/{application_interaction_id}/feedback","href":"/reference/v4/interactions/get-interaction-feedback"}]},{"group":"MonitoringDashboard","pages":[{"title":"Get Dashboard Schema","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/applications/{application_spec_id}/dashboards/{dashboard_id}","href":"/reference/v4/monitoringdashboard/get-dashboard-schema"},{"title":"Get Scalar Metric","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/applications/{application_spec_id}/metrics/scalar/{metric_id}","href":"/reference/v4/monitoringdashboard/get-scalar-metric"},{"title":"Get Timeseries Metric","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/applications/{application_spec_id}/metrics/timeseries/{metric_id}","href":"/reference/v4/monitoringdashboard/get-timeseries-metric"}]},{"group":"Chat Themes","pages":[{"title":"List Themes","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/themes","href":"/reference/v4/chat-themes/list-themes"},{"title":"Create Theme","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/themes","href":"/reference/v4/chat-themes/create-theme"},{"title":"Get Theme","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/themes/{theme_id}","href":"/reference/v4/chat-themes/get-theme"}]},{"group":"Sessions","pages":[{"title":"List Sessions","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/sessions","href":"/reference/v4/sessions/list-sessions"},{"title":"Create Session","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json post /v4/sessions","href":"/reference/v4/sessions/create-session"},{"title":"Get Session","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json get /v4/sessions/{session_id}","href":"/reference/v4/sessions/get-session"},{"title":"Delete Session","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json delete /v4/sessions/{session_id}","href":"/reference/v4/sessions/delete-session"},{"title":"Update Session","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json patch /v4/sessions/{session_id}","href":"/reference/v4/sessions/update-session"}]},{"group":"account groups","pages":[{"title":"Upsert General Role Restriction","deprecated":null,"version":null,"openapi":"https://api.sgp.scale.com/openapi-versions/v4/openapi.json put /v4/account-groups/general-role-restrictions/{role}","href":"/reference/v4/account-groups/upsert-general-role-restriction"}]}]},{"tab":"Recipes","pages":[{"title":"Recipes","href":"/recipes/flexible-evaluations"}]},{"tab":"Release Notes","pages":[{"title":"Release Notes","href":"/changelog/release-notes"}]}]}]},"basePath":"","title":"Get Upload Job - Scale AI","buildId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","deploymentId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C8RPHPxo.js","utils-0BK-9q6z.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DfjzsUJT.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B4v9psJ4.js","snippetPresets-CpTQv-Ez.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-BNP-Fvr0.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BSgu6h1D.js","shallow-Biv1i9Gs.js","getApiPlaygroundDisplay-BoGOXhtF.js","CodeSnippet-DvQoT18_.js","CodeSnippets-Dnpa15xT.js","Page-Buji1S4J.js","getPastedJson-xAIyhUFE.js","icon-S6FBih11.js","MethodPill-SaYeUZyk.js","DuplicateIcon-Cs-p3v2Q.js","createIcon-DjCFEoHq.js","DynamicMarkdown-BcnBltEQ.js","SectionHeading-BUBl0eEF.js","axios-vUo_bRtp.js","Markdown-h4cOoD8d.js","clsx-B2v50t8t.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DJnKvr0g.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BHrrjR1K.js"]}