Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
id
string
required
a tool ID: tool_ and 32 lowercase hex digits
Example:
"tool_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190"
Query Parameters
environment
string
On a Business team with environments: the key of the environment whose version and draft to use, such as staging. Left out, the environment your API key or MCP URL is for, else production
Response
The zip
file_name
string
required
A name to save it under, such as acme-travel-search-flights-v7.zip
media_type
enum<string>
required
Available options:
application/zip
size
integer
required
The zip's size in bytes
content_base64
string
required
The zip, base64-encoded
{"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":"6b0fd0c148655a78602b7641","clientVersion":"0.0.4410","searchFilterCounts":[{"language":"default","tag":"API reference","count":149},{"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":"Environments","count":11},{"language":"default","tag":"Saved logins","count":11},{"language":"default","tag":"Payer profiles","count":11}]},"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":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"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}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/code/download-a-tools-code","slug":"/api-reference/code/download-a-tools-code","pageMetadata":{"title":"Download a tool's code","description":"Download the code a tool your team built runs now, as a zip of its live version's files.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/code/{id}/export","href":"/api-reference/code/download-a-tools-code","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: \"Download the code a tool your team built runs now, as a zip of its live version’s files.\"\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:`Business accounts only.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`content_base64 holds the zip; decode it and save it as file_name.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`It holds your team’s files and the files Pomerado added to run them, and nothing else.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`environment downloads the version the tool runs in that environment.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Callers:`}),` an 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:`tools:read`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Effect:`}),` Changes nothing.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Errors:`}),` `,_jsx(_components.a,{href:`/errors#business_account_required`,children:_jsx(_components.code,{children:`business_account_required`})}),`, `,_jsx(_components.a,{href:`/errors#not_found`,children:_jsx(_components.code,{children:`not_found`})}),`, `,_jsx(_components.a,{href:`/errors#environment_required`,children:_jsx(_components.code,{children:`environment_required`})}),`, `,_jsx(_components.a,{href:`/errors#environment_not_found`,children:_jsx(_components.code,{children:`environment_not_found`})}),`, 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":"Download a tool's code","description":"Download the code a tool your team built runs now, as a zip of its live version's files.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/code/{id}/export","href":"/api-reference/code/download-a-tools-code","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"code.export","tags":["code"],"summary":"Download a tool's code","description":"Download the code a tool your team built runs now, as a zip of its live version's files.","parameters":["e8da8efa-6a10-4ddb-9deb-a655a25adf99","c4ebda77-e7b3-4d4b-a672-810c366b2946"],"responses":{"200":"d267b2f6-f864-4201-9259-df3419b8ec81","400":"9569e7c2-2b48-450a-80d2-7c2ff32d5d23","401":"5c55d3cd-cec4-404c-bd46-a338768fec29","403":"eddcae7d-7749-4b26-82d8-f1a6397e5cf4","404":"5da088a1-373d-461b-9f6d-8624433ba7a5","409":"3e04d2c5-c5fa-4423-9b19-21f24c2a6a23","429":"03bf8ba1-8d32-47bb-b6f1-a73d26329eba","500":"caad3308-5511-4613-ae5e-31bcf1381df3","503":"8178231b-557d-4ff6-a76d-b45d16906271"},"security":["233d25ef-d652-462e-888c-f7f32cd36805"],"x-pomerado-effect":"read","x-pomerado-callers":["session","oauth","api_key"],"x-pomerado-permission":"tools:read","x-mint":{"content":"\u003cAccordion title=\"Details\">\n\n- Business accounts only.\n- content_base64 holds the zip; decode it and save it as file_name.\n- It holds your team's files and the files Pomerado added to run them, and nothing else.\n- environment downloads the version the tool runs in that environment.\n\n- **Callers:** an API key, an MCP OAuth token or a Dashboard session.\n- **Permission:** `tools:read`.\n- **Effect:** Changes nothing.\n- **Errors:** [`business_account_required`](/errors#business_account_required), [`not_found`](/errors#not_found), [`environment_required`](/errors#environment_required), [`environment_not_found`](/errors#environment_not_found), and the [errors any request can get](/errors).\n\n\u003c/Accordion>"},"method":"get","type":"path","servers":["5b9c2adb-00d4-4843-ac4c-c62d1b9431ef"],"path":"/v1/code/{id}/export","baseUrlOptions":["https://api.pomerado.ai"],"title":"Download a tool's code","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"e8da8efa-6a10-4ddb-9deb-a655a25adf99":{"name":"id","in":"path","required":true,"description":"a tool ID: tool_ and 32 lowercase hex digits","schema":{"type":"string","examples":["tool_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190"],"isRequired":true,"description":"a tool ID: tool_ and 32 lowercase hex digits","uniqueKey":"","typeLabel":"string"}},"c4ebda77-e7b3-4d4b-a672-810c366b2946":{"name":"environment","in":"query","required":false,"description":"On a Business team with environments: the key of the environment whose version and draft to use, such as staging. Left out, the environment your API key or MCP URL is for, else production","schema":{"type":"string","isRequired":false,"description":"On a Business team with environments: the key of the environment whose version and draft to use, such as staging. Left out, the environment your API key or MCP URL is for, else production","uniqueKey":"","typeLabel":"string"}}},"responses":{"d267b2f6-f864-4201-9259-df3419b8ec81":{"description":"The zip","content":{"application/json":{"schema":{"type":"object","required":["file_name","media_type","size","content_base64"],"properties":{"file_name":{"type":"string","description":"A name to save it under, such as acme-travel-search-flights-v7.zip","isRequired":true,"uniqueKey":"file_name","typeLabel":"string"},"media_type":{"type":"string","enum":["application/zip"],"isRequired":true,"uniqueKey":"media_type","typeLabel":"enum\u003cstring>"},"size":{"type":"integer","description":"The zip's size in bytes","isRequired":true,"uniqueKey":"size","typeLabel":"integer"},"content_base64":{"type":"string","description":"The zip, base64-encoded","isRequired":true,"uniqueKey":"content_base64","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"file_name":"\u003cstring>","media_type":"application/zip","size":123,"content_base64":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"9569e7c2-2b48-450a-80d2-7c2ff32d5d23":{"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"},"5c55d3cd-cec4-404c-bd46-a338768fec29":{"description":"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"},"eddcae7d-7749-4b26-82d8-f1a6397e5cf4":{"description":"business_account_required, environment_not_allowed, 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"},"5da088a1-373d-461b-9f6d-8624433ba7a5":{"description":"not_found, environment_not_found","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"},"3e04d2c5-c5fa-4423-9b19-21f24c2a6a23":{"description":"environment_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"},"03bf8ba1-8d32-47bb-b6f1-a73d26329eba":{"description":"server_busy","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"},"caad3308-5511-4613-ae5e-31bcf1381df3":{"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"},"8178231b-557d-4ff6-a76d-b45d16906271":{"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":{"233d25ef-d652-462e-888c-f7f32cd36805":{"bearer":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearer"}}},"servers":{"5b9c2adb-00d4-4843-ac4c-c62d1b9431ef":{"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":"Download a tool's code - Pomerado","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-02T08:03:20.242Z","originalFileLocation":"api-reference/code/download-a-tools-code.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=\"Download the code a tool your team built runs now, as a zip of its live version\u0026#x27;s files.\">\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=\"Download a tool\u0026#x27;s code - Pomerado\">\u003cmeta data-mint-head property=\"og:description\" content=\"Download the code a tool your team built runs now, as a zip of its live version\u0026#x27;s files.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Pomerado\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.pomerado.ai/api-reference/code/download-a-tools-code\">\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=Tools+and+integrations\u0026amp;title=Download+a+tool%27s+code\u0026amp;description=Download+the+code+a+tool+your+team+built+runs+now%2C+as+a+zip+of+its+live+version%27s+files.\u0026amp;theme=43a9dbd260677a50f1d670ed\u0026amp;signature=544122673b24062535842b87c0e2be631d11f4dc142db1a9152afc96c52d297a\">\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=\"Download a tool\u0026#x27;s code - Pomerado\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Download the code a tool your team built runs now, as a zip of its live version\u0026#x27;s files.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://pomerado.mintlify.site/_mintlify/api/og/v2?division=Tools+and+integrations\u0026amp;title=Download+a+tool%27s+code\u0026amp;description=Download+the+code+a+tool+your+team+built+runs+now%2C+as+a+zip+of+its+live+version%27s+files.\u0026amp;theme=43a9dbd260677a50f1d670ed\u0026amp;signature=544122673b24062535842b87c0e2be631d11f4dc142db1a9152afc96c52d297a\">\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/code/download-a-tools-code\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/code/download-a-tools-code.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/code/download-a-tools-code#webpage\",\"url\":\"https://docs.pomerado.ai/api-reference/code/download-a-tools-code\",\"name\":\"Download a tool's code\",\"description\":\"Download the code a tool your team built runs now, as a zip of its live version's files.\",\"dateModified\":\"2026-12-02T08:03:20.242Z\",\"isPartOf\":{\"@id\":\"https://docs.pomerado.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.pomerado.ai/api-reference/code/download-a-tools-code#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.pomerado.ai/api-reference/code/download-a-tools-code#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Tools and integrations\",\"item\":\"https://docs.pomerado.ai/api-reference/tools-and-integrations\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Download a tool's code\",\"item\":\"https://docs.pomerado.ai/api-reference/code/download-a-tools-code\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.pomerado.ai/api-reference/code/download-a-tools-code#apireference\",\"headline\":\"Download a tool's code\",\"name\":\"Download a tool's code\",\"description\":\"Download the code a tool your team built runs now, as a zip of its live version's files.\",\"url\":\"https://docs.pomerado.ai/api-reference/code/download-a-tools-code\",\"mainEntityOfPage\":{\"@id\":\"https://docs.pomerado.ai/api-reference/code/download-a-tools-code#webpage\"},\"dateModified\":\"2026-12-02T08:03:20.242Z\",\"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/code/download-a-tools-code.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":"Count your team's runs per login, tool or integration","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/runs/stats","href":"/api-reference/runs/count-your-teams-runs-per-login-tool-or-integration"},{"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","description":"Get the files of the code a tool your team built runs now, with the tool's versions and your team's draft of it.","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","description":"Get a short-lived link that downloads the code a tool your team built runs now, as a zip of its live version's files, for a coding agent or anything else you give it to.","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","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","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":"Clear a login's account lock","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/logins/{id}/clear-lock","href":"/api-reference/logins/clear-a-logins-account-lock"},{"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":"Environments","pages":[{"title":"List environments","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/environments","href":"/api-reference/environments/list-environments"},{"title":"Get an environment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/environments/{key}","href":"/api-reference/environments/get-an-environment"},{"title":"Delete an environment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/environments/{key}","href":"/api-reference/environments/delete-an-environment"},{"title":"Add an environment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/environments","href":"/api-reference/environments/add-an-environment"},{"title":"Rename an environment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/environments/{key}","href":"/api-reference/environments/rename-an-environment"},{"title":"Change an environment's settings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/environments/{key}/settings","href":"/api-reference/environments/change-an-environments-settings"},{"title":"Compare a tool between environments","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/tools/{tool_id}/compare","href":"/api-reference/environments/compare-a-tool-between-environments"},{"title":"Push, pull or merge a tool between environments","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/tools/{tool_id}/promote","href":"/api-reference/environments/push-pull-or-merge-a-tool-between-environments"},{"title":"Roll a tool back in an environment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/tools/{tool_id}/environments/{key}/rollback","href":"/api-reference/environments/roll-a-tool-back-in-an-environment"},{"title":"List a tool's history in an environment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/tools/{tool_id}/environments/{key}/history","href":"/api-reference/environments/list-a-tools-history-in-an-environment"},{"title":"Push, pull or merge every tool of an integration","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/integrations/{id}/promote","href":"/api-reference/environments/push-pull-or-merge-every-tool-of-an-integration"}]},{"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"},{"title":"Export your team's audit log as CSV","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/audit-events/export","href":"/api-reference/audit/export-your-teams-audit-log-as-csv"}]},{"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":"Download a tool's code - Pomerado","deploymentId":"dpl_3VZr4zL4q2wbintGwWjSCGUgnuP7","buildId":"dpl_3VZr4zL4q2wbintGwWjSCGUgnuP7","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DUG0fxZu.js","snippetPresets-Ba5aWAdQ.js","utils-GxQLQihZ.js","style-to-object-BY3JEAdk.js","utils-WKMM_gjD.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Bo9LYdaA.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DwYjaFhs.js","_Uint8Array-DDE2Hehm.js","isObject-FP1Yky1u.js","ApiExamples-DhR-5ORn.js","usePlaygroundInputsStore-BaYqfAgH.js","shallow-BC7UwQwD.js","isEqual-gcN6MEQu.js","CodeSnippets-B8P54LrN.js","CodeSnippet-Czwn5OJE.js","use-playground-group-access-C3A6I116.js","Page-CUkc1DBo.js","api-description-markdown-CDE0Fpj5.js","DynamicMarkdown-F4EfLno9.js","SectionHeading-DMe18In2.js","MethodPill-CW7tTaiB.js","getPastedJson-DB5smC0Q.js","Check2Icon-DDdveNjm.js","axios-CsQoIw0U.js","Markdown-BLge-GTN.js","AssistantPageLink-BFI2wFhH.js","dist-C1RpOC6K.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}