PUT the bytes to upload_url, then pass the file’s ID as the file field’s value in a run’s input.
Send the same API key or token as Authorization: Bearer on the PUT, or transfer_key as the Pomerado-Transfer-Key header. An upload without either answers unauthorized, except one made with an API key created before uploads needed a key, which works without for 30 days after that, as the key’s unsigned_file_links_until shows.
A file can be at most 25 MiB unless the deployment sets otherwise. Executables are refused, and the first bytes must match media_type.
The upload_url works for 15 minutes and closes after three refused uploads; then create a new upload.
A file serves one run. It is erased when that run’s job ends, or an hour after its upload if unused.
An account keeps at most ten runs’ worth of files no run has used yet: 100 files and 500 MiB together by default.
A run’s file field also takes an https URL, or a data: URI of at most 512 KB.
Callers: an API key, an integration’s API key, an MCP OAuth token or a Dashboard session.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
name
string
required
The file's name, as the website will see it, for example receipt.pdf
Required string length: 1 - 255
media_type
string
required
The file's media type, such as application/pdf; its first bytes must match it
Required string length: 1 - 255
size
integer
The file's size in bytes; if given, the upload's Content-Length must match
Required range: x >= 0
sha256
string
The file's SHA-256 as 64 hex characters, in either case; if given, an upload of other bytes is refused with file_digest_mismatch and stores nothing
Pattern: ^[0-9a-fA-F]{64}$
Response
The new file, awaiting its upload
id
string
required
a file ID: file_ and 32 lowercase hex digits
Example:
"file_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190"
name
string
required
The file's name, as given
media_type
string
required
The file's media type, as checked
size
number | null
required
Bytes: the declared size until the upload arrives, then the size received; null when none was declared
sha256
string | null
required
The SHA-256 of the bytes, lowercase hex, once they arrived
status
enum<string>
required
awaiting_upload until its bytes arrive at upload_url, ready to pass to a run, in_use once a run took it
Available options:
awaiting_upload,
ready,
in_use
direction
enum<string>
required
input for a file sent to a run, output for one a run collected
Available options:
input,
output
job_id
string | null
required
The run's job the file is bound to: an input in use, and every output
Example:
"job_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190"
created_at
string
required
a string to be decoded into a Date
expires_at
string | null
required
When the file is erased unless used first; null for an input in use, which is erased when its job ends
upload_url
string
required
PUT the file's bytes here once, with Content-Type and Content-Length, and with transfer_key as the Pomerado-Transfer-Key header or the same API key or token as Authorization: Bearer. An upload without either answers unauthorized, except one made with an API key created before uploads needed a key, which works without for 30 days after that, as the key's unsigned_file_links_until shows. Valid until expires_at, 15 minutes after it was created; three refused uploads close it.
transfer_key
string
required
This upload's transfer key: send it as the Pomerado-Transfer-Key header on the PUT, for example from a device or worker that doesn't hold your API key. Keep it as private as the URL.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Pomerado","description":"Fast, reliable tools for websites, for AI agents and programs: an MCP server and a REST API.","colors":{"primary":"#c71f3e","light":"#f04a5f","dark":"#a81734"},"logo":{"light":"https://mintcdn.com/pomerado/MWnuKCF6pT3dH-IM/logo/light.svg?fit=max\u0026auto=format\u0026n=MWnuKCF6pT3dH-IM\u0026q=85\u0026s=b1723a79805dcc9e0c0982901abf76fd","dark":"https://mintcdn.com/pomerado/MWnuKCF6pT3dH-IM/logo/dark.svg?fit=max\u0026auto=format\u0026n=MWnuKCF6pT3dH-IM\u0026q=85\u0026s=e91dd44a93eff07c2e368db999756f98","href":"https://pomerado.ai"},"favicon":"https://mintcdn.com/pomerado/MWnuKCF6pT3dH-IM/logo/favicon.png?fit=max\u0026auto=format\u0026n=MWnuKCF6pT3dH-IM\u0026q=85\u0026s=78a3bf5220c92811101e80f0f1c2708a","api":{"examples":{"languages":["curl","javascript","python"]}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"pomerado","hasAudioNarration":false,"actualSubdomain":"pomerado","customDomains":["docs.pomerado.ai"],"gitSource":{"type":"github","owner":"pomerado","repo":"pomerado-docs","deployBranch":"main","contentDirectory":"public-docs","isPrivate":true,"mountPath":"","label":"","_id":"6af0f181ddecdf8794c0cadb"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b05f73c726b6d1f86c669f2","clientVersion":"0.0.4304","searchFilterCounts":[{"language":"default","tag":"API reference","count":135},{"language":"default","tag":"Docs","count":52},{"language":"default","tag":"Guides","count":42},{"language":"default","tag":"Tools and integrations","count":25},{"language":"default","tag":"MCP reference","count":19},{"language":"default","tag":"Pomerado MCP","count":17},{"language":"default","tag":"Jobs","count":13},{"language":"default","tag":"Payer profiles","count":11},{"language":"default","tag":"Saved logins","count":10},{"language":"default","tag":"Team","count":10}]},"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":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/files/upload-a-file","slug":"/api-reference/files/upload-a-file","pageMetadata":{"title":"Upload a file","description":"Create a file for a run's input and get a one-time upload URL.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/files","href":"/api-reference/files/upload-a-file","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: \"Create a file for a run’s input and get a one-time upload URL.\"\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{jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Accordion}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);return _jsx(Accordion,{title:`Details`,id:`details`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`PUT the bytes to upload_url, then pass the file’s ID as the file field’s value in a run’s input.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Send the same API key or token as Authorization: Bearer on the PUT, or transfer_key as the Pomerado-Transfer-Key header. An upload without either answers unauthorized, except one made with an API key created before uploads needed a key, which works without for 30 days after that, as the key’s unsigned_file_links_until shows.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`A file can be at most 25 MiB unless the deployment sets otherwise. Executables are refused, and the first bytes must match media_type.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`The upload_url works for 15 minutes and closes after three refused uploads; then create a new upload.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`A file serves one run. It is erased when that run’s job ends, or an hour after its upload if unused.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`An account keeps at most ten runs’ worth of files no run has used yet: 100 files and 500 MiB together by default.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`A run’s file field also takes an https URL, or a data: URI of at most 512 KB.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Callers:`}),` an API key, an integration’s API key, an MCP OAuth token or a Dashboard session.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Permission:`}),` `,_jsx(_components.code,{children:`runs:create`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Effect:`}),` Creates or changes something.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Errors:`}),` `,_jsx(_components.a,{href:`/errors#file_too_large`,children:_jsx(_components.code,{children:`file_too_large`})}),`, `,_jsx(_components.a,{href:`/errors#file_type_refused`,children:_jsx(_components.code,{children:`file_type_refused`})}),`, `,_jsx(_components.a,{href:`/errors#file_limit_exceeded`,children:_jsx(_components.code,{children:`file_limit_exceeded`})}),`, `,_jsx(_components.a,{href:`/errors#sign_in_required`,children:_jsx(_components.code,{children:`sign_in_required`})}),`, `,_jsx(_components.a,{href:`/errors#not_configured`,children:_jsx(_components.code,{children:`not_configured`})}),`, and the `,_jsx(_components.a,{href:`/errors`,children:`errors any request can get`}),`.`]}),`\n`]}),`\n`]})})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Upload a file","description":"Create a file for a run's input and get a one-time upload URL.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/files","href":"/api-reference/files/upload-a-file","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"files.create","tags":["files"],"summary":"Upload a file","description":"Create a file for a run's input and get a one-time upload URL.","requestBody":"236896c4-f860-4dc8-b8f8-55f77474c7c2","responses":{"201":"547786d3-12e9-4f68-a126-88a5c600b4f0","400":"44d4aa08-3bf6-461b-846c-775934d61eaf","401":"5700d7b3-f17d-4eac-b9ab-265105dd7d06","403":"c02b88f2-f3c3-4aef-86d1-75807a712647","410":"594023ab-7e12-4fbc-aa22-7dea0d4eb6bb","413":"93dc14bb-1cc2-4937-9973-d778184be4e4","415":"91fb60ca-3082-4c87-85c4-662f46bc2d14","500":"b96a6015-e196-4b6d-b0fa-539d9737cfc1","501":"e704b30c-045b-4445-a080-9656b5f0d46f","503":"ffd63ffa-b839-41ad-9d0b-2ec20170f092"},"security":["3bcf562e-88fd-4e0f-9041-2e215c6ba7c2"],"x-pomerado-effect":"write","x-pomerado-callers":["session","oauth","api_key","integration_key","service_account_key"],"x-pomerado-permission":"runs:create","x-mint":{"content":"\u003cAccordion title=\"Details\">\n\n- PUT the bytes to upload_url, then pass the file's ID as the file field's value in a run's input.\n- Send the same API key or token as Authorization: Bearer on the PUT, or transfer_key as the Pomerado-Transfer-Key header. An upload without either answers unauthorized, except one made with an API key created before uploads needed a key, which works without for 30 days after that, as the key's unsigned_file_links_until shows.\n- A file can be at most 25 MiB unless the deployment sets otherwise. Executables are refused, and the first bytes must match media_type.\n- The upload_url works for 15 minutes and closes after three refused uploads; then create a new upload.\n- A file serves one run. It is erased when that run's job ends, or an hour after its upload if unused.\n- An account keeps at most ten runs' worth of files no run has used yet: 100 files and 500 MiB together by default.\n- A run's file field also takes an https URL, or a data: URI of at most 512 KB.\n\n- **Callers:** an API key, an integration's API key, an MCP OAuth token or a Dashboard session.\n- **Permission:** `runs:create`.\n- **Effect:** Creates or changes something.\n- **Errors:** [`file_too_large`](/errors#file_too_large), [`file_type_refused`](/errors#file_type_refused), [`file_limit_exceeded`](/errors#file_limit_exceeded), [`sign_in_required`](/errors#sign_in_required), [`not_configured`](/errors#not_configured), and the [errors any request can get](/errors).\n\n\u003c/Accordion>"},"method":"post","type":"path","servers":["9c1ed505-2e6b-48cd-833d-f2ef9d3320d1"],"path":"/v1/files","baseUrlOptions":["https://api.pomerado.ai"],"title":"Upload a file","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","media_type"],"properties":{"name":{"type":"string","description":"The file's name, as the website will see it, for example receipt.pdf","minLength":1,"maxLength":255,"isRequired":true,"uniqueKey":"name","typeLabel":"string"},"media_type":{"type":"string","description":"The file's media type, such as application/pdf; its first bytes must match it","minLength":1,"maxLength":255,"isRequired":true,"uniqueKey":"media_type","typeLabel":"string"},"size":{"type":"integer","description":"The file's size in bytes; if given, the upload's Content-Length must match","minimum":0,"uniqueKey":"size","typeLabel":"integer"},"sha256":{"type":"string","description":"The file's SHA-256 as 64 hex characters, in either case; if given, an upload of other bytes is refused with file_digest_mismatch and stores nothing","pattern":"^[0-9a-fA-F]{64}$","uniqueKey":"sha256","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>","media_type":"\u003cstring>","size":1,"sha256":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"547786d3-12e9-4f68-a126-88a5c600b4f0":{"description":"The new file, awaiting its upload","content":{"application/json":{"schema":{"type":"object","required":["id","name","media_type","size","sha256","status","direction","job_id","created_at","expires_at","upload_url","transfer_key"],"properties":{"id":{"type":"string","description":"a file ID: file_ and 32 lowercase hex digits","examples":["file_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190"],"isRequired":true,"uniqueKey":"id","typeLabel":"string"},"name":{"type":"string","description":"The file's name, as given","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"media_type":{"type":"string","description":"The file's media type, as checked","isRequired":true,"uniqueKey":"media_type","typeLabel":"string"},"size":{"oneOf":[{"type":"number","description":"Bytes: the declared size until the upload arrives, then the size received; null when none was declared","isRequired":true,"uniqueKey":"size.oneOf.0","typeLabel":"number"},{"type":"null","description":"Bytes: the declared size until the upload arrives, then the size received; null when none was declared","isRequired":true,"uniqueKey":"size.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"size","typeLabel":"number | null"},"sha256":{"oneOf":[{"type":"string","description":"The SHA-256 of the bytes, lowercase hex, once they arrived","isRequired":true,"uniqueKey":"sha256.oneOf.0","typeLabel":"string"},{"type":"null","description":"The SHA-256 of the bytes, lowercase hex, once they arrived","isRequired":true,"uniqueKey":"sha256.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"sha256","typeLabel":"string | null"},"status":{"type":"string","enum":["awaiting_upload","ready","in_use"],"description":"awaiting_upload until its bytes arrive at upload_url, ready to pass to a run, in_use once a run took it","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"direction":{"type":"string","enum":["input","output"],"description":"input for a file sent to a run, output for one a run collected","isRequired":true,"uniqueKey":"direction","typeLabel":"enum\u003cstring>"},"job_id":{"oneOf":[{"type":"string","description":"The run's job the file is bound to: an input in use, and every output","example":"job_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190","isRequired":true,"uniqueKey":"job_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The run's job the file is bound to: an input in use, and every output","isRequired":true,"uniqueKey":"job_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"job_id","typeLabel":"string | null"},"created_at":{"type":"string","description":"a string to be decoded into a Date","isRequired":true,"uniqueKey":"created_at","typeLabel":"string"},"expires_at":{"oneOf":[{"type":"string","description":"When the file is erased unless used first; null for an input in use, which is erased when its job ends","isRequired":true,"uniqueKey":"expires_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the file is erased unless used first; null for an input in use, which is erased when its job ends","isRequired":true,"uniqueKey":"expires_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"expires_at","typeLabel":"string | null"},"upload_url":{"type":"string","description":"PUT the file's bytes here once, with Content-Type and Content-Length, and with transfer_key as the Pomerado-Transfer-Key header or the same API key or token as Authorization: Bearer. An upload without either answers unauthorized, except one made with an API key created before uploads needed a key, which works without for 30 days after that, as the key's unsigned_file_links_until shows. Valid until expires_at, 15 minutes after it was created; three refused uploads close it.","isRequired":true,"uniqueKey":"upload_url","typeLabel":"string"},"transfer_key":{"type":"string","description":"This upload's transfer key: send it as the Pomerado-Transfer-Key header on the PUT, for example from a device or worker that doesn't hold your API key. Keep it as private as the URL.","isRequired":true,"uniqueKey":"transfer_key","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"file_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190","name":"\u003cstring>","media_type":"\u003cstring>","size":123,"sha256":"\u003cstring>","status":"awaiting_upload","direction":"input","job_id":"job_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190","created_at":"\u003cstring>","expires_at":"\u003cstring>","upload_url":"\u003cstring>","transfer_key":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"44d4aa08-3bf6-461b-846c-775934d61eaf":{"description":"invalid_request","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","retryable","docs_url"],"properties":{"code":{"type":"string","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"},"docs_url":{"type":"string","isRequired":true,"uniqueKey":"error.docs_url","typeLabel":"string"},"details":{"type":"object","required":[],"properties":{},"additionalProperties":{"oneOf":[{"$id":"/schemas/unknown"}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","retryable":true,"docs_url":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"5700d7b3-f17d-4eac-b9ab-265105dd7d06":{"description":"sign_in_required, unauthorized, reauthentication_required","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","retryable","docs_url"],"properties":{"code":{"type":"string","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"},"docs_url":{"type":"string","isRequired":true,"uniqueKey":"error.docs_url","typeLabel":"string"},"details":{"type":"object","required":[],"properties":{},"additionalProperties":{"oneOf":[{"$id":"/schemas/unknown"}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","retryable":true,"docs_url":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"c02b88f2-f3c3-4aef-86d1-75807a712647":{"description":"forbidden","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","retryable","docs_url"],"properties":{"code":{"type":"string","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"},"docs_url":{"type":"string","isRequired":true,"uniqueKey":"error.docs_url","typeLabel":"string"},"details":{"type":"object","required":[],"properties":{},"additionalProperties":{"oneOf":[{"$id":"/schemas/unknown"}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","retryable":true,"docs_url":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"594023ab-7e12-4fbc-aa22-7dea0d4eb6bb":{"description":"moved_to_team","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","retryable","docs_url"],"properties":{"code":{"type":"string","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"},"docs_url":{"type":"string","isRequired":true,"uniqueKey":"error.docs_url","typeLabel":"string"},"details":{"type":"object","required":[],"properties":{},"additionalProperties":{"oneOf":[{"$id":"/schemas/unknown"}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","retryable":true,"docs_url":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"93dc14bb-1cc2-4937-9973-d778184be4e4":{"description":"file_too_large, file_limit_exceeded, request_too_large","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","retryable","docs_url"],"properties":{"code":{"type":"string","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"},"docs_url":{"type":"string","isRequired":true,"uniqueKey":"error.docs_url","typeLabel":"string"},"details":{"type":"object","required":[],"properties":{},"additionalProperties":{"oneOf":[{"$id":"/schemas/unknown"}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","retryable":true,"docs_url":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"91fb60ca-3082-4c87-85c4-662f46bc2d14":{"description":"file_type_refused","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","retryable","docs_url"],"properties":{"code":{"type":"string","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"},"docs_url":{"type":"string","isRequired":true,"uniqueKey":"error.docs_url","typeLabel":"string"},"details":{"type":"object","required":[],"properties":{},"additionalProperties":{"oneOf":[{"$id":"/schemas/unknown"}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","retryable":true,"docs_url":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"b96a6015-e196-4b6d-b0fa-539d9737cfc1":{"description":"internal_error","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","retryable","docs_url"],"properties":{"code":{"type":"string","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"},"docs_url":{"type":"string","isRequired":true,"uniqueKey":"error.docs_url","typeLabel":"string"},"details":{"type":"object","required":[],"properties":{},"additionalProperties":{"oneOf":[{"$id":"/schemas/unknown"}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","retryable":true,"docs_url":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"e704b30c-045b-4445-a080-9656b5f0d46f":{"description":"not_configured","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","retryable","docs_url"],"properties":{"code":{"type":"string","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"},"docs_url":{"type":"string","isRequired":true,"uniqueKey":"error.docs_url","typeLabel":"string"},"details":{"type":"object","required":[],"properties":{},"additionalProperties":{"oneOf":[{"$id":"/schemas/unknown"}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","retryable":true,"docs_url":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"ffd63ffa-b839-41ad-9d0b-2ec20170f092":{"description":"temporarily_unavailable","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","retryable","docs_url"],"properties":{"code":{"type":"string","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"},"docs_url":{"type":"string","isRequired":true,"uniqueKey":"error.docs_url","typeLabel":"string"},"details":{"type":"object","required":[],"properties":{},"additionalProperties":{"oneOf":[{"$id":"/schemas/unknown"}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","retryable":true,"docs_url":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"3bcf562e-88fd-4e0f-9041-2e215c6ba7c2":{"bearer":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearer"}}},"servers":{"9c1ed505-2e6b-48cd-833d-f2ef9d3320d1":{"url":"https://api.pomerado.ai"}},"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"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"pomerado","siteName":"Pomerado","title":"Upload a file - Pomerado","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-24T20:44:59.710Z","originalFileLocation":"api-reference/files/upload-a-file.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create a file for a run\u0026#x27;s input and get a one-time upload URL.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Pomerado\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/pomerado/OK4DStTtADU9WYMj/_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/pomerado/OK4DStTtADU9WYMj/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/pomerado/OK4DStTtADU9WYMj/_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/pomerado/OK4DStTtADU9WYMj/_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/pomerado/OK4DStTtADU9WYMj/_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/pomerado/OK4DStTtADU9WYMj/_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/pomerado/OK4DStTtADU9WYMj/_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/pomerado/OK4DStTtADU9WYMj/_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/pomerado/OK4DStTtADU9WYMj/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Upload a file - Pomerado\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a file for a run\u0026#x27;s input and get a one-time upload URL.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Pomerado\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.pomerado.ai/api-reference/files/upload-a-file\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://pomerado.mintlify.site/_mintlify/api/og/v2?division=Files\u0026amp;title=Upload+a+file\u0026amp;description=Create+a+file+for+a+run%27s+input+and+get+a+one-time+upload+URL.\u0026amp;theme=43a9dbd260677a50f1d670ed\u0026amp;signature=8dd31cb257140af7efdbfc2eecaa4ca3e47afdaf5a9b6c9d802885f96cb72075\">\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=\"Upload a file - Pomerado\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a file for a run\u0026#x27;s input and get a one-time upload URL.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://pomerado.mintlify.site/_mintlify/api/og/v2?division=Files\u0026amp;title=Upload+a+file\u0026amp;description=Create+a+file+for+a+run%27s+input+and+get+a+one-time+upload+URL.\u0026amp;theme=43a9dbd260677a50f1d670ed\u0026amp;signature=8dd31cb257140af7efdbfc2eecaa4ca3e47afdaf5a9b6c9d802885f96cb72075\">\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/pomerado/OK4DStTtADU9WYMj/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Pomerado\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#c71f3e\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.pomerado.ai/api-reference/files/upload-a-file\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/files/upload-a-file.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.pomerado.ai/#organization\",\"name\":\"Pomerado\",\"url\":\"https://docs.pomerado.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/pomerado/MWnuKCF6pT3dH-IM/logo/light.svg?fit=max\u0026auto=format\u0026n=MWnuKCF6pT3dH-IM\u0026q=85\u0026s=b1723a79805dcc9e0c0982901abf76fd\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.pomerado.ai#website\",\"name\":\"Pomerado\",\"url\":\"https://docs.pomerado.ai\",\"publisher\":{\"@id\":\"https://docs.pomerado.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.pomerado.ai/api-reference/files/upload-a-file#webpage\",\"url\":\"https://docs.pomerado.ai/api-reference/files/upload-a-file\",\"name\":\"Upload a file\",\"description\":\"Create a file for a run's input and get a one-time upload URL.\",\"dateModified\":\"2026-11-24T20:44:59.710Z\",\"isPartOf\":{\"@id\":\"https://docs.pomerado.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.pomerado.ai/api-reference/files/upload-a-file#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.pomerado.ai/api-reference/files/upload-a-file#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Files\",\"item\":\"https://docs.pomerado.ai/api-reference/files/get-a-file\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Upload a file\",\"item\":\"https://docs.pomerado.ai/api-reference/files/upload-a-file\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.pomerado.ai/api-reference/files/upload-a-file#apireference\",\"headline\":\"Upload a file\",\"name\":\"Upload a file\",\"description\":\"Create a file for a run's input and get a one-time upload URL.\",\"url\":\"https://docs.pomerado.ai/api-reference/files/upload-a-file\",\"mainEntityOfPage\":{\"@id\":\"https://docs.pomerado.ai/api-reference/files/upload-a-file#webpage\"},\"dateModified\":\"2026-11-24T20:44:59.710Z\",\"publisher\":{\"@id\":\"https://docs.pomerado.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.pomerado.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Pomerado\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Pomerado\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/files/upload-a-file.md","siteName":"Pomerado","nav":{"global":null,"anchors":[{"anchor":"Docs","pages":[{"title":"Docs","href":""}]},{"anchor":"API reference","groups":[{"group":"Overview","pages":[{"title":"API reference","sidebarTitle":"Introduction","href":"/api-reference/introduction"}]},{"group":"Account","pages":[{"title":"Get your account","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/account","href":"/api-reference/account/get-your-account"},{"title":"Set your name","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /v1/account/name","href":"/api-reference/account/set-your-name"},{"title":"Get your preferences","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/account/preferences","href":"/api-reference/account/get-your-preferences"},{"title":"Change your preferences","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/account/preferences","href":"/api-reference/account/change-your-preferences"},{"title":"Set your time zone","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /v1/account/time-zone","href":"/api-reference/account/set-your-time-zone"},{"title":"Get your account's privacy settings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/account/privacy","href":"/api-reference/account/get-your-accounts-privacy-settings"},{"title":"Change your account's privacy settings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/account/privacy","href":"/api-reference/account/change-your-accounts-privacy-settings"},{"title":"Get your card page's brand","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/account/card-page","href":"/api-reference/account/get-your-card-pages-brand"},{"title":"Set your card page's brand","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/account/card-page","href":"/api-reference/account/set-your-card-pages-brand"}]},{"group":"Runs","pages":[{"title":"List the runs your team started","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/runs","href":"/api-reference/runs/list-the-runs-your-team-started"},{"title":"Run a tool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/runs","href":"/api-reference/runs/run-a-tool"},{"title":"Run a read-only tool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/runs/read-only","href":"/api-reference/runs/run-a-read-only-tool"},{"title":"Run an integration's tool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/integrations/{id}/tools/{tool_id}/runs","href":"/api-reference/runs/run-an-integrations-tool"},{"title":"Run a read-only tool on a list of inputs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/runs/read-only/batch","href":"/api-reference/runs/run-a-read-only-tool-on-a-list-of-inputs"},{"title":"Run an integration's read tool on a list of inputs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/integrations/{id}/tools/{tool_id}/runs/batch","href":"/api-reference/runs/run-an-integrations-read-tool-on-a-list-of-inputs"},{"title":"Get a batch","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/batches/{id}","href":"/api-reference/runs/get-a-batch"},{"title":"Cancel a batch","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/batches/{id}/cancel","href":"/api-reference/runs/cancel-a-batch"},{"title":"Get a run's log","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/runs/{id}/log","href":"/api-reference/runs/get-a-runs-log"}]},{"group":"Builds","pages":[{"title":"Build a tool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/builds","href":"/api-reference/builds/build-a-tool"}]},{"group":"Build ideas","pages":[{"title":"Get build ideas","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/suggestions","href":"/api-reference/suggestions/get-build-ideas"}]},{"group":"Jobs","pages":[{"title":"List jobs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/jobs","href":"/api-reference/jobs/list-jobs"},{"title":"Get a job","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/jobs/{id}","href":"/api-reference/jobs/get-a-job"},{"title":"Answer a job's question","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/jobs/{id}/answers","href":"/api-reference/jobs/answer-a-jobs-question"},{"title":"Cancel a job","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/jobs/{id}/cancel","href":"/api-reference/jobs/cancel-a-job"},{"title":"Resume a paused build","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/jobs/{id}/resume","href":"/api-reference/jobs/resume-a-paused-build"},{"title":"Get a one-time URL to send this job's card from your server","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/jobs/{id}/card-ingest","href":"/api-reference/jobs/get-a-one-time-url-to-send-this-jobs-card-from-your-server"},{"title":"Get a build's activity","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/jobs/{id}/activity","href":"/api-reference/jobs/get-a-builds-activity"}]},{"group":"Tools and integrations","pages":[{"title":"Tools and integrations","sidebarTitle":"Overview","href":"/api-reference/tools-and-integrations"},{"title":"List tools","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/tools","href":"/api-reference/tools/list-tools"},{"title":"Get a tool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/tools/{id}","href":"/api-reference/tools/get-a-tool"},{"title":"Delete a tool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/tools/{id}","href":"/api-reference/tools/delete-a-tool"},{"title":"Request a change to a tool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/tools/{id}/changes","href":"/api-reference/tools/request-a-change-to-a-tool"},{"title":"List integrations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/integrations","href":"/api-reference/integrations/list-integrations"},{"title":"List your team's integrations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/integrations/team","href":"/api-reference/integrations/list-your-teams-integrations"},{"title":"Get an integration","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/integrations/{id}","href":"/api-reference/integrations/get-an-integration"},{"title":"Set integration visibility","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /v1/integrations/{id}/visibility","href":"/api-reference/integrations/set-integration-visibility"},{"title":"Delete an integration","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/integrations/{id}/tools","href":"/api-reference/integrations/delete-an-integration"},{"title":"Get an integration's OpenAPI document","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/integrations/{id}/openapi.json","href":"/api-reference/integrations/get-an-integrations-openapi-document"},{"title":"Get an integration's reference","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/integrations/{id}/reference","href":"/api-reference/integrations/get-an-integrations-reference"},{"title":"Add an integration to My integrations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /v1/integrations/{id}/added","href":"/api-reference/integrations/add-an-integration-to-my-integrations"},{"title":"Remove an added integration","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/integrations/{id}/added","href":"/api-reference/integrations/remove-an-added-integration"},{"title":"Get MCP client setup","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/connect","href":"/api-reference/connect/get-mcp-client-setup"},{"title":"List your team's code","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/code","href":"/api-reference/code/list-your-teams-code"},{"title":"Get a tool's code","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/code/{id}","href":"/api-reference/code/get-a-tools-code"},{"title":"Download a tool's code","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/code/{id}/export","href":"/api-reference/code/download-a-tools-code"},{"title":"Get a download link for a tool's code","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/code/{id}/export-link","href":"/api-reference/code/get-a-download-link-for-a-tools-code"},{"title":"Save a file in a tool's draft","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /v1/code/{id}/draft","href":"/api-reference/code/save-a-file-in-a-tools-draft"},{"title":"Discard a tool's draft","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/code/{id}/draft","href":"/api-reference/code/discard-a-tools-draft"},{"title":"Restore an earlier version of a tool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/code/{id}/versions/{number}/restore","href":"/api-reference/code/restore-an-earlier-version-of-a-tool"},{"title":"Run a tool's code","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/code/{id}/runs","href":"/api-reference/code/run-a-tools-code"},{"title":"Read a run's output","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/code/runs/{id}/output","href":"/api-reference/code/read-a-runs-output"},{"title":"Publish a tool's draft","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/code/{id}/draft/publish","href":"/api-reference/code/publish-a-tools-draft"}]},{"group":"Shapes","pages":[{"title":"List your shapes of a tool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/tools/{id}/shapes","href":"/api-reference/shapes/list-your-shapes-of-a-tool"},{"title":"Get a shape","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/shapes/{id}","href":"/api-reference/shapes/get-a-shape"},{"title":"Make a shape","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/tools/{id}/shapes","href":"/api-reference/shapes/make-a-shape"},{"title":"Change a shape","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/shapes/{id}","href":"/api-reference/shapes/change-a-shape"},{"title":"Delete a shape","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/shapes/{id}","href":"/api-reference/shapes/delete-a-shape"},{"title":"Restore a version of a shape","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/shapes/{id}/restore","href":"/api-reference/shapes/restore-a-version-of-a-shape"}]},{"group":"Files","pages":[{"title":"Get a file","description":"Get a file's name, type, size, SHA-256 and status, without its bytes.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/files/{id}","href":"/api-reference/files/get-a-file"},{"title":"Upload a file","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/files","href":"/api-reference/files/upload-a-file"},{"title":"Delete a file","description":"Erase a file now, before it expires.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/files/{id}","href":"/api-reference/files/delete-a-file"}]},{"group":"Webhooks","pages":[{"title":"List webhooks","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/webhooks","href":"/api-reference/webhooks/list-webhooks"},{"title":"Get a webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/webhooks/{id}","href":"/api-reference/webhooks/get-a-webhook"},{"title":"Create a webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/webhooks","href":"/api-reference/webhooks/create-a-webhook"},{"title":"Update a webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/webhooks/{id}","href":"/api-reference/webhooks/update-a-webhook"},{"title":"Delete a webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/webhooks/{id}","href":"/api-reference/webhooks/delete-a-webhook"},{"title":"Test a webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/webhooks/{id}/test","href":"/api-reference/webhooks/test-a-webhook"},{"title":"Rotate a webhook secret","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/webhooks/{id}/rotate-secret","href":"/api-reference/webhooks/rotate-a-webhook-secret"}]},{"group":"Saved logins","pages":[{"title":"List pending logins","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/logins/pending","href":"/api-reference/logins/list-pending-logins"},{"title":"List saved logins","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/logins","href":"/api-reference/logins/list-saved-logins"},{"title":"Get a saved login","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/logins/{id}","href":"/api-reference/logins/get-a-saved-login"},{"title":"Save a login","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/logins","href":"/api-reference/logins/save-a-login"},{"title":"Change a saved login","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/logins/{id}","href":"/api-reference/logins/change-a-saved-login"},{"title":"Delete a saved login","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/logins/{id}","href":"/api-reference/logins/delete-a-saved-login"},{"title":"Import saved logins","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/logins/import","href":"/api-reference/logins/import-saved-logins"},{"title":"Get a pending login","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/logins/pending/{id}","href":"/api-reference/logins/get-a-pending-login"},{"title":"Cancel a pending login","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/logins/pending/{id}","href":"/api-reference/logins/cancel-a-pending-login"},{"title":"Reveal a saved login","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/logins/{id}/reveal","href":"/api-reference/logins/reveal-a-saved-login"}]},{"group":"2FA","pages":[{"title":"Replace recovery codes","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /v1/logins/{id}/recovery-codes","href":"/api-reference/two_factor/replace-recovery-codes"},{"title":"Get an authenticator code","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/logins/{id}/authenticator-code","href":"/api-reference/two_factor/get-an-authenticator-code"},{"title":"Get a phone number","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/logins/{id}/sms-number","href":"/api-reference/two_factor/get-a-phone-number"},{"title":"Assign a phone number","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/logins/{id}/sms-number","href":"/api-reference/two_factor/assign-a-phone-number"},{"title":"Verify a phone number","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/logins/{id}/sms-number/verify","href":"/api-reference/two_factor/verify-a-phone-number"},{"title":"Remove a phone number","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/logins/{id}/sms-number","href":"/api-reference/two_factor/remove-a-phone-number"}]},{"group":"Login access","pages":[{"title":"Get login access","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/logins/{id}/access","href":"/api-reference/login_access/get-login-access"},{"title":"Change login access","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /v1/logins/{id}/access","href":"/api-reference/login_access/change-login-access"}]},{"group":"Team","pages":[{"title":"List team members","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/team/members","href":"/api-reference/team/list-team-members"},{"title":"List invitations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/team/invitations","href":"/api-reference/team/list-invitations"},{"title":"Get team settings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/team","href":"/api-reference/team/get-team-settings"},{"title":"Change a member's role","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/team/members/{user_id}","href":"/api-reference/team/change-a-members-role"},{"title":"Remove a team member","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/team/members/{user_id}","href":"/api-reference/team/remove-a-team-member"},{"title":"Invite team members","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/team/invitations","href":"/api-reference/team/invite-team-members"},{"title":"Resend an invitation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/team/invitations/{id}/resend","href":"/api-reference/team/resend-an-invitation"},{"title":"Revoke an invitation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/team/invitations/{id}","href":"/api-reference/team/revoke-an-invitation"},{"title":"Get the team's intent setting","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/team/intent-settings","href":"/api-reference/team/get-the-teams-intent-setting"},{"title":"Change the team's intent setting","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/team/intent-settings","href":"/api-reference/team/change-the-teams-intent-setting"}]},{"group":"Single sign-on","pages":[{"title":"Get the team's single sign-on setup","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/team/sso","href":"/api-reference/sso/get-the-teams-single-sign-on-setup"},{"title":"Open the team's Admin Portal","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/team/sso/setup-links","href":"/api-reference/sso/open-the-teams-admin-portal"},{"title":"Email your IT admin a setup link","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/team/sso/it-admin-invitations","href":"/api-reference/sso/email-your-it-admin-a-setup-link"}]},{"group":"Audit log","pages":[{"title":"List your team's audit log","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/audit-events","href":"/api-reference/audit/list-your-teams-audit-log"}]},{"group":"API keys","pages":[{"title":"List API keys","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/api-keys","href":"/api-reference/api_keys/list-api-keys"},{"title":"Create an API key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/api-keys","href":"/api-reference/api_keys/create-an-api-key"},{"title":"Revoke an API key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/api-keys/{id}","href":"/api-reference/api_keys/revoke-an-api-key"},{"title":"Rotate an API key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/api-keys/{id}/rotate","href":"/api-reference/api_keys/rotate-an-api-key"},{"title":"Mark an API key copied","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/api-keys/{id}/copied","href":"/api-reference/api_keys/mark-an-api-key-copied"}]},{"group":"Connected apps","pages":[{"title":"List connected apps","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/connected-apps","href":"/api-reference/connected_apps/list-connected-apps"},{"title":"Disconnect an app","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/connected-apps/{id}","href":"/api-reference/connected_apps/disconnect-an-app"}]},{"group":"Usage and quota","pages":[{"title":"Get your usage","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/usage","href":"/api-reference/usage/get-your-usage"},{"title":"Get your team's spend this billing period","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/usage/spend","href":"/api-reference/usage/get-your-teams-spend-this-billing-period"},{"title":"Get your plan limits","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/quota","href":"/api-reference/quota/get-your-plan-limits"}]},{"group":"Spend controls","pages":[{"title":"Get your team's daily cap and overage budget","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/usage/spend-controls","href":"/api-reference/spend_controls/get-your-teams-daily-cap-and-overage-budget"},{"title":"Change your team's daily cap or overage budget","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/usage/spend-controls","href":"/api-reference/spend_controls/change-your-teams-daily-cap-or-overage-budget"},{"title":"List your team's usage alerts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/usage/alerts","href":"/api-reference/usage_alerts/list-your-teams-usage-alerts"},{"title":"Add a usage alert","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/usage/alerts","href":"/api-reference/usage_alerts/add-a-usage-alert"},{"title":"Change a usage alert","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/usage/alerts/{alert_id}","href":"/api-reference/usage_alerts/change-a-usage-alert"},{"title":"Delete a usage alert","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/usage/alerts/{alert_id}","href":"/api-reference/usage_alerts/delete-a-usage-alert"},{"title":"Get your usage summary email","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/usage/summary","href":"/api-reference/usage_summary/get-your-usage-summary-email"},{"title":"Change your usage summary email","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/usage/summary","href":"/api-reference/usage_summary/change-your-usage-summary-email"}]},{"group":"Billing","pages":[{"title":"Get your subscription","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/billing","href":"/api-reference/billing/get-your-subscription"},{"title":"Start a Premium checkout","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/billing/checkout","href":"/api-reference/billing/start-a-premium-checkout"},{"title":"Open the billing portal","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/billing/portal","href":"/api-reference/billing/open-the-billing-portal"},{"title":"Redeem a free Premium code","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/billing/redeem","href":"/api-reference/billing/redeem-a-free-premium-code"}]},{"group":"Payer profiles","pages":[{"title":"List payer profiles","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/payer-profiles","href":"/api-reference/payer_profiles/list-payer-profiles"},{"title":"Get a payer profile","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/payer-profiles/{id}","href":"/api-reference/payer_profiles/get-a-payer-profile"},{"title":"Create a payer profile","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/payer-profiles","href":"/api-reference/payer_profiles/create-a-payer-profile"},{"title":"Update a payer profile","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/payer-profiles/{id}","href":"/api-reference/payer_profiles/update-a-payer-profile"},{"title":"Delete a payer profile","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/payer-profiles/{id}","href":"/api-reference/payer_profiles/delete-a-payer-profile"},{"title":"Add a payer address","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/payer-profiles/{id}/addresses","href":"/api-reference/payer_addresses/add-a-payer-address"},{"title":"Update a payer address","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/payer-profiles/{id}/addresses/{address_id}","href":"/api-reference/payer_addresses/update-a-payer-address"},{"title":"Delete a payer address","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/payer-profiles/{id}/addresses/{address_id}","href":"/api-reference/payer_addresses/delete-a-payer-address"},{"title":"List payment methods","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/payer-profiles/{id}/payment-methods","href":"/api-reference/payment_methods/list-payment-methods"},{"title":"Add a payment method","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/payer-profiles/{id}/payment-methods","href":"/api-reference/payment_methods/add-a-payment-method"},{"title":"Delete a payment method","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/payer-profiles/{id}/payment-methods/{payment_method_id}","href":"/api-reference/payment_methods/delete-a-payment-method"}]},{"group":"Problem reports","pages":[{"title":"Report a problem","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/issue-reports","href":"/api-reference/issue_reports/report-a-problem"}]}]},{"anchor":"MCP reference","pages":[{"title":"MCP reference","href":"/mcp-reference/conventions"}]},{"anchor":"Errors","pages":[{"title":"Errors","href":"/errors"}]}]},"basePath":"","title":"Upload a file - Pomerado","deploymentId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","buildId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CalkZbx8.js","snippetPresets-DtvvunBK.js","utils-Bn5byECU.js","style-to-object-BY3JEAdk.js","utils-DOTAoFcT.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-CDauU9aU.js","conditional-requirements-CFM0id0Q.js","cloneDeep-k2aHAqp5.js","_Uint8Array-CQuRedKT.js","isObject-FP1Yky1u.js","ApiExamples-CSBS2nDe.js","usePlaygroundInputsStore-BkN7uKke.js","shallow-6IMgYiEa.js","isEqual-DicuCknl.js","CodeSnippets-C268fsRY.js","CodeSnippet-BBA8eWiP.js","getApiPlaygroundDisplay-DMK5GRGS.js","Page-Dz3zehSO.js","api-description-markdown-DwoksVHI.js","DynamicMarkdown-XsrWkK-b.js","SectionHeading-AR_EzDYe.js","MethodPill-CvOL8UTX.js","getPastedJson-BazkMjRw.js","Check2Icon-BL_xILK9.js","axios-CsQoIw0U.js","Markdown-CX8Sr5UZ.js","AssistantPageLink-B3VcLrB0.js","dist-WDJo6xkj.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}