Record untrusted external provenance on an eligible upload. This is not verified and starts no generation. Requires uploads:create and library:read when sources are declared. The JSON request body is limited to 512 KiB; a workflow is limited to 256 KiB serialized UTF-8.
Makes retries safe: a retry with the same key and body returns the first response for 24 hours instead of repeating the work. Reusing a key with a different body returns 409.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"ZeroGen Docs","description":"How to make and organize images, video and audio in ZeroGen, in the app and through the API.","colors":{"primary":"#18181B","light":"#E4E4E7","dark":"#18181B"},"logo":{"light":"https://mintcdn.com/zero-gen/W2GmhRNTfZqjZw9S/logo/light.svg?fit=max\u0026auto=format\u0026n=W2GmhRNTfZqjZw9S\u0026q=85\u0026s=35d09db4e90566e79f5af1c3d8ffb4be","dark":"https://mintcdn.com/zero-gen/W2GmhRNTfZqjZw9S/logo/dark.svg?fit=max\u0026auto=format\u0026n=W2GmhRNTfZqjZw9S\u0026q=85\u0026s=f4fcd821b66e08a00c2975e2458a4edc"},"favicon":"https://mintcdn.com/zero-gen/W2GmhRNTfZqjZw9S/favicon.svg?fit=max\u0026auto=format\u0026n=W2GmhRNTfZqjZw9S\u0026q=85\u0026s=46d5ff92806d6efc0a27dd88bce49b88","api":{"openapi":"openapi.json","playground":{"display":"simple"},"examples":{"languages":["curl","javascript","python"]}},"contextual":{"options":["copy","view","claude","chatgpt","cursor","vscode","mcp"],"display":"header"},"interaction":{"drilldown":false},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"zero-gen","hasAudioNarration":false,"actualSubdomain":"zero-gen","customDomains":["docs.zerogen.com"],"gitSource":{"type":"github","owner":"zerogeneration","repo":"platform","deployBranch":"main","contentDirectory":"apps/api-docs","isPrivate":true,"mountPath":"","label":"","_id":"6adcf0cde85b0c9dcc4acad1"},"chroma":{"latestBuiltDeploymentHistoryId":"6aea1b0c90fba1e9dbe233c3","collectionId":"5c486237-4e44-4f3a-bf2a-ce694d40656e","liveDeploymentHistoryId":"6aea1b0c90fba1e9dbe233c3","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aeab0f4b8fa7d41b1ffa844","clientVersion":"0.0.4054","searchFilterCounts":[{"language":"default","tag":"Developers","count":104},{"language":"default","tag":"Docs","count":64},{"language":"default","tag":"Models","count":40},{"language":"default","tag":"Endpoints","count":38},{"language":"default","tag":"Get started","count":10},{"language":"default","tag":"Generate","count":9},{"language":"default","tag":"Video","count":9},{"language":"default","tag":"Foundations","count":8},{"language":"default","tag":"Image","count":8},{"language":"default","tag":"Folders","count":8}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"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":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#navigation-items>div:only-of-type>.sidebar-group-header{display:none}#navigation-items>div:only-of-type>*>*>button[aria-expanded]{font-weight:600;color:rgb(var(--gray-900))}.dark #navigation-items>div:only-of-type>*>*>button[aria-expanded]{color:rgb(var(--gray-200))}.nav-tabs a[href=\"https://zerogen.com/changelog\"]{align-self:center;height:auto;padding:.25rem .625rem;border-radius:9999px;background-color:rgb(var(--gray-100));gap:.375rem}.dark .nav-tabs a[href=\"https://zerogen.com/changelog\"]{background-color:rgb(var(--gray-800))}.nav-tabs a[href=\"https://zerogen.com/changelog\"]>div{display:none}.nav-tabs a[href=\"https://zerogen.com/changelog\"]::after{content:\"\";width:.75rem;height:.75rem;background-color:currentColor;-webkit-mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M10 14 21 3'/%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E\") center/contain no-repeat;mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M10 14 21 3'/%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E\") center/contain no-repeat}"}],"page":{"pagePath":"api-reference/assets/declare-an-uploads-external-provenance","slug":"/api-reference/assets/declare-an-uploads-external-provenance","pageMetadata":{"title":"Declare an upload's external provenance","description":"Record untrusted external provenance on an eligible upload. This is not verified and starts no generation. Requires uploads:create and library:read when sources are declared. The JSON request body is limited to 512 KiB; a workflow is limited to 256 KiB serialized UTF-8.\n\nNeeds the `uploads:create` scope.","deprecated":null,"version":null,"openapi":"/openapi.json post /assets/{assetId}/declaration","href":"/api-reference/assets/declare-an-uploads-external-provenance","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Record untrusted external provenance on an eligible upload. This is not verified and starts no generation. Requires uploads:create and library:read when sources are declared. The JSON request body is limited to 512 KiB; a workflow is limited to 256 KiB serialized UTF-8.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Needs the \", _jsx(_components.code, {\n children: \"uploads:create\"\n }), \" scope.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Declare an upload's external provenance","description":"Record untrusted external provenance on an eligible upload. This is not verified and starts no generation. Requires uploads:create and library:read when sources are declared. The JSON request body is limited to 512 KiB; a workflow is limited to 256 KiB serialized UTF-8.\n\nNeeds the `uploads:create` scope.","deprecated":null,"version":null,"openapi":"/openapi.json post /assets/{assetId}/declaration","href":"/api-reference/assets/declare-an-uploads-external-provenance","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"declareAssetUpload","tags":["Assets"],"summary":"Declare an upload's external provenance","description":"Record untrusted external provenance on an eligible upload. This is not verified and starts no generation. Requires uploads:create and library:read when sources are declared. The JSON request body is limited to 512 KiB; a workflow is limited to 256 KiB serialized UTF-8.\n\nNeeds the `uploads:create` scope.","parameters":["88c638c1-3f70-47c3-8a96-72bc9337b5c1","8d090e96-ac91-4cb7-856a-84e2c912f74d"],"requestBody":"92909703-76ca-4f87-ad32-c97815a1f915","responses":{"200":"f7b52389-ef10-49d7-b5ef-26e72ff593f5","400":"9bf11db2-3282-4cbb-a996-aac659fa6d2d","401":"4347ba32-3b5a-4708-9fe3-4d83c684b5cb","403":"f9fb0e8a-1b19-4c6f-8472-92eafeb45a86","404":"4c824278-8a6a-4b8d-a653-8a2a1b63b703","409":"b0cb1418-58d0-4f53-8433-39e5b8df48aa","413":"a6dff22c-7cb0-47b6-a36f-8d98a34300e7","415":"f75d1bcd-3a9e-43da-8bee-cf056c962d4a","429":"501a4527-c2bc-4946-89f8-99cf86fddebd","500":"bde3d02e-366d-4fd0-9d2b-5c022873f3fc","503":"2d8d2fb3-d249-4f90-9d19-99d7d83f4f83"},"method":"post","type":"path","servers":["18dc19ae-834a-4c5a-b7a8-805e3de159d6"],"security":["e5002e41-b73d-4fb9-89ab-567df56e9cd3"],"path":"/assets/{assetId}/declaration","baseUrlOptions":["https://api.zerogen.com/v1"],"title":"Declare an upload's external provenance","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"88c638c1-3f70-47c3-8a96-72bc9337b5c1":{"name":"assetId","in":"path","required":true,"description":"The asset's ID","schema":{"type":"string","isRequired":true,"description":"The asset's ID","uniqueKey":"","typeLabel":"string"}},"8d090e96-ac91-4cb7-856a-84e2c912f74d":{"name":"Idempotency-Key","in":"header","required":false,"description":"Makes retries safe: a retry with the same key and body returns the first response for 24 hours instead of repeating the work. Reusing a key with a different body returns 409.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x7e]+$","isRequired":false,"description":"Makes retries safe: a retry with the same key and body returns the first response for 24 hours instead of repeating the work. Reusing a key with a different body returns 409.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"tool":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":40,"pattern":"^[a-z][a-z0-9-]*$","isRequired":true,"uniqueKey":"tool.name","typeLabel":"string"},"version":{"type":"string","maxLength":128,"uniqueKey":"tool.version","typeLabel":"string"},"integration":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":128,"isRequired":true,"uniqueKey":"tool.integration.name","typeLabel":"string"},"version":{"type":"string","maxLength":128,"uniqueKey":"tool.integration.version","typeLabel":"string"}},"required":["name"],"additionalProperties":false,"uniqueKey":"tool.integration","typeLabel":"object"},"models":{"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":256,"uniqueKey":"tool.models.items.[INDEX]","typeLabel":"string"},"uniqueKey":"tool.models","typeLabel":"string[]"}},"required":["name"],"additionalProperties":false,"isRequired":true,"uniqueKey":"tool","typeLabel":"object"},"sources":{"description":"Untrusted claims about the readable Library sources used outside ZeroGen.","minItems":1,"maxItems":32,"type":"array","items":{"type":"object","properties":{"asset":{"type":"string","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$","description":"An existing readable Library asset; this claim is not verified.","isRequired":true,"uniqueKey":"sources.items.[INDEX].asset","typeLabel":"string"},"role":{"type":"string","enum":["source","initial-frame","end-frame","keyframe","reference","face-reference","identity","driver","mask"],"uniqueKey":"sources.items.[INDEX].role","typeLabel":"enum\u003cstring>"}},"required":["asset"],"additionalProperties":false,"uniqueKey":"sources.items.[INDEX]","typeLabel":"object"},"uniqueKey":"sources","typeLabel":"object[]"},"workflow":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{"type":"null","uniqueKey":"workflow.additionalProperties.oneOf.0","typeLabel":"null"},{"type":"string","uniqueKey":"workflow.additionalProperties.oneOf.1","typeLabel":"string"},{"type":"number","uniqueKey":"workflow.additionalProperties.oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"workflow.additionalProperties.oneOf.3","typeLabel":"boolean"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"workflow.additionalProperties.oneOf.4.items.[INDEX]","typeLabel":"any"},"uniqueKey":"workflow.additionalProperties.oneOf.4","typeLabel":"any[]"},{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"workflow.additionalProperties.oneOf.5.additionalProperties","typeLabel":"any"},"uniqueKey":"workflow.additionalProperties.oneOf.5","typeLabel":"object"}],"uniqueKey":"workflow.additionalProperties","typeLabel":"null | string | number | boolean | any[] | object"},"description":"Untrusted JSON workflow, limited to 262144 serialized UTF-8 bytes.","uniqueKey":"workflow","typeLabel":"object"},"prompt":{"type":"string","maxLength":20000,"uniqueKey":"prompt","typeLabel":"string"},"externalRef":{"type":"object","properties":{"system":{"type":"string","minLength":1,"maxLength":40,"pattern":"^[a-z][a-z0-9-]*$","isRequired":true,"uniqueKey":"externalRef.system","typeLabel":"string"},"id":{"type":"string","minLength":1,"maxLength":256,"isRequired":true,"uniqueKey":"externalRef.id","typeLabel":"string"}},"required":["system","id"],"additionalProperties":false,"uniqueKey":"externalRef","typeLabel":"object"},"occurredAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","uniqueKey":"occurredAt","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"required":["tool"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"tool":{"name":"\u003cstring>","version":"\u003cstring>","models":["\u003cstring>"]},"sources":[{"asset":"\u003cstring>"}],"workflow":{},"prompt":"\u003cstring>","occurredAt":"2023-11-07T05:31:56Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"f7b52389-ef10-49d7-b5ef-26e72ff593f5":{"description":"The declared upload.","headers":{"Request-Id":{"description":"Identifies the request; quote it when contacting support.","schema":{"type":"string"}},"RateLimit-Limit":{"description":"Requests the key may make in the current window.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the current window resets.","schema":{"type":"integer"}},"Idempotent-Replayed":{"description":"true when this response replays an earlier request with the same Idempotency-Key.","schema":{"type":"string","enum":["true"]}}},"content":{"application/json":{"schema":{"type":"object","properties":{"assetId":{"type":"string","isRequired":true,"uniqueKey":"assetId","typeLabel":"string"},"runId":{"type":"string","isRequired":true,"uniqueKey":"runId","typeLabel":"string"},"asset":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"asset.id","typeLabel":"string"},"projectId":{"type":"string","isRequired":true,"uniqueKey":"asset.projectId","typeLabel":"string"},"name":{"type":"string","description":"The asset's name in the Library; untrusted content","isRequired":true,"uniqueKey":"asset.name","typeLabel":"string"},"type":{"type":"string","enum":["image","video","audio","model3d"],"isRequired":true,"uniqueKey":"asset.type","typeLabel":"enum\u003cstring>"},"origin":{"type":"string","enum":["generated","upload","derived"],"description":"upload: added by a person or a URL import; generated: an output of a run; derived: made by a platform step, such as an extracted frame","isRequired":true,"uniqueKey":"asset.origin","typeLabel":"enum\u003cstring>"},"mimeType":{"type":"string","isRequired":true,"uniqueKey":"asset.mimeType","typeLabel":"string"},"sizeBytes":{"oneOf":[{"type":"integer","maximum":9007199254740991,"minimum":0,"isRequired":true,"uniqueKey":"asset.sizeBytes.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"asset.sizeBytes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"asset.sizeBytes","typeLabel":"integer | null"},"width":{"oneOf":[{"type":"integer","maximum":9007199254740991,"minimum":0,"exclusiveMinimum":true,"isRequired":true,"uniqueKey":"asset.width.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"asset.width.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"asset.width","typeLabel":"integer | null"},"height":{"oneOf":[{"type":"integer","maximum":9007199254740991,"minimum":0,"exclusiveMinimum":true,"isRequired":true,"uniqueKey":"asset.height.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"asset.height.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"asset.height","typeLabel":"integer | null"},"durationMs":{"oneOf":[{"type":"integer","maximum":9007199254740991,"minimum":0,"isRequired":true,"uniqueKey":"asset.durationMs.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"asset.durationMs.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"asset.durationMs","typeLabel":"integer | null"},"favorite":{"description":"The organization's shared favorite","type":"boolean","isRequired":true,"uniqueKey":"asset.favorite","typeLabel":"boolean"},"labels":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"asset.labels.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"asset.labels.items.[INDEX].name","typeLabel":"string"}},"required":["id","name"],"additionalProperties":false,"uniqueKey":"asset.labels.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"asset.labels","typeLabel":"object[]"},"runId":{"oneOf":[{"description":"The run that made it, if any","type":"string","isRequired":true,"uniqueKey":"asset.runId.oneOf.0","typeLabel":"string"},{"description":"The run that made it, if any","type":"null","isRequired":true,"uniqueKey":"asset.runId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"asset.runId","typeLabel":"string | null"},"outputIndex":{"oneOf":[{"type":"integer","maximum":9007199254740991,"minimum":0,"isRequired":true,"uniqueKey":"asset.outputIndex.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"asset.outputIndex.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"asset.outputIndex","typeLabel":"integer | null"},"createdBy":{"oneOf":[{"type":"object","description":"Who made it: the run's creator for a generated or derived asset, the uploader for an upload; null when ZeroGen recorded no one","required":["id","name"],"properties":{"id":{"type":"string","description":"The user's ID, as GET /v1/me returns the key's own","isRequired":true,"uniqueKey":"asset.createdBy.oneOf.0.id","typeLabel":"string"},"name":{"oneOf":[{"description":"The name the person gave ZeroGen, or null; never an email address","type":"string","isRequired":true,"uniqueKey":"asset.createdBy.oneOf.0.name.oneOf.0","typeLabel":"string"},{"description":"The name the person gave ZeroGen, or null; never an email address","type":"null","isRequired":true,"uniqueKey":"asset.createdBy.oneOf.0.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"asset.createdBy.oneOf.0.name","typeLabel":"string | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"asset.createdBy.oneOf.0","typeLabel":"object"},{"type":"null","description":"Who made it: the run's creator for a generated or derived asset, the uploader for an upload; null when ZeroGen recorded no one","isRequired":true,"uniqueKey":"asset.createdBy.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"asset.createdBy","typeLabel":"object | null"},"createdVia":{"oneOf":[{"type":"string","description":"Where it was made: web (the ZeroGen app), agent (ZeroGen's Agent), mcp (an MCP client) or api (an API key); null with createdBy","enum":["web","agent","mcp","api"],"isRequired":true,"uniqueKey":"asset.createdVia.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Where it was made: web (the ZeroGen app), agent (ZeroGen's Agent), mcp (an MCP client) or api (an API key); null with createdBy","isRequired":true,"uniqueKey":"asset.createdVia.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"asset.createdVia","typeLabel":"enum\u003cstring> | null"},"declared":{"oneOf":[{"type":"object","description":"Untrusted external upload provenance, or null when no declaration exists.","required":["tool"],"properties":{"tool":{"type":"object","properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"asset.declared.oneOf.0.tool.name","typeLabel":"string"},"version":{"type":"string","uniqueKey":"asset.declared.oneOf.0.tool.version","typeLabel":"string"},"integration":{"type":"object","properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"asset.declared.oneOf.0.tool.integration.name","typeLabel":"string"},"version":{"type":"string","uniqueKey":"asset.declared.oneOf.0.tool.integration.version","typeLabel":"string"}},"required":["name"],"additionalProperties":false,"uniqueKey":"asset.declared.oneOf.0.tool.integration","typeLabel":"object"},"models":{"type":"array","items":{"type":"string","uniqueKey":"asset.declared.oneOf.0.tool.models.items.[INDEX]","typeLabel":"string"},"uniqueKey":"asset.declared.oneOf.0.tool.models","typeLabel":"string[]"}},"required":["name"],"additionalProperties":false,"isRequired":true,"uniqueKey":"asset.declared.oneOf.0.tool","typeLabel":"object"},"externalRef":{"type":"object","properties":{"system":{"type":"string","isRequired":true,"uniqueKey":"asset.declared.oneOf.0.externalRef.system","typeLabel":"string"},"id":{"type":"string","isRequired":true,"uniqueKey":"asset.declared.oneOf.0.externalRef.id","typeLabel":"string"}},"required":["system","id"],"additionalProperties":false,"uniqueKey":"asset.declared.oneOf.0.externalRef","typeLabel":"object"},"occurredAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","uniqueKey":"asset.declared.oneOf.0.occurredAt","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"asset.declared.oneOf.0","typeLabel":"object"},{"type":"null","description":"Untrusted external upload provenance, or null when no declaration exists.","isRequired":true,"uniqueKey":"asset.declared.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"asset.declared","typeLabel":"object | null"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","isRequired":true,"uniqueKey":"asset.createdAt","typeLabel":"string\u003cdate-time>"},"webUrl":{"oneOf":[{"description":"Opens the asset's Library review in ZeroGen, on your organization's host, after sign-in. null for test keys, whose sandbox the app doesn't show","type":"string","isRequired":true,"uniqueKey":"asset.webUrl.oneOf.0","typeLabel":"string"},{"description":"Opens the asset's Library review in ZeroGen, on your organization's host, after sign-in. null for test keys, whose sandbox the app doesn't show","type":"null","isRequired":true,"uniqueKey":"asset.webUrl.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"asset.webUrl","typeLabel":"string | null"}},"required":["id","projectId","name","type","origin","mimeType","sizeBytes","width","height","durationMs","favorite","labels","runId","outputIndex","createdBy","createdVia","declared","createdAt","webUrl"],"additionalProperties":false,"isRequired":true,"uniqueKey":"asset","typeLabel":"object"}},"required":["assetId","runId","asset"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"assetId":"\u003cstring>","runId":"\u003cstring>","asset":{"id":"\u003cstring>","projectId":"\u003cstring>","name":"\u003cstring>","type":"image","origin":"generated","mimeType":"\u003cstring>","sizeBytes":4503599627370495,"width":4503599627370495,"height":4503599627370495,"durationMs":4503599627370495,"favorite":true,"labels":[{"id":"\u003cstring>","name":"\u003cstring>"}],"runId":"\u003cstring>","outputIndex":4503599627370495,"createdBy":{"id":"\u003cstring>","name":"\u003cstring>"},"createdVia":"web","declared":{"tool":{"name":"\u003cstring>","version":"\u003cstring>","integration":{"name":"\u003cstring>","version":"\u003cstring>"},"models":["\u003cstring>"]},"externalRef":{"system":"\u003cstring>","id":"\u003cstring>"},"occurredAt":"2023-11-07T05:31:56Z"},"createdAt":"2023-11-07T05:31:56Z","webUrl":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"9bf11db2-3282-4cbb-a996-aac659fa6d2d":{"description":"The request is malformed or invalid: invalid_request, validation_failed, model_unavailable or input_import_failed.","headers":{"Request-Id":{"description":"Identifies the request; quote it when contacting support.","schema":{"type":"string"}},"RateLimit-Limit":{"description":"Requests the key may make in the current window.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the current window resets.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,79}$","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"error.retryable","typeLabel":"boolean"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message","retryable"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","retryable":true,"param":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"4347ba32-3b5a-4708-9fe3-4d83c684b5cb":{"description":"invalid_api_key: the key is missing, revoked or expired.","headers":{"Request-Id":{"description":"Identifies the request; quote it when contacting support.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Bearer realm=\"ZeroGen API\".","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,79}$","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"error.retryable","typeLabel":"boolean"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message","retryable"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","retryable":true,"param":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"f9fb0e8a-1b19-4c6f-8472-92eafeb45a86":{"description":"permission_denied: the key lacks the scope this endpoint needs, the request came from a browser, or the API isn't enabled for the organization.","headers":{"Request-Id":{"description":"Identifies the request; quote it when contacting support.","schema":{"type":"string"}},"RateLimit-Limit":{"description":"Requests the key may make in the current window.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the current window resets.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,79}$","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"error.retryable","typeLabel":"boolean"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message","retryable"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","retryable":true,"param":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"4c824278-8a6a-4b8d-a653-8a2a1b63b703":{"description":"not_found: no such resource for this caller, including a projectId the caller can't use.","headers":{"Request-Id":{"description":"Identifies the request; quote it when contacting support.","schema":{"type":"string"}},"RateLimit-Limit":{"description":"Requests the key may make in the current window.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the current window resets.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,79}$","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"error.retryable","typeLabel":"boolean"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message","retryable"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","retryable":true,"param":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"b0cb1418-58d0-4f53-8433-39e5b8df48aa":{"description":"idempotency_conflict: the Idempotency-Key was used for a different request. idempotency_in_progress: the first request with this key hasn't finished. invalid_state: the request can't go ahead as things stand, such as a run that needs a person's approval in ZeroGen.","headers":{"Request-Id":{"description":"Identifies the request; quote it when contacting support.","schema":{"type":"string"}},"RateLimit-Limit":{"description":"Requests the key may make in the current window.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the current window resets.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,79}$","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"error.retryable","typeLabel":"boolean"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message","retryable"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","retryable":true,"param":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"a6dff22c-7cb0-47b6-a36f-8d98a34300e7":{"description":"The request body is larger than this endpoint's limit: 128 KiB by default, or 512 KiB for `POST /uploads` and `POST /assets/{assetId}/declaration`.","headers":{"Request-Id":{"description":"Identifies the request; quote it when contacting support.","schema":{"type":"string"}},"RateLimit-Limit":{"description":"Requests the key may make in the current window.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the current window resets.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,79}$","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"error.retryable","typeLabel":"boolean"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message","retryable"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","retryable":true,"param":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"f75d1bcd-3a9e-43da-8bee-cf056c962d4a":{"description":"Send the body as application/json.","headers":{"Request-Id":{"description":"Identifies the request; quote it when contacting support.","schema":{"type":"string"}},"RateLimit-Limit":{"description":"Requests the key may make in the current window.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the current window resets.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,79}$","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"error.retryable","typeLabel":"boolean"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message","retryable"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","retryable":true,"param":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"501a4527-c2bc-4946-89f8-99cf86fddebd":{"description":"rate_limited: the key or its owner is over the rate limit, or the organization is at its running cap. Retry after Retry-After seconds.","headers":{"Request-Id":{"description":"Identifies the request; quote it when contacting support.","schema":{"type":"string"}},"RateLimit-Limit":{"description":"Requests the key may make in the current window.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the current window resets.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,79}$","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"error.retryable","typeLabel":"boolean"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message","retryable"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","retryable":true,"param":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"bde3d02e-366d-4fd0-9d2b-5c022873f3fc":{"description":"internal: something went wrong. Retry.","headers":{"Request-Id":{"description":"Identifies the request; quote it when contacting support.","schema":{"type":"string"}},"RateLimit-Limit":{"description":"Requests the key may make in the current window.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the current window resets.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,79}$","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"error.retryable","typeLabel":"boolean"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message","retryable"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","retryable":true,"param":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"2d8d2fb3-d249-4f90-9d19-99d7d83f4f83":{"description":"unavailable or pricing_unavailable: API keys, billing or pricing can't be reached right now. Retry.","headers":{"Request-Id":{"description":"Identifies the request; quote it when contacting support.","schema":{"type":"string"}},"RateLimit-Limit":{"description":"Requests the key may make in the current window.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the current window resets.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,79}$","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"error.retryable","typeLabel":"boolean"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message","retryable"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","retryable":true,"param":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"e5002e41-b73d-4fb9-89ab-567df56e9cd3":{"bearerAuth":{"type":"http","scheme":"bearer","description":"A ZeroGen API key: zg_ for a live key, zg_test_ for a test key.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"18dc19ae-834a-4c5a-b7a8-805e3de159d6":{"url":"https://api.zerogen.com/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"A ZeroGen API key: zg_ for a live key, zg_test_ for a test key.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"A ZeroGen API key: zg_ for a live key, zg_test_ for a test key.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"zero-gen","siteName":"ZeroGen Docs","title":"Declare an upload's external provenance - ZeroGen Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-04T04:13:45.871Z","originalFileLocation":"api-reference/assets/declare-an-uploads-external-provenance.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=\"Record untrusted external provenance on an eligible upload. This is not verified and starts no generation. Requires uploads:create and library:read when sources are declared. The JSON request body is limited to 512 KiB; a workflow is limited to 256 KiB serialized UTF-8. Needs the uploads:create scope.\">\u003cmeta data-mint-head name=\"application-name\" content=\"ZeroGen Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/zero-gen/ben01azdM0Av99iT/_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/zero-gen/ben01azdM0Av99iT/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/zero-gen/ben01azdM0Av99iT/_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/zero-gen/ben01azdM0Av99iT/_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/zero-gen/ben01azdM0Av99iT/_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/zero-gen/ben01azdM0Av99iT/_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/zero-gen/ben01azdM0Av99iT/_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/zero-gen/ben01azdM0Av99iT/_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/zero-gen/ben01azdM0Av99iT/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Declare an upload\u0026#x27;s external provenance - ZeroGen Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Record untrusted external provenance on an eligible upload. This is not verified and starts no generation. Requires uploads:create and library:read when sources are declared. The JSON request body is limited to 512 KiB; a workflow is limited to 256 KiB serialized UTF-8. Needs the uploads:create scope.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ZeroGen Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.zerogen.com/api-reference/assets/declare-an-uploads-external-provenance\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://zero-gen.mintlify.app/_mintlify/api/og/v2?division=Assets\u0026amp;title=Declare+an+upload%27s+external+provenance\u0026amp;description=Record+untrusted+external+provenance+on+an+eligible+upload.+This+is+not+verified+and+starts+no+generation.+Requires+uploads%3Acreate+and+library%3Aread+when+sources\u0026amp;theme=faa3a38b66501c3fd9e9fb87\u0026amp;signature=d86589e0766d6543c1c97bdb4626875909ae6cb4a5f256c8078f331db3a17e43\">\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=\"Declare an upload\u0026#x27;s external provenance - ZeroGen Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Record untrusted external provenance on an eligible upload. This is not verified and starts no generation. Requires uploads:create and library:read when sources are declared. The JSON request body is limited to 512 KiB; a workflow is limited to 256 KiB serialized UTF-8. Needs the uploads:create scope.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://zero-gen.mintlify.app/_mintlify/api/og/v2?division=Assets\u0026amp;title=Declare+an+upload%27s+external+provenance\u0026amp;description=Record+untrusted+external+provenance+on+an+eligible+upload.+This+is+not+verified+and+starts+no+generation.+Requires+uploads%3Acreate+and+library%3Aread+when+sources\u0026amp;theme=faa3a38b66501c3fd9e9fb87\u0026amp;signature=d86589e0766d6543c1c97bdb4626875909ae6cb4a5f256c8078f331db3a17e43\">\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/zero-gen/ben01azdM0Av99iT/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ZeroGen Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#18181B\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.zerogen.com/api-reference/assets/declare-an-uploads-external-provenance\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/assets/declare-an-uploads-external-provenance.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.zerogen.com/#organization\",\"name\":\"ZeroGen Docs\",\"url\":\"https://docs.zerogen.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/zero-gen/W2GmhRNTfZqjZw9S/logo/light.svg?fit=max\u0026auto=format\u0026n=W2GmhRNTfZqjZw9S\u0026q=85\u0026s=35d09db4e90566e79f5af1c3d8ffb4be\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.zerogen.com#website\",\"name\":\"ZeroGen Docs\",\"url\":\"https://docs.zerogen.com\",\"publisher\":{\"@id\":\"https://docs.zerogen.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.zerogen.com/api-reference/assets/declare-an-uploads-external-provenance#webpage\",\"url\":\"https://docs.zerogen.com/api-reference/assets/declare-an-uploads-external-provenance\",\"name\":\"Declare an upload's external provenance\",\"description\":\"Record untrusted external provenance on an eligible upload. This is not verified and starts no generation. Requires uploads:create and library:read when sources are declared. The JSON request body is limited to 512 KiB; a workflow is limited to 256 KiB serialized UTF-8. Needs the uploads:create scope.\",\"dateModified\":\"2026-11-04T04:13:45.871Z\",\"isPartOf\":{\"@id\":\"https://docs.zerogen.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.zerogen.com/api-reference/assets/declare-an-uploads-external-provenance#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.zerogen.com/api-reference/assets/declare-an-uploads-external-provenance#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Developers\",\"item\":\"https://docs.zerogen.com/developers/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Endpoints\",\"item\":\"https://docs.zerogen.com/api-reference/account/read-the-calling-key\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Assets\",\"item\":\"https://docs.zerogen.com/api-reference/assets/search-assets\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Declare an upload's external provenance\",\"item\":\"https://docs.zerogen.com/api-reference/assets/declare-an-uploads-external-provenance\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.zerogen.com/api-reference/assets/declare-an-uploads-external-provenance#apireference\",\"headline\":\"Declare an upload's external provenance\",\"name\":\"Declare an upload's external provenance\",\"description\":\"Record untrusted external provenance on an eligible upload. This is not verified and starts no generation. Requires uploads:create and library:read when sources are declared. The JSON request body is limited to 512 KiB; a workflow is limited to 256 KiB serialized UTF-8. Needs the uploads:create scope.\",\"url\":\"https://docs.zerogen.com/api-reference/assets/declare-an-uploads-external-provenance\",\"mainEntityOfPage\":{\"@id\":\"https://docs.zerogen.com/api-reference/assets/declare-an-uploads-external-provenance#webpage\"},\"dateModified\":\"2026-11-04T04:13:45.871Z\",\"publisher\":{\"@id\":\"https://docs.zerogen.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.zerogen.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ZeroGen Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"ZeroGen Docs","nav":{"global":null,"tabs":[{"tab":"Docs","pages":[{"title":"Docs","href":""}]},{"tab":"Models","pages":[{"title":"Models","href":"/models/overview"}]},{"tab":"Developers","groups":[{"group":"Developers","pages":[{"group":"Get started","expanded":false,"pages":[{"title":"Introduction","href":"/developers/introduction"},{"title":"API quickstart","href":"/developers/quickstart"},{"title":"SDKs","href":"/developers/sdks"},{"title":"Authentication","href":"/developers/authentication"},{"title":"Test keys","href":"/developers/test-keys"},{"title":"Build with AI agents","href":"/developers/build-with-ai"}]},{"group":"Runs and inputs","expanded":false,"pages":[{"title":"Models in the API","href":"/developers/models"},{"title":"Uploads and URL inputs","href":"/developers/uploads"},{"title":"Billing","href":"/developers/billing"}]},{"group":"Conventions","expanded":false,"pages":[{"title":"Errors","href":"/developers/errors"},{"title":"Rate limits","href":"/developers/rate-limits"},{"title":"Idempotency","href":"/developers/idempotency"},{"title":"Pagination","href":"/developers/pagination"}]},{"group":"API reference","expanded":false,"pages":[{"title":"Overview","href":"/api-reference/overview"}]},{"group":"Endpoints","expanded":false,"pages":[{"group":"Account","pages":[{"title":"Read the calling key","deprecated":null,"version":null,"openapi":"/openapi.json get /me","href":"/api-reference/account/read-the-calling-key"},{"title":"Read the organization's balance","deprecated":null,"version":null,"openapi":"/openapi.json get /balance","href":"/api-reference/account/read-the-organizations-balance"}]},{"group":"Models","pages":[{"title":"List models","deprecated":null,"version":null,"openapi":"/openapi.json get /models","href":"/api-reference/models/list-models"},{"title":"Read a model","deprecated":null,"version":null,"openapi":"/openapi.json get /models/{vendor}/{model}/{operation}","href":"/api-reference/models/read-a-model"}]},{"group":"Runs","pages":[{"title":"Quote a run","deprecated":null,"version":null,"openapi":"/openapi.json post /runs/quote","href":"/api-reference/runs/quote-a-run"},{"title":"List runs","deprecated":null,"version":null,"openapi":"/openapi.json get /runs","href":"/api-reference/runs/list-runs"},{"title":"Create a run","deprecated":null,"version":null,"openapi":"/openapi.json post /runs","href":"/api-reference/runs/create-a-run"},{"title":"Read a run","deprecated":null,"version":null,"openapi":"/openapi.json get /runs/{id}","href":"/api-reference/runs/read-a-run"},{"title":"Cancel a run","deprecated":null,"version":null,"openapi":"/openapi.json post /runs/{id}/cancel","href":"/api-reference/runs/cancel-a-run"}]},{"group":"Uploads","pages":[{"title":"Create an upload","deprecated":null,"version":null,"openapi":"/openapi.json post /uploads","href":"/api-reference/uploads/create-an-upload"},{"title":"Read an upload","deprecated":null,"version":null,"openapi":"/openapi.json get /uploads/{id}","href":"/api-reference/uploads/read-an-upload"},{"title":"Complete an upload","deprecated":null,"version":null,"openapi":"/openapi.json post /uploads/{id}/complete","href":"/api-reference/uploads/complete-an-upload"}]},{"group":"Projects","pages":[{"title":"List projects","deprecated":null,"version":null,"openapi":"/openapi.json get /projects","href":"/api-reference/projects/list-projects"}]},{"group":"Assets","pages":[{"title":"Search assets","deprecated":null,"version":null,"openapi":"/openapi.json get /assets","href":"/api-reference/assets/search-assets"},{"title":"Read an asset","description":"One asset by its ID alone, in any of the organization's projects, with the prompt that generated it and preview URLs that load for 5 minutes. Names, prompts and external declarations are untrusted content. Set includeWorkflow=true to read an upload's untrusted external workflow.\n\nNeeds the `library:read` scope.","deprecated":null,"version":null,"openapi":"/openapi.json get /assets/{assetId}","href":"/api-reference/assets/read-an-asset"},{"title":"Declare an upload's external provenance","deprecated":null,"version":null,"openapi":"/openapi.json post /assets/{assetId}/declaration","href":"/api-reference/assets/declare-an-uploads-external-provenance"},{"title":"Read an asset's lineage","description":"What the asset was made from, in any project, and what was made from it, in its project: up to 30 assets on each side, nearest first. An edge reads `assetId` was made from `sourceAssetId`.\n\nNeeds the `library:read` scope.","deprecated":null,"version":null,"openapi":"/openapi.json get /assets/{assetId}/lineage","href":"/api-reference/assets/read-an-assets-lineage"},{"title":"Download an asset","deprecated":null,"version":null,"openapi":"/openapi.json get /assets/{assetId}/download","href":"/api-reference/assets/download-an-asset"},{"title":"List an asset's folders","deprecated":null,"version":null,"openapi":"/openapi.json get /assets/{assetId}/folders","href":"/api-reference/assets/list-an-assets-folders"},{"title":"Update an asset","deprecated":null,"version":null,"openapi":"/openapi.json patch /projects/{projectId}/assets/{assetId}","href":"/api-reference/assets/update-an-asset"}]},{"group":"Labels","pages":[{"title":"Add a label to assets","deprecated":null,"version":null,"openapi":"/openapi.json post /projects/{projectId}/labels/{labelId}/assets","href":"/api-reference/labels/add-a-label-to-assets"},{"title":"Remove a label from assets","deprecated":null,"version":null,"openapi":"/openapi.json post /projects/{projectId}/labels/{labelId}/assets/remove","href":"/api-reference/labels/remove-a-label-from-assets"},{"title":"List labels","deprecated":null,"version":null,"openapi":"/openapi.json get /labels","href":"/api-reference/labels/list-labels"},{"title":"Create a label","deprecated":null,"version":null,"openapi":"/openapi.json post /labels","href":"/api-reference/labels/create-a-label"},{"title":"Update a label","deprecated":null,"version":null,"openapi":"/openapi.json put /labels/{labelId}","href":"/api-reference/labels/update-a-label"},{"title":"Archive a label","deprecated":null,"version":null,"openapi":"/openapi.json post /labels/{labelId}/archive","href":"/api-reference/labels/archive-a-label"},{"title":"Restore a label","deprecated":null,"version":null,"openapi":"/openapi.json post /labels/{labelId}/restore","href":"/api-reference/labels/restore-a-label"}]},{"group":"Folders","pages":[{"title":"List folders","deprecated":null,"version":null,"openapi":"/openapi.json get /projects/{projectId}/folders","href":"/api-reference/folders/list-folders"},{"title":"Create a folder","deprecated":null,"version":null,"openapi":"/openapi.json post /projects/{projectId}/folders","href":"/api-reference/folders/create-a-folder"},{"title":"Delete a folder","deprecated":null,"version":null,"openapi":"/openapi.json delete /projects/{projectId}/folders/{folderId}","href":"/api-reference/folders/delete-a-folder"},{"title":"Update a folder","deprecated":null,"version":null,"openapi":"/openapi.json patch /projects/{projectId}/folders/{folderId}","href":"/api-reference/folders/update-a-folder"},{"title":"Undo a folder deletion","deprecated":null,"version":null,"openapi":"/openapi.json post /projects/{projectId}/folders/restore","href":"/api-reference/folders/undo-a-folder-deletion"},{"title":"Add assets to a folder","deprecated":null,"version":null,"openapi":"/openapi.json post /projects/{projectId}/folders/{folderId}/assets","href":"/api-reference/folders/add-assets-to-a-folder"},{"title":"Move assets to a folder","deprecated":null,"version":null,"openapi":"/openapi.json post /projects/{projectId}/folders/{folderId}/assets/move","href":"/api-reference/folders/move-assets-to-a-folder"},{"title":"Remove assets from a folder","deprecated":null,"version":null,"openapi":"/openapi.json post /projects/{projectId}/folders/{folderId}/assets/remove","href":"/api-reference/folders/remove-assets-from-a-folder"}]},{"group":"Naming presets","pages":[{"title":"List naming presets","deprecated":null,"version":null,"openapi":"/openapi.json get /projects/{projectId}/naming-presets","href":"/api-reference/naming-presets/list-naming-presets"}]},{"group":"Skills","pages":[{"title":"List skills","deprecated":null,"version":null,"openapi":"/openapi.json get /skills","href":"/api-reference/skills/list-skills"},{"title":"Read a skill","deprecated":null,"version":null,"openapi":"/openapi.json get /skills/{skillId}","href":"/api-reference/skills/read-a-skill"}]}]}]}]},{"tab":"Changelog","href":"https://zerogen.com/changelog"}]},"basePath":"","title":"Declare an upload's external provenance - ZeroGen Docs","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"]}