Add a new immutable version to an artifact. If the artifact is still on the version the request added, resending the same request returns that version. A version holds at most 1000 files, 100 MiB each and 1024 MiB in total. Content sent inline in JSON is at most 1 MiB per file and 4 MiB per request, in a body of at most 16183296 bytes; upload a larger file with POST /v1/files and name it by its id.
Current artifact version for optimistic concurrency
Required range: 1 <= x <= 9007199254740991
files
object[]
Every file of the version, or with made_from the files to add to the source's; a new version replaces the whole set. Send a small file's content inline, name a file by its id, or keep a file of the current version by its sha256. Required unless made_from is given
Required array length: 1 - 1000 elements
Option 1
Option 2
Option 3
Show child attributes
made_from
object
Start from another artifact version, such as a type. The source supplies its files and any capability declaration. Add files at new paths and leave out artifact.json. The copy survives changes to or deletion of the source
Show child attributes
Response
Success
type
enum<string>
required
Available options:
artifact_version
artifact_id
string
required
version
integer
required
Required range: 1 <= x <= 9007199254740991
capabilities
object
required
What the version's page may ask of the platform at run time, as declared in its artifact.json. Empty when it declares nothing
Show child attributes
made_from
object | null
required
The artifact version this version's files were started from, or null
Show child attributes
file_count
integer
required
Required range: 0 <= x <= 9007199254740991
total_bytes
integer
required
Required range: 0 <= x <= 9007199254740991
files
object[]
required
Show child attributes
created_at
string
required
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Checkfu","description":"Open-source managed agents for any harness. Runs in your own Cloudflare account.","colors":{"primary":"#282828","light":"#D6D6D4","dark":"#737373"},"logo":{"light":"https://mintcdn.com/checkfu/roudJjfqJYVsUhiz/assets/logo-light.svg?fit=max\u0026auto=format\u0026n=roudJjfqJYVsUhiz\u0026q=85\u0026s=89c8c4d6c852e4947cbe90639b96e7cc","dark":"https://mintcdn.com/checkfu/roudJjfqJYVsUhiz/assets/logo-dark.svg?fit=max\u0026auto=format\u0026n=roudJjfqJYVsUhiz\u0026q=85\u0026s=8f10fadb0b7788ae05d6c18b16dc0913","href":"https://checkfu.com"},"favicon":"https://mintcdn.com/checkfu/4U2Fm1mjf60T5ScL/assets/favicon.svg?fit=max\u0026auto=format\u0026n=4U2Fm1mjf60T5ScL\u0026q=85\u0026s=7821f469d57188bd20540f0e055c691a","api":{"playground":{"display":"simple"}},"appearance":{"default":"light","strict":false},"background":{"color":{"light":"#FFFFFF","dark":"#171717"}},"navbar":{"links":[{"href":"https://github.com/checkfu/checkfu","label":"GitHub"}],"primary":{"type":"github","href":"https://github.com/checkfu/checkfu"}},"footer":{"socials":{"github":"https://github.com/checkfu/checkfu"},"links":[{"header":"Documentation","items":[{"label":"Quickstart","href":"/quickstart"},{"label":"Deploy","href":"/self-hosting/deploy"},{"label":"HTTP API","href":"/reference/http-api"}]},{"header":"Checkfu","items":[{"label":"Website","href":"https://checkfu.com"},{"label":"GitHub","href":"https://github.com/checkfu/checkfu"}]}]},"search":{"prompt":"Search Checkfu docs"},"seo":{"metatags":{"canonical":"https://docs.checkfu.com","og:site_name":"Checkfu documentation","og:image":"https://docs.checkfu.com/assets/og.png","twitter:card":"summary_large_image"},"indexing":"navigable"},"styling":{"eyebrows":"breadcrumbs","codeblocks":{"theme":{"light":"github-light","dark":"github-dark"}},"latex":false},"errors":{"404":{"redirect":false,"title":"Page not found","description":"Return to the [documentation home](/)."}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"markdown":{"schema":true,"instructions":["Checkfu is open source (https://github.com/checkfu/checkfu) and runs in the reader's own Cloudflare account. There is no shared hosted base URL: `checkfu deploy` prints the deployment's API URL (`https://\u003capi-worker>.workers.dev` or the CHECKFU_API_DOMAIN hostname, exported as `CHECKFU_BASE_URL` for the CLI, SDK, and curl) and MCP URL (`.../mcp`). Local development serves the API on http://localhost:1337 and MCP on http://localhost:1338/mcp.","Authenticated HTTP requests send the deployment's CHECKFU_API_KEY as `Authorization: Bearer $CHECKFU_API_KEY` (or `x-api-key`) and `Content-Type: application/json` for JSON bodies. Pass `Idempotency-Key` on retriable writes.","Core workflow: create an Agent (`POST /v1/agents`) and an Environment (`POST /v1/environments`), create a Session that references both (`POST /v1/sessions`), send a `user.message` event (`POST /v1/sessions/{session_id}/events`), and follow `GET /v1/sessions/{session_id}/events/stream` until `session.status_idle`.","Other resources: Memory stores (`/v1/memory_stores`), Files (`/v1/files`), Artifacts (`/v1/artifacts`), Vaults and credentials (`/v1/vaults`), Provider credentials (`/v1/provider_credentials`), Automations (`/v1/automations`), Inbound bindings (`/v1/inbound_bindings`), and Webhooks (`/v1/webhooks`). The deployment serves its OpenAPI 3.1 specification at `GET /openapi.json`."]},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"checkfu","hasAudioNarration":false,"actualSubdomain":"checkfu","customDomains":["docs.checkfu.com"],"gitSource":{"type":"github","owner":"checkfu","repo":"checkfu","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":false,"mountPath":"","label":"","_id":"6b0aaf67e0332a88365d3e07"},"entitlements":{},"buildId":"6b0eac971116c3bee2b8d601","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"default","tag":"Reference","count":117},{"language":"default","tag":"HTTP API","count":110},{"language":"default","tag":"Documentation","count":25},{"language":"default","tag":"sessions","count":15},{"language":"default","tag":"automations","count":12},{"language":"default","tag":"vaults","count":12},{"language":"default","tag":"webhooks","count":12},{"language":"default","tag":"Concepts","count":11},{"language":"default","tag":"artifacts","count":11},{"language":"default","tag":"memory_stores","count":11}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"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":"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":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"@font-face{font-family:\"Cal Sans\";src:url(\"/assets/fonts/cal-sans-latin-400.woff2\") format(\"woff2\");font-weight:400;font-style:normal;font-display:swap}h1,h2{font-family:\"Cal Sans\", ui-sans-serif, system-ui, -apple-system, sans-serif;font-weight:400;font-synthesis:none;letter-spacing:normal}#content-area a:not([class]),article a:not([class]){text-decoration-color:color-mix(in srgb, currentColor 30%, transparent);text-underline-offset:3px;transition:text-decoration-color 150ms ease-out}#content-area a:not([class]):hover,article a:not([class]):hover{text-decoration-color:currentColor}#sidebar,#sidebar-content{font-size:13px}#sidebar [class*=\"group-header\"]{font-size:11px;font-weight:500;letter-spacing:0.05em;text-transform:uppercase;color:color-mix(in srgb, currentColor 60%, transparent)}blockquote{font-style:normal;border-left-width:2px}#content-area table,article table{font-size:0.875rem;line-height:1.5}#content-area td,article td{vertical-align:top}#content-area th,article th{font-weight:600}img.nav-logo{height:1.5rem!important}"}]}
{"page":{"pagePath":"api-reference/artifacts/create-an-artifact-version","slug":"/api-reference/artifacts/create-an-artifact-version","pageMetadata":{"title":"Create an artifact version","description":"Add a new immutable version to an artifact. If the artifact is still on the version the request added, resending the same request returns that version. A version holds at most 1000 files, 100 MiB each and 1024 MiB in total. Content sent inline in JSON is at most 1 MiB per file and 4 MiB per request, in a body of at most 16183296 bytes; upload a larger file with POST /v1/files and name it by its id.","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/artifacts/{artifact_id}/versions","href":"/api-reference/artifacts/create-an-artifact-version","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: \"Add a new immutable version to an artifact. If the artifact is still on the version the request added, resending the same request returns that version. A version holds at most 1000 files, 100 MiB each and 1024 MiB in total. Content sent inline in JSON is at most 1 MiB per file and 4 MiB per request, in a body of at most 16183296 bytes; upload a larger file with POST /v1/files and name it by its id.\"\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":{"codeStyling":{"theme":{"light":"github-light","dark":"github-dark"}},"config":{},"pageMetadata":{"title":"Create an artifact version","description":"Add a new immutable version to an artifact. If the artifact is still on the version the request added, resending the same request returns that version. A version holds at most 1000 files, 100 MiB each and 1024 MiB in total. Content sent inline in JSON is at most 1 MiB per file and 4 MiB per request, in a body of at most 16183296 bytes; upload a larger file with POST /v1/files and name it by its id.","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/artifacts/{artifact_id}/versions","href":"/api-reference/artifacts/create-an-artifact-version","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["artifacts"],"operationId":"artifacts.createVersion","parameters":["c3a186e2-29ce-4140-ae63-ff3c385ec593"],"security":["a9955e93-1616-460a-a313-587939c0fd83","599b1ea8-10eb-4595-9805-7fb762e89276"],"responses":{"201":"3d5f4d28-2d44-4979-a200-c513e4009043","202":"a91da0ea-658d-4ee0-931e-420630cffb60","400":"44e115c5-56c6-4919-ba67-fc612df7d97c","401":"00196f52-858e-4b1a-92ef-a306c8d25e8b","404":"3456b47c-0489-4e87-bfa5-4dbc9255cac9","409":"175c5d35-5c12-48ff-84a0-37f6bda9a782","413":"df21f362-2be2-4e68-ab73-59ac16519611","415":"fad74663-1b8b-476c-b7aa-71a3c5b0732c","429":"b1a95de6-cd7d-4215-996b-5cdefbaaa161","500":"367d4d31-30e3-4612-868d-cd83ec29922d","503":"0c51029b-17a9-4465-bf4f-a37d19ad6046"},"description":"Add a new immutable version to an artifact. If the artifact is still on the version the request added, resending the same request returns that version. A version holds at most 1000 files, 100 MiB each and 1024 MiB in total. Content sent inline in JSON is at most 1 MiB per file and 4 MiB per request, in a body of at most 16183296 bytes; upload a larger file with POST /v1/files and name it by its id.","summary":"Create an artifact version","requestBody":"f12a91a1-2473-4d09-aa37-ad9156d2f8a4","x-forge-group-name":"artifacts.versions","x-forge-method-name":"create","x-checkfu-endpoint":{"group":"artifacts","endpoint":"createVersion"},"x-checkfu-mcp":{"name":"artifacts_createArtifactVersion","destructive":false},"x-checkfu-cli":{"groupDescription":"Create and read artifact versions","maxInputBytes":16183296,"repeatArrayField":{"field":"files","flag":"file","description":"File as JSON, YAML, or @file: path with content (and optional encoding), path with file_id, or path with the sha256 of a file to keep from the version being replaced; content_type is optional (repeatable)"}},"method":"post","type":"path","servers":[],"path":"/v1/artifacts/{artifact_id}/versions","baseUrlOptions":[],"title":"Create an artifact version","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"c3a186e2-29ce-4140-ae63-ff3c385ec593":{"name":"artifact_id","in":"path","schema":{"type":"string","minLength":1,"description":"Artifact ID","isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"version":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Current artifact version for optimistic concurrency","isRequired":true,"uniqueKey":"version","typeLabel":"integer"},"files":{"type":"array","items":{"oneOf":[{"type":"object","required":["path","content"],"properties":{"path":{"type":"string","minLength":1,"maxLength":512,"pattern":"^(?:[^./\\\\\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029][^/\\\\\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029]*|\\.[^./\\\\\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029][^/\\\\\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029]*|\\.\\.[^/\\\\\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029]+)(?:\\/(?:[^./\\\\\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029][^/\\\\\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029]*|\\.[^./\\\\\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029][^/\\\\\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029]*|\\.\\.[^/\\\\\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029]+))*$","description":"Relative path inside the artifact, for example index.html or assets/app.js","isRequired":true,"uniqueKey":"files.items.[INDEX].oneOf.0.path","typeLabel":"string"},"content":{"type":"string","description":"File content: text, or base64 when encoding is base64","isRequired":true,"uniqueKey":"files.items.[INDEX].oneOf.0.content","typeLabel":"string"},"encoding":{"type":"string","enum":["utf8","base64"],"description":"How content is encoded (default utf8)","uniqueKey":"files.items.[INDEX].oneOf.0.encoding","typeLabel":"enum\u003cstring>"},"content_type":{"type":"string","minLength":3,"maxLength":128,"pattern":"^[A-Za-z0-9][A-Za-z0-9!#$\u0026^_.+-]*\\/[A-Za-z0-9][A-Za-z0-9!#$\u0026^_.+-]*(?:; ?[ -~]+)?$","description":"Media type; inferred from the path extension when omitted","uniqueKey":"files.items.[INDEX].oneOf.0.content_type","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"files.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","required":["path","file_id"],"properties":{"path":{"type":"string","minLength":1,"maxLength":512,"pattern":"^(?:[^./\\\\\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029][^/\\\\\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029]*|\\.[^./\\\\\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029][^/\\\\\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029]*|\\.\\.[^/\\\\\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029]+)(?:\\/(?:[^./\\\\\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029][^/\\\\\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029]*|\\.[^./\\\\\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029][^/\\\\\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029]*|\\.\\.[^/\\\\\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029]+))*$","description":"Relative path inside the artifact, for example index.html or assets/app.js","isRequired":true,"uniqueKey":"files.items.[INDEX].oneOf.1.path","typeLabel":"string"},"file_id":{"type":"string","minLength":1,"description":"A file uploaded with POST /v1/files, or saved from a session's outputs. The artifact keeps its own copy of the bytes, so deleting the file later does not change the version","isRequired":true,"uniqueKey":"files.items.[INDEX].oneOf.1.file_id","typeLabel":"string"},"content_type":{"type":"string","minLength":3,"maxLength":128,"pattern":"^[A-Za-z0-9][A-Za-z0-9!#$\u0026^_.+-]*\\/[A-Za-z0-9][A-Za-z0-9!#$\u0026^_.+-]*(?:; ?[ -~]+)?$","description":"Media type; the file's own when omitted","uniqueKey":"files.items.[INDEX].oneOf.1.content_type","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"files.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","required":["path","sha256"],"properties":{"path":{"type":"string","minLength":1,"maxLength":512,"pattern":"^(?:[^./\\\\\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029][^/\\\\\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029]*|\\.[^./\\\\\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029][^/\\\\\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029]*|\\.\\.[^/\\\\\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029]+)(?:\\/(?:[^./\\\\\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029][^/\\\\\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029]*|\\.[^./\\\\\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029][^/\\\\\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029]*|\\.\\.[^/\\\\\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029]+))*$","description":"Relative path inside the artifact, for example index.html or assets/app.js","isRequired":true,"uniqueKey":"files.items.[INDEX].oneOf.2.path","typeLabel":"string"},"sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","description":"sha256 of a file in the version being replaced, to keep it without sending it again","isRequired":true,"uniqueKey":"files.items.[INDEX].oneOf.2.sha256","typeLabel":"string"},"content_type":{"type":"string","minLength":3,"maxLength":128,"pattern":"^[A-Za-z0-9][A-Za-z0-9!#$\u0026^_.+-]*\\/[A-Za-z0-9][A-Za-z0-9!#$\u0026^_.+-]*(?:; ?[ -~]+)?$","description":"Media type; inferred from the path extension when omitted","uniqueKey":"files.items.[INDEX].oneOf.2.content_type","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"files.items.[INDEX].oneOf.2","typeLabel":"object"}],"uniqueKey":"files.items.[INDEX]","typeLabel":"object"},"minItems":1,"maxItems":1000,"description":"Every file of the version, or with made_from the files to add to the source's; a new version replaces the whole set. Send a small file's content inline, name a file by its id, or keep a file of the current version by its sha256. Required unless made_from is given","uniqueKey":"files","typeLabel":"object[]"},"made_from":{"type":"object","properties":{"artifact_id":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"made_from.artifact_id","typeLabel":"string"},"version":{"type":"integer","minimum":1,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"made_from.version","typeLabel":"integer"}},"required":["artifact_id","version"],"additionalProperties":false,"description":"Start from another artifact version, such as a type. The source supplies its files and any capability declaration. Add files at new paths and leave out artifact.json. The copy survives changes to or deletion of the source","uniqueKey":"made_from","typeLabel":"object"}},"required":["version"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"version":4503599627370496,"files":[{"path":"\u003cstring>","content":"\u003cstring>","content_type":"\u003cstring>"}]}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"3d5f4d28-2d44-4979-a200-c513e4009043":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["artifact_version"],"isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"artifact_id":{"type":"string","isRequired":true,"uniqueKey":"artifact_id","typeLabel":"string"},"version":{"type":"integer","minimum":1,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"version","typeLabel":"integer"},"capabilities":{"type":"object","properties":{"database":{"type":"object","properties":{"collections":{"type":"object","patternProperties":{"^[a-z][a-z0-9_-]{0,31}$":{"type":"object","properties":{"visitors":{"type":"string","enum":["none","read","add","write"],"description":"What someone opening the page may do with a collection: nothing, list and get, add only, or everything"}},"required":["visitors"],"additionalProperties":false}},"additionalProperties":false,"isRequired":true,"uniqueKey":"capabilities.database.collections","typeLabel":"object"}},"required":["collections"],"additionalProperties":false,"uniqueKey":"capabilities.database","typeLabel":"object"}},"additionalProperties":false,"description":"What the version's page may ask of the platform at run time, as declared in its artifact.json. Empty when it declares nothing","isRequired":true,"uniqueKey":"capabilities","typeLabel":"object"},"made_from":{"oneOf":[{"type":"object","description":"The artifact version this version's files were started from, or null","required":["artifact_id","version"],"properties":{"artifact_id":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"made_from.oneOf.0.artifact_id","typeLabel":"string"},"version":{"type":"integer","minimum":1,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"made_from.oneOf.0.version","typeLabel":"integer"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"made_from.oneOf.0","typeLabel":"object"},{"type":"null","description":"The artifact version this version's files were started from, or null","isRequired":true,"uniqueKey":"made_from.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"made_from","typeLabel":"object | null"},"file_count":{"type":"integer","minimum":0,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"file_count","typeLabel":"integer"},"total_bytes":{"type":"integer","minimum":0,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"total_bytes","typeLabel":"integer"},"files":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1,"maxLength":512,"pattern":"^(?:[^./\\\\\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029][^/\\\\\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029]*|\\.[^./\\\\\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029][^/\\\\\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029]*|\\.\\.[^/\\\\\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029]+)(?:\\/(?:[^./\\\\\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029][^/\\\\\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029]*|\\.[^./\\\\\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029][^/\\\\\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029]*|\\.\\.[^/\\\\\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029]+))*$","isRequired":true,"uniqueKey":"files.items.[INDEX].path","typeLabel":"string"},"sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","isRequired":true,"uniqueKey":"files.items.[INDEX].sha256","typeLabel":"string"},"size":{"type":"integer","minimum":0,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"files.items.[INDEX].size","typeLabel":"integer"},"content_type":{"type":"string","isRequired":true,"uniqueKey":"files.items.[INDEX].content_type","typeLabel":"string"}},"required":["path","sha256","size","content_type"],"additionalProperties":false,"uniqueKey":"files.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"files","typeLabel":"object[]"},"created_at":{"type":"string","isRequired":true,"uniqueKey":"created_at","typeLabel":"string"}},"required":["type","artifact_id","version","capabilities","made_from","file_count","total_bytes","files","created_at"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"artifact_version","artifact_id":"\u003cstring>","version":4503599627370496,"capabilities":{"database":{"collections":{}}},"made_from":{"artifact_id":"\u003cstring>","version":4503599627370496},"file_count":4503599627370495,"total_bytes":4503599627370495,"files":[{"path":"\u003cstring>","sha256":"\u003cstring>","size":4503599627370495,"content_type":"\u003cstring>"}],"created_at":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"a91da0ea-658d-4ee0-931e-420630cffb60":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"type":{"type":"string","enum":["artifact_version"],"isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"version":{"type":"integer","minimum":1,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"version","typeLabel":"integer"},"pending":{"type":"boolean","enum":[true],"isRequired":true,"uniqueKey":"pending","typeLabel":"enum\u003cboolean>"}},"required":["id","type","version","pending"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","type":"artifact_version","version":4503599627370496,"pending":true}}},"exampleType":"generated"}},"exampleType":"generated"},"44e115c5-56c6-4919-ba67-fc612df7d97c":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"error":{"type":"object","properties":{"type":{"type":"string","enum":["invalid_request_error"],"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","enum":["session_awaiting_action","idempotency_key_reused","agent_model_unavailable","automation_reference_unavailable","automation_memory_store_archived","automation_schedule_unusable","automation_capacity_reached","credential_url_taken","mcp_server_blocked","mcp_server_credential_invalid","mcp_server_credentials_ambiguous","machine_credential_invalid"],"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"}},"required":["type","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"accepted":{"type":"array","uniqueKey":"accepted","typeLabel":"array"},"failed_index":{"type":"number","uniqueKey":"failed_index","typeLabel":"number"},"unconfirmed_index":{"type":"number","uniqueKey":"unconfirmed_index","typeLabel":"number"}},"required":["type","error","request_id"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"error","error":{"type":"invalid_request_error","message":"\u003cstring>","code":"session_awaiting_action"},"request_id":"\u003cstring>","accepted":"\u003carray>","failed_index":123,"unconfirmed_index":123}}},"exampleType":"generated"}},"exampleType":"generated"},"00196f52-858e-4b1a-92ef-a306c8d25e8b":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"error":{"type":"object","properties":{"type":{"type":"string","enum":["authentication_error"],"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","enum":["session_awaiting_action","idempotency_key_reused","agent_model_unavailable","automation_reference_unavailable","automation_memory_store_archived","automation_schedule_unusable","automation_capacity_reached","credential_url_taken","mcp_server_blocked","mcp_server_credential_invalid","mcp_server_credentials_ambiguous","machine_credential_invalid"],"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"}},"required":["type","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"accepted":{"type":"array","uniqueKey":"accepted","typeLabel":"array"},"failed_index":{"type":"number","uniqueKey":"failed_index","typeLabel":"number"},"unconfirmed_index":{"type":"number","uniqueKey":"unconfirmed_index","typeLabel":"number"}},"required":["type","error","request_id"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"error","error":{"type":"authentication_error","message":"\u003cstring>","code":"session_awaiting_action"},"request_id":"\u003cstring>","accepted":"\u003carray>","failed_index":123,"unconfirmed_index":123}}},"exampleType":"generated"}},"exampleType":"generated"},"3456b47c-0489-4e87-bfa5-4dbc9255cac9":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"error":{"type":"object","properties":{"type":{"type":"string","enum":["not_found_error"],"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","enum":["session_awaiting_action","idempotency_key_reused","agent_model_unavailable","automation_reference_unavailable","automation_memory_store_archived","automation_schedule_unusable","automation_capacity_reached","credential_url_taken","mcp_server_blocked","mcp_server_credential_invalid","mcp_server_credentials_ambiguous","machine_credential_invalid"],"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"}},"required":["type","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"accepted":{"type":"array","uniqueKey":"accepted","typeLabel":"array"},"failed_index":{"type":"number","uniqueKey":"failed_index","typeLabel":"number"},"unconfirmed_index":{"type":"number","uniqueKey":"unconfirmed_index","typeLabel":"number"}},"required":["type","error","request_id"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"error","error":{"type":"not_found_error","message":"\u003cstring>","code":"session_awaiting_action"},"request_id":"\u003cstring>","accepted":"\u003carray>","failed_index":123,"unconfirmed_index":123}}},"exampleType":"generated"}},"exampleType":"generated"},"175c5d35-5c12-48ff-84a0-37f6bda9a782":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"error":{"type":"object","properties":{"type":{"type":"string","enum":["conflict_error"],"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","enum":["session_awaiting_action","idempotency_key_reused","agent_model_unavailable","automation_reference_unavailable","automation_memory_store_archived","automation_schedule_unusable","automation_capacity_reached","credential_url_taken","mcp_server_blocked","mcp_server_credential_invalid","mcp_server_credentials_ambiguous","machine_credential_invalid"],"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"}},"required":["type","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"accepted":{"type":"array","uniqueKey":"accepted","typeLabel":"array"},"failed_index":{"type":"number","uniqueKey":"failed_index","typeLabel":"number"},"unconfirmed_index":{"type":"number","uniqueKey":"unconfirmed_index","typeLabel":"number"}},"required":["type","error","request_id"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"error","error":{"type":"conflict_error","message":"\u003cstring>","code":"session_awaiting_action"},"request_id":"\u003cstring>","accepted":"\u003carray>","failed_index":123,"unconfirmed_index":123}}},"exampleType":"generated"}},"exampleType":"generated"},"df21f362-2be2-4e68-ab73-59ac16519611":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"error":{"type":"object","properties":{"type":{"type":"string","enum":["payload_too_large"],"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","enum":["session_awaiting_action","idempotency_key_reused","agent_model_unavailable","automation_reference_unavailable","automation_memory_store_archived","automation_schedule_unusable","automation_capacity_reached","credential_url_taken","mcp_server_blocked","mcp_server_credential_invalid","mcp_server_credentials_ambiguous","machine_credential_invalid"],"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"}},"required":["type","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"accepted":{"type":"array","uniqueKey":"accepted","typeLabel":"array"},"failed_index":{"type":"number","uniqueKey":"failed_index","typeLabel":"number"},"unconfirmed_index":{"type":"number","uniqueKey":"unconfirmed_index","typeLabel":"number"}},"required":["type","error","request_id"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"error","error":{"type":"payload_too_large","message":"\u003cstring>","code":"session_awaiting_action"},"request_id":"\u003cstring>","accepted":"\u003carray>","failed_index":123,"unconfirmed_index":123}}},"exampleType":"generated"}},"exampleType":"generated"},"fad74663-1b8b-476c-b7aa-71a3c5b0732c":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"error":{"type":"object","properties":{"type":{"type":"string","enum":["unsupported_media_type"],"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","enum":["session_awaiting_action","idempotency_key_reused","agent_model_unavailable","automation_reference_unavailable","automation_memory_store_archived","automation_schedule_unusable","automation_capacity_reached","credential_url_taken","mcp_server_blocked","mcp_server_credential_invalid","mcp_server_credentials_ambiguous","machine_credential_invalid"],"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"}},"required":["type","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"accepted":{"type":"array","uniqueKey":"accepted","typeLabel":"array"},"failed_index":{"type":"number","uniqueKey":"failed_index","typeLabel":"number"},"unconfirmed_index":{"type":"number","uniqueKey":"unconfirmed_index","typeLabel":"number"}},"required":["type","error","request_id"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"error","error":{"type":"unsupported_media_type","message":"\u003cstring>","code":"session_awaiting_action"},"request_id":"\u003cstring>","accepted":"\u003carray>","failed_index":123,"unconfirmed_index":123}}},"exampleType":"generated"}},"exampleType":"generated"},"b1a95de6-cd7d-4215-996b-5cdefbaaa161":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"error":{"type":"object","properties":{"type":{"type":"string","enum":["rate_limit_error"],"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","enum":["session_awaiting_action","idempotency_key_reused","agent_model_unavailable","automation_reference_unavailable","automation_memory_store_archived","automation_schedule_unusable","automation_capacity_reached","credential_url_taken","mcp_server_blocked","mcp_server_credential_invalid","mcp_server_credentials_ambiguous","machine_credential_invalid"],"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"}},"required":["type","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"accepted":{"type":"array","uniqueKey":"accepted","typeLabel":"array"},"failed_index":{"type":"number","uniqueKey":"failed_index","typeLabel":"number"},"unconfirmed_index":{"type":"number","uniqueKey":"unconfirmed_index","typeLabel":"number"}},"required":["type","error","request_id"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"error","error":{"type":"rate_limit_error","message":"\u003cstring>","code":"session_awaiting_action"},"request_id":"\u003cstring>","accepted":"\u003carray>","failed_index":123,"unconfirmed_index":123}}},"exampleType":"generated"}},"exampleType":"generated"},"367d4d31-30e3-4612-868d-cd83ec29922d":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"error":{"type":"object","properties":{"type":{"type":"string","enum":["internal_error"],"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","enum":["session_awaiting_action","idempotency_key_reused","agent_model_unavailable","automation_reference_unavailable","automation_memory_store_archived","automation_schedule_unusable","automation_capacity_reached","credential_url_taken","mcp_server_blocked","mcp_server_credential_invalid","mcp_server_credentials_ambiguous","machine_credential_invalid"],"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"}},"required":["type","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"accepted":{"type":"array","uniqueKey":"accepted","typeLabel":"array"},"failed_index":{"type":"number","uniqueKey":"failed_index","typeLabel":"number"},"unconfirmed_index":{"type":"number","uniqueKey":"unconfirmed_index","typeLabel":"number"}},"required":["type","error","request_id"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"error","error":{"type":"internal_error","message":"\u003cstring>","code":"session_awaiting_action"},"request_id":"\u003cstring>","accepted":"\u003carray>","failed_index":123,"unconfirmed_index":123}}},"exampleType":"generated"}},"exampleType":"generated"},"0c51029b-17a9-4465-bf4f-a37d19ad6046":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"error":{"type":"object","properties":{"type":{"type":"string","enum":["service_unavailable"],"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","enum":["session_awaiting_action","idempotency_key_reused","agent_model_unavailable","automation_reference_unavailable","automation_memory_store_archived","automation_schedule_unusable","automation_capacity_reached","credential_url_taken","mcp_server_blocked","mcp_server_credential_invalid","mcp_server_credentials_ambiguous","machine_credential_invalid"],"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"}},"required":["type","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"accepted":{"type":"array","uniqueKey":"accepted","typeLabel":"array"},"failed_index":{"type":"number","uniqueKey":"failed_index","typeLabel":"number"},"unconfirmed_index":{"type":"number","uniqueKey":"unconfirmed_index","typeLabel":"number"}},"required":["type","error","request_id"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"error","error":{"type":"service_unavailable","message":"\u003cstring>","code":"session_awaiting_action"},"request_id":"\u003cstring>","accepted":"\u003carray>","failed_index":123,"unconfirmed_index":123}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"a9955e93-1616-460a-a313-587939c0fd83":{"bearer":{"type":"http","scheme":"Bearer","scopes":[],"schemeName":"bearer"}},"599b1ea8-10eb-4595-9805-7fb762e89276":{"apiKey":{"type":"apiKey","name":"x-api-key","in":"header","scopes":[],"schemeName":"apiKey"}}},"servers":{},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"Bearer","scopes":[],"schemeName":"bearer"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearer","name":"Authorization"}],"title":"bearer"},{"schemes":[{"scheme":{"type":"apiKey","name":"x-api-key","in":"header","scopes":[],"schemeName":"apiKey"},"schema":{"title":"x-api-key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKey","name":"x-api-key"}],"title":"apiKey"}]},"originalFileLocation":"openapi.json"},"subdomain":"checkfu","siteName":"Checkfu","title":"Create an artifact version - Checkfu","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-01T09:53:01.072Z","originalFileLocation":"api-reference/artifacts/create-an-artifact-version.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=\"light\"}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=\"Add a new immutable version to an artifact. If the artifact is still on the version the request added, resending the same request returns that version. A version holds at most 1000 files, 100 MiB each and 1024 MiB in total. Content sent inline in JSON is at most 1 MiB per file and 4 MiB per request, in a body of at most 16183296 bytes; upload a larger file with POST /v1/files and name it by its id.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Checkfu\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/checkfu/WyYtCDf7eiuEgSr2/_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/checkfu/WyYtCDf7eiuEgSr2/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/checkfu/WyYtCDf7eiuEgSr2/_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/checkfu/WyYtCDf7eiuEgSr2/_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/checkfu/WyYtCDf7eiuEgSr2/_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/checkfu/WyYtCDf7eiuEgSr2/_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/checkfu/WyYtCDf7eiuEgSr2/_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/checkfu/WyYtCDf7eiuEgSr2/_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/checkfu/WyYtCDf7eiuEgSr2/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create an artifact version - Checkfu\">\u003cmeta data-mint-head property=\"og:description\" content=\"Add a new immutable version to an artifact. If the artifact is still on the version the request added, resending the same request returns that version. A version holds at most 1000 files, 100 MiB each and 1024 MiB in total. Content sent inline in JSON is at most 1 MiB per file and 4 MiB per request, in a body of at most 16183296 bytes; upload a larger file with POST /v1/files and name it by its id.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Checkfu documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.checkfu.com/api-reference/artifacts/create-an-artifact-version\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://docs.checkfu.com/assets/og.png\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create an artifact version - Checkfu\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Add a new immutable version to an artifact. If the artifact is still on the version the request added, resending the same request returns that version. A version holds at most 1000 files, 100 MiB each and 1024 MiB in total. Content sent inline in JSON is at most 1 MiB per file and 4 MiB per request, in a body of at most 16183296 bytes; upload a larger file with POST /v1/files and name it by its id.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://docs.checkfu.com/assets/og.png\">\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/checkfu/WyYtCDf7eiuEgSr2/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Checkfu\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#282828\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.checkfu.com/api-reference/artifacts/create-an-artifact-version\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/artifacts/create-an-artifact-version.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.checkfu.com/#organization\",\"name\":\"Checkfu\",\"url\":\"https://docs.checkfu.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/checkfu/roudJjfqJYVsUhiz/assets/logo-light.svg?fit=max\u0026auto=format\u0026n=roudJjfqJYVsUhiz\u0026q=85\u0026s=89c8c4d6c852e4947cbe90639b96e7cc\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.checkfu.com#website\",\"name\":\"Checkfu\",\"url\":\"https://docs.checkfu.com\",\"publisher\":{\"@id\":\"https://docs.checkfu.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.checkfu.com/api-reference/artifacts/create-an-artifact-version#webpage\",\"url\":\"https://docs.checkfu.com/api-reference/artifacts/create-an-artifact-version\",\"name\":\"Create an artifact version\",\"description\":\"Add a new immutable version to an artifact. If the artifact is still on the version the request added, resending the same request returns that version. A version holds at most 1000 files, 100 MiB each and 1024 MiB in total. Content sent inline in JSON is at most 1 MiB per file and 4 MiB per request, in a body of at most 16183296 bytes; upload a larger file with POST /v1/files and name it by its id.\",\"dateModified\":\"2026-12-01T09:53:01.072Z\",\"isPartOf\":{\"@id\":\"https://docs.checkfu.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.checkfu.com/api-reference/artifacts/create-an-artifact-version#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.checkfu.com/api-reference/artifacts/create-an-artifact-version#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"HTTP API\",\"item\":\"https://docs.checkfu.com/api-reference/health/health-check\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"artifacts\",\"item\":\"https://docs.checkfu.com/api-reference/artifacts/list-artifacts\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create an artifact version\",\"item\":\"https://docs.checkfu.com/api-reference/artifacts/create-an-artifact-version\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.checkfu.com/api-reference/artifacts/create-an-artifact-version#apireference\",\"headline\":\"Create an artifact version\",\"name\":\"Create an artifact version\",\"description\":\"Add a new immutable version to an artifact. If the artifact is still on the version the request added, resending the same request returns that version. A version holds at most 1000 files, 100 MiB each and 1024 MiB in total. Content sent inline in JSON is at most 1 MiB per file and 4 MiB per request, in a body of at most 16183296 bytes; upload a larger file with POST /v1/files and name it by its id.\",\"url\":\"https://docs.checkfu.com/api-reference/artifacts/create-an-artifact-version\",\"mainEntityOfPage\":{\"@id\":\"https://docs.checkfu.com/api-reference/artifacts/create-an-artifact-version#webpage\"},\"image\":\"https://docs.checkfu.com/assets/og.png\",\"dateModified\":\"2026-12-01T09:53:01.072Z\",\"publisher\":{\"@id\":\"https://docs.checkfu.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.checkfu.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Checkfu\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Checkfu\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/artifacts/create-an-artifact-version.md","siteName":"Checkfu","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"Reference","groups":[{"group":"Interfaces","pages":[{"title":"HTTP API","href":"/reference/http-api"},{"title":"TypeScript SDK","href":"/reference/typescript-sdk"},{"title":"CLI reference","sidebarTitle":"CLI","href":"/reference/cli"},{"title":"MCP server","sidebarTitle":"MCP","href":"/reference/mcp"}]},{"group":"Specifications","pages":[{"title":"Session events","sidebarTitle":"Events","href":"/reference/events"},{"title":"Errors","href":"/reference/errors"},{"title":"Limits","href":"/reference/limits"}]},{"group":"HTTP API","pages":[{"group":"health","pages":[{"title":"Health check","deprecated":null,"version":null,"openapi":"/openapi.json get /health","href":"/api-reference/health/health-check"}]},{"group":"auth","pages":[{"title":"Verify a credential","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/auth/verify","href":"/api-reference/auth/verify-a-credential"}]},{"group":"agents","pages":[{"title":"List agents","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/agents","href":"/api-reference/agents/list-agents"},{"title":"Create an agent","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/agents","href":"/api-reference/agents/create-an-agent"},{"title":"Retrieve an agent","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/agents/{agent_id}","href":"/api-reference/agents/retrieve-an-agent"},{"title":"Update an agent","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/agents/{agent_id}","href":"/api-reference/agents/update-an-agent"},{"title":"List agent versions","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/agents/{agent_id}/versions","href":"/api-reference/agents/list-agent-versions"},{"title":"Archive an agent","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/agents/{agent_id}/archive","href":"/api-reference/agents/archive-an-agent"}]},{"group":"models","pages":[{"title":"List suggested models","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/models","href":"/api-reference/models/list-suggested-models"}]},{"group":"provider_credentials","pages":[{"title":"List model provider credentials","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/provider_credentials","href":"/api-reference/provider_credentials/list-model-provider-credentials"},{"title":"Add a model provider credential","deprecated":null,"version":null,"openapi":"/openapi.json put /v1/provider_credentials/{credential_id}","href":"/api-reference/provider_credentials/add-a-model-provider-credential"},{"title":"Revoke a model provider credential","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/provider_credentials/{credential_id}","href":"/api-reference/provider_credentials/revoke-a-model-provider-credential"}]},{"group":"inbound_bindings","pages":[{"title":"List incoming endpoints without credential material","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/inbound_bindings","href":"/api-reference/inbound_bindings/list-incoming-endpoints-without-credential-material"},{"title":"Create a signed endpoint for an automation","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/inbound_bindings","href":"/api-reference/inbound_bindings/create-a-signed-endpoint-for-an-automation"},{"title":"Read the status of incoming endpoint setup","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/inbound_bindings/{binding_id}/setup","href":"/api-reference/inbound_bindings/read-the-status-of-incoming-endpoint-setup"},{"title":"Confirm a Notion webhook after verifying its subscription","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/inbound_bindings/{binding_id}/confirm","href":"/api-reference/inbound_bindings/confirm-a-notion-webhook-after-verifying-its-subscription"},{"title":"Install or replace a Linear webhook signing secret","deprecated":null,"version":null,"openapi":"/openapi.json put /v1/inbound_bindings/{binding_id}/signing_secret","href":"/api-reference/inbound_bindings/install-or-replace-a-linear-webhook-signing-secret"},{"title":"Revoke a signed endpoint","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/inbound_bindings/{binding_id}","href":"/api-reference/inbound_bindings/revoke-a-signed-endpoint"}]},{"group":"inbound_deliveries","pages":[{"title":"Receive a signed webhook or Discord interaction","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/incoming/{binding_id}","href":"/api-reference/inbound_deliveries/receive-a-signed-webhook-or-discord-interaction"}]},{"group":"environments","pages":[{"title":"List environments","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/environments","href":"/api-reference/environments/list-environments"},{"title":"Create an environment","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/environments","href":"/api-reference/environments/create-an-environment"},{"title":"Retrieve an environment","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/environments/{environment_id}","href":"/api-reference/environments/retrieve-an-environment"},{"title":"Update an environment","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/environments/{environment_id}","href":"/api-reference/environments/update-an-environment"},{"title":"Delete an environment","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/environments/{environment_id}","href":"/api-reference/environments/delete-an-environment"},{"title":"Archive an environment","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/environments/{environment_id}/archive","href":"/api-reference/environments/archive-an-environment"}]},{"group":"sessions","pages":[{"title":"List sessions","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/sessions","href":"/api-reference/sessions/list-sessions"},{"title":"Create a session","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/sessions","href":"/api-reference/sessions/create-a-session"},{"title":"Retrieve a session","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/sessions/{session_id}","href":"/api-reference/sessions/retrieve-a-session"},{"title":"Select a session runtime","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/sessions/{session_id}/runtime","href":"/api-reference/sessions/select-a-session-runtime"},{"title":"Archive a session","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/sessions/{session_id}/archive","href":"/api-reference/sessions/archive-a-session"},{"title":"List session events","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/sessions/{session_id}/events","href":"/api-reference/sessions/list-session-events"},{"title":"Send session events","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/sessions/{session_id}/events","href":"/api-reference/sessions/send-session-events"},{"title":"Stream session events","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/sessions/{session_id}/events/stream","href":"/api-reference/sessions/stream-session-events"},{"title":"Retrieve a session's outputs","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/sessions/{session_id}/outputs","href":"/api-reference/sessions/retrieve-a-sessions-outputs"},{"title":"Retrieve recorded model usage and cost","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/sessions/{session_id}/usage","href":"/api-reference/sessions/retrieve-recorded-model-usage-and-cost"},{"title":"List recorded model requests","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/sessions/{session_id}/usage/requests","href":"/api-reference/sessions/list-recorded-model-requests"},{"title":"List a session's output history","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/sessions/{session_id}/outputs/history","href":"/api-reference/sessions/list-a-sessions-output-history"},{"title":"List session resources","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/sessions/{session_id}/resources","href":"/api-reference/sessions/list-session-resources"},{"title":"Retrieve a session resource","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/sessions/{session_id}/resources/{resource_id}","href":"/api-reference/sessions/retrieve-a-session-resource"},{"title":"Rotate a repository's token","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/sessions/{session_id}/resources/{resource_id}","href":"/api-reference/sessions/rotate-a-repositorys-token"}]},{"group":"automations","pages":[{"title":"List automations","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/automations","href":"/api-reference/automations/list-automations"},{"title":"Create an automation","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/automations","href":"/api-reference/automations/create-an-automation"},{"title":"Retrieve an automation","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/automations/{automation_id}","href":"/api-reference/automations/retrieve-an-automation"},{"title":"Update an automation","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/automations/{automation_id}","href":"/api-reference/automations/update-an-automation"},{"title":"Pause an automation","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/automations/{automation_id}/pause","href":"/api-reference/automations/pause-an-automation"},{"title":"Unpause an automation","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/automations/{automation_id}/unpause","href":"/api-reference/automations/unpause-an-automation"},{"title":"Archive an automation","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/automations/{automation_id}/archive","href":"/api-reference/automations/archive-an-automation"},{"title":"Run an automation now","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/automations/{automation_id}/run","href":"/api-reference/automations/run-an-automation-now"},{"title":"List automation runs","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/automations/{automation_id}/runs","href":"/api-reference/automations/list-automation-runs"},{"title":"Retrieve an automation run","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/automations/{automation_id}/runs/{run}","href":"/api-reference/automations/retrieve-an-automation-run"},{"title":"Retrieve an automation run by ID","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/automation_runs/{automation_run_id}","href":"/api-reference/automations/retrieve-an-automation-run-by-id"},{"title":"List automation runs across automations","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/automation_runs","href":"/api-reference/automations/list-automation-runs-across-automations"}]},{"group":"artifacts","pages":[{"title":"List artifacts","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/artifacts","href":"/api-reference/artifacts/list-artifacts"},{"title":"Create an artifact","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/artifacts","href":"/api-reference/artifacts/create-an-artifact"},{"title":"Retrieve an artifact","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/artifacts/{artifact_id}","href":"/api-reference/artifacts/retrieve-an-artifact"},{"title":"Delete an artifact","description":"Permanently delete an artifact, all versions of its files, and all documents in its database. Its public address and viewing links stop working.","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/artifacts/{artifact_id}","href":"/api-reference/artifacts/delete-an-artifact"},{"title":"Create an artifact version","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/artifacts/{artifact_id}/versions","href":"/api-reference/artifacts/create-an-artifact-version"},{"title":"Retrieve an artifact version","description":"Retrieve one version of an artifact and its file list","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/artifacts/{artifact_id}/versions/{version}","href":"/api-reference/artifacts/retrieve-an-artifact-version"},{"title":"Retrieve an artifact file","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/artifacts/{artifact_id}/versions/{version}/file","href":"/api-reference/artifacts/retrieve-an-artifact-file"},{"title":"Download an artifact file","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/artifacts/{artifact_id}/versions/{version}/content","href":"/api-reference/artifacts/download-an-artifact-file"},{"title":"Create a viewing link","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/artifacts/{artifact_id}/versions/{version}/links","href":"/api-reference/artifacts/create-a-viewing-link"},{"title":"Publish an artifact","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/artifacts/{artifact_id}/publication","href":"/api-reference/artifacts/publish-an-artifact"},{"title":"Unpublish an artifact","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/artifacts/{artifact_id}/publication","href":"/api-reference/artifacts/unpublish-an-artifact"}]},{"group":"artifact_data","pages":[{"title":"Describe an artifact's database","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/artifacts/{artifact_id}/data","href":"/api-reference/artifact_data/describe-an-artifacts-database"},{"title":"List documents","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/artifacts/{artifact_id}/data/{collection}","href":"/api-reference/artifact_data/list-documents"},{"title":"Add a document","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/artifacts/{artifact_id}/data/{collection}","href":"/api-reference/artifact_data/add-a-document"},{"title":"Retrieve a document","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/artifacts/{artifact_id}/data/{collection}/{document_id}","href":"/api-reference/artifact_data/retrieve-a-document"},{"title":"Put a document","deprecated":null,"version":null,"openapi":"/openapi.json put /v1/artifacts/{artifact_id}/data/{collection}/{document_id}","href":"/api-reference/artifact_data/put-a-document"},{"title":"Delete a document","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/artifacts/{artifact_id}/data/{collection}/{document_id}","href":"/api-reference/artifact_data/delete-a-document"}]},{"group":"files","pages":[{"title":"List files","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/files","href":"/api-reference/files/list-files"},{"title":"Upload a file","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/files","href":"/api-reference/files/upload-a-file"},{"title":"Retrieve a file","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/files/{file_id}","href":"/api-reference/files/retrieve-a-file"},{"title":"Delete a file","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/files/{file_id}","href":"/api-reference/files/delete-a-file"},{"title":"Download a file","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/files/{file_id}/content","href":"/api-reference/files/download-a-file"}]},{"group":"vaults","pages":[{"title":"List vaults","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/vaults","href":"/api-reference/vaults/list-vaults"},{"title":"Create a vault","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/vaults","href":"/api-reference/vaults/create-a-vault"},{"title":"Retrieve a vault","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/vaults/{vault_id}","href":"/api-reference/vaults/retrieve-a-vault"},{"title":"Update a vault","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/vaults/{vault_id}","href":"/api-reference/vaults/update-a-vault"},{"title":"Delete a vault","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/vaults/{vault_id}","href":"/api-reference/vaults/delete-a-vault"},{"title":"Archive a vault","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/vaults/{vault_id}/archive","href":"/api-reference/vaults/archive-a-vault"},{"title":"List credentials","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/vaults/{vault_id}/credentials","href":"/api-reference/vaults/list-credentials"},{"title":"Create a credential","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/vaults/{vault_id}/credentials","href":"/api-reference/vaults/create-a-credential"},{"title":"Retrieve a credential","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/vaults/{vault_id}/credentials/{credential_id}","href":"/api-reference/vaults/retrieve-a-credential"},{"title":"Update a credential","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/vaults/{vault_id}/credentials/{credential_id}","href":"/api-reference/vaults/update-a-credential"},{"title":"Delete a credential","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/vaults/{vault_id}/credentials/{credential_id}","href":"/api-reference/vaults/delete-a-credential"},{"title":"Archive a credential","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/vaults/{vault_id}/credentials/{credential_id}/archive","href":"/api-reference/vaults/archive-a-credential"}]},{"group":"webhooks","pages":[{"title":"List webhooks","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/webhooks","href":"/api-reference/webhooks/list-webhooks"},{"title":"Create a webhook","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/webhooks","href":"/api-reference/webhooks/create-a-webhook"},{"title":"Retrieve a webhook","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/webhooks/{webhook_id}","href":"/api-reference/webhooks/retrieve-a-webhook"},{"title":"Update a webhook","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/webhooks/{webhook_id}","href":"/api-reference/webhooks/update-a-webhook"},{"title":"Delete a webhook","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/webhooks/{webhook_id}","href":"/api-reference/webhooks/delete-a-webhook"},{"title":"Pause a webhook","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/webhooks/{webhook_id}/pause","href":"/api-reference/webhooks/pause-a-webhook"},{"title":"Resume a webhook","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/webhooks/{webhook_id}/resume","href":"/api-reference/webhooks/resume-a-webhook"},{"title":"Rotate a webhook signing secret","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/webhooks/{webhook_id}/rotate-secret","href":"/api-reference/webhooks/rotate-a-webhook-signing-secret"},{"title":"Send a test webhook event","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/webhooks/{webhook_id}/test","href":"/api-reference/webhooks/send-a-test-webhook-event"},{"title":"List webhook deliveries","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/webhooks/{webhook_id}/deliveries","href":"/api-reference/webhooks/list-webhook-deliveries"},{"title":"Retrieve a webhook delivery","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/webhooks/{webhook_id}/deliveries/{delivery_id}","href":"/api-reference/webhooks/retrieve-a-webhook-delivery"},{"title":"Redeliver a webhook event","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/webhooks/{webhook_id}/deliveries/{delivery_id}/redeliver","href":"/api-reference/webhooks/redeliver-a-webhook-event"}]},{"group":"memory_stores","pages":[{"title":"List memory stores","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/memory_stores","href":"/api-reference/memory_stores/list-memory-stores"},{"title":"Create a memory store","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/memory_stores","href":"/api-reference/memory_stores/create-a-memory-store"},{"title":"Retrieve a memory store","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/memory_stores/{memory_store_id}","href":"/api-reference/memory_stores/retrieve-a-memory-store"},{"title":"Update a memory store","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/memory_stores/{memory_store_id}","href":"/api-reference/memory_stores/update-a-memory-store"},{"title":"Delete a memory store","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/memory_stores/{memory_store_id}","href":"/api-reference/memory_stores/delete-a-memory-store"},{"title":"Archive a memory store","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/memory_stores/{memory_store_id}/archive","href":"/api-reference/memory_stores/archive-a-memory-store"},{"title":"List memories","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/memory_stores/{memory_store_id}/memories","href":"/api-reference/memory_stores/list-memories"},{"title":"Create a memory","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/memory_stores/{memory_store_id}/memories","href":"/api-reference/memory_stores/create-a-memory"},{"title":"Retrieve a memory","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/memory_stores/{memory_store_id}/memories/{memory_id}","href":"/api-reference/memory_stores/retrieve-a-memory"},{"title":"Update a memory","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/memory_stores/{memory_store_id}/memories/{memory_id}","href":"/api-reference/memory_stores/update-a-memory"},{"title":"Delete a memory","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/memory_stores/{memory_store_id}/memories/{memory_id}","href":"/api-reference/memory_stores/delete-a-memory"}]},{"group":"API Reference","pages":[{"title":"Webhook delivery","version":null,"deprecated":null,"openapi":"/openapi.json webhook event","href":"/api-reference/webhook-delivery"}]}]}]}]},"basePath":"","title":"Create an artifact version - Checkfu","deploymentId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","buildId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C6Z1vAfX.js","snippetPresets-Bjd6OXRM.js","utils-QL6OhUyF.js","style-to-object-BY3JEAdk.js","utils-Dsq-HLeF.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-CEYfmkoV.js","conditional-requirements-CFM0id0Q.js","cloneDeep-CHgPjMM8.js","_Uint8Array-IXRJ_ueo.js","isObject-FP1Yky1u.js","ApiExamples-pq4ns9YA.js","usePlaygroundInputsStore-D-gnigmo.js","shallow-DIfWGPrf.js","isEqual-DDFuixlH.js","CodeSnippets-8g5rilZj.js","CodeSnippet-C_J7pouP.js","use-playground-group-access-bkOyfPao.js","Page-B_smDgrp.js","api-description-markdown-DtcP2u3s.js","DynamicMarkdown-DOefW1_8.js","SectionHeading-Cg4lfWZw.js","MethodPill-BnqygvYm.js","getPastedJson-BGXYEZ3P.js","Check2Icon-BBeO3TOS.js","axios-CsQoIw0U.js","Markdown-D5IqLG6A.js","AssistantPageLink-_S2h4i6W.js","dist-DzZqOeCq.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}