{
"error": "Give the key a name of up to 64 characters"
}
{
"error": "Missing or invalid API key. Send \"Authorization: Bearer <key>\" with a key from https://www.morphllm.com/dashboard/api-keys"
}
{
"error": "An organization admin must reserve compute. Use an API key created by an admin of this organization."
}
{
"error": "Reservation not found. List yours with GET /api/v1/compute/reservations."
}
{
"error": "That key is already on this cluster"
}
Overview
Adds a public key to every node of a reservation; the write behind morph compute keys add. The key is returned as applying. Added before the nodes are handed over, it goes on with the handover.Organization keys require an organization admin.
{
"error": "Give the key a name of up to 64 characters"
}
{
"error": "Missing or invalid API key. Send \"Authorization: Bearer <key>\" with a key from https://www.morphllm.com/dashboard/api-keys"
}
{
"error": "An organization admin must reserve compute. Use an API key created by an admin of this organization."
}
{
"error": "Reservation not found. List yours with GET /api/v1/compute/reservations."
}
{
"error": "That key is already on this cluster"
}
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Morph Documentation","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/morph-555d6c14/lwaqk6ujzMJV1czI/logo/light.svg?fit=max\u0026auto=format\u0026n=lwaqk6ujzMJV1czI\u0026q=85\u0026s=cd5a33b1dd765106a68d6f487a1e20f1","dark":"https://mintcdn.com/morph-555d6c14/lwaqk6ujzMJV1czI/logo/dark.svg?fit=max\u0026auto=format\u0026n=lwaqk6ujzMJV1czI\u0026q=85\u0026s=c1c314250fc34da822ffa325af1cc60e","href":"https://morphllm.com"},"favicon":"https://mintcdn.com/morph-555d6c14/81UoWpotGPzGjPQ0/favicon.ico?fit=max\u0026auto=format\u0026n=81UoWpotGPzGjPQ0\u0026q=85\u0026s=0f94266a609b76a75975d1377f33b7e0","api":{"playground":{}},"navbar":{"links":[{"href":"https://discord.gg/AdXta4yxEK","label":"Community"},{"href":"https://morphllm.com/blog","label":"Blog"}],"primary":{"type":"button","label":"Dashboard","href":"https://morphllm.com/dashboard"}},"seo":{"indexing":"all"},"styling":{"latex":true},"contextual":{"options":["copy","view","download-spec","chatgpt","claude"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"morph-555d6c14","hasAudioNarration":false,"actualSubdomain":"morph-555d6c14","customDomains":["docs.morphllm.com"],"gitSource":{"type":"github","owner":"morphllm","repo":"landing","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b0e33dffce7902cee01032f","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"default","tag":"API Reference","count":33},{"language":"default","tag":"Models","count":19},{"language":"default","tag":"Integrations","count":13},{"language":"default","tag":"Get Started","count":9},{"language":"default","tag":"Compute","count":8},{"language":"default","tag":"Guides","count":8},{"language":"default","tag":"WarpGrep","count":7},{"language":"default","tag":"Speech to Text","count":5},{"language":"default","tag":"Frameworks","count":4},{"language":"default","tag":"Open Source Models","count":4}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"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,"authValue":{"userAuth":{"type":"shared-session","apiUrl":"https://www.morphllm.com/api/user/session","loginUrl":"https://www.morphllm.com/dashboard","invalidatedAt":1765493560614}}},"customCss":[]}
{"page":{"pagePath":"api-reference/endpoint/compute-ssh-keys-add","slug":"/api-reference/endpoint/compute-ssh-keys-add","pageMetadata":{"title":"Add Compute SSH Key","description":"Add an SSH public key at /api/v1/compute/reservations/{id}/ssh-keys","openapi":"POST /api/v1/compute/reservations/{id}/ssh-keys","href":"/api-reference/endpoint/compute-ssh-keys-add"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Add an SSH public key at /api/v1/compute/reservations/\", \"/ssh-keys\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,..._provideComponents(),...props.components},{Heading}=_components;if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsxs(_components.p,{children:[`Adds a public key to every node of a reservation; the write behind `,_jsx(_components.code,{children:`morph compute keys add`}),`. The key is returned as `,_jsx(_components.code,{children:`applying`}),`. Added before the nodes are handed over, it goes on with the handover.`]}),`\n`,_jsx(_components.p,{children:`Organization keys require an organization admin.`})]})}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":"Add Compute SSH Key","description":"Add an SSH public key at /api/v1/compute/reservations/{id}/ssh-keys","openapi":"POST /api/v1/compute/reservations/{id}/ssh-keys","href":"/api-reference/endpoint/compute-ssh-keys-add"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"addComputeSshKey","summary":"Add an SSH key to a reservation","description":"Add an SSH public key at /api/v1/compute/reservations/{id}/ssh-keys","tags":["compute"],"security":["05bd51fd-d007-4dcf-9966-967f36d1a4e0"],"parameters":["ca00fe7a-3bfa-4070-8b53-649fa716d37d"],"requestBody":"b2baa6b8-d155-4e06-84bf-2c14e7957361","responses":{"201":"e2c7219d-1dd2-4f6e-b9cd-ef7d5dc78e81","400":"48c712d6-a821-462e-856c-1f141062e3e6","401":"b0de9e58-d704-447c-bcad-21a02913c8b3","403":"d116dc89-5965-4983-82ab-18aee3b1da88","404":"b9effe25-90a4-4fee-8116-560ec162bb24","409":"0a26d771-1f73-4b5b-81a6-43eb0e7a889a"},"method":"post","type":"path","servers":["b5e9b834-717f-48a7-84d2-db801c068725"],"path":"/api/v1/compute/reservations/{id}/ssh-keys","baseUrlOptions":["https://api.morphllm.com"],"title":"Add an SSH key to a reservation","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"ca00fe7a-3bfa-4070-8b53-649fa716d37d":{"schema":{"type":"string","format":"uuid","description":"Identifies the reservation that gets the key.\nId of the reservation to add the key to.","example":"b81f2c40-7d9e-4a35-9c16-3f5a8e0d2b74","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"},"required":true,"description":"Identifies the reservation that gets the key.","name":"id","in":"path"}},"requestBody":{"description":"The key and a name for it.","content":{"application/json":{"example":{"name":"laptop","publicKey":"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHk0m2pQd6v1ZxW3c8rT5uYbN7aLfJ9sKqE4oVgXhC2D you@laptop"},"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":64,"description":"A name for the key, up to 64 characters.","example":"laptop","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"publicKey":{"type":"string","minLength":1,"maxLength":16384,"description":"One SSH public key: the contents of a `.pub` file.","example":"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHk0m2pQd6v1ZxW3c8rT5uYbN7aLfJ9sKqE4oVgXhC2D you@laptop","isRequired":true,"uniqueKey":"publicKey","typeLabel":"string"}},"required":["name","publicKey"],"description":"An SSH public key and its name.","example":{"name":"laptop","publicKey":"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHk0m2pQd6v1ZxW3c8rT5uYbN7aLfJ9sKqE4oVgXhC2D you@laptop"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"laptop","publicKey":"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHk0m2pQd6v1ZxW3c8rT5uYbN7aLfJ9sKqE4oVgXhC2D you@laptop"}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"e2c7219d-1dd2-4f6e-b9cd-ef7d5dc78e81":{"description":"Key recorded as `applying`.","content":{"application/json":{"example":{"sshKey":{"id":"e47a9d13-2c58-4b06-8f31-6a0d5c9e7b28","name":"laptop","fingerprint":"SHA256:Qm3nVx0aT7cJ1yKd5uE8rLw2bH6sZf9oP4gNiC0tXeA","publicKey":"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHk0m2pQd6v1ZxW3c8rT5uYbN7aLfJ9sKqE4oVgXhC2D you@laptop","state":"applying","error":null,"createdAt":"2027-01-04T09:14:00.000Z"}},"schema":{"type":"object","properties":{"sshKey":{"type":"object","description":"The key after the change.","required":["id","name","fingerprint","publicKey","state","error","createdAt"],"example":{"id":"e47a9d13-2c58-4b06-8f31-6a0d5c9e7b28","name":"laptop","fingerprint":"SHA256:Qm3nVx0aT7cJ1yKd5uE8rLw2bH6sZf9oP4gNiC0tXeA","publicKey":"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHk0m2pQd6v1ZxW3c8rT5uYbN7aLfJ9sKqE4oVgXhC2D you@laptop","state":"applying","error":null,"createdAt":"2027-01-04T09:14:00.000Z"},"properties":{"id":{"type":"string","format":"uuid","description":"Key id. Pass it to the remove route.","example":"e47a9d13-2c58-4b06-8f31-6a0d5c9e7b28","isRequired":true,"uniqueKey":"sshKey.id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","description":"The name given when the key was added.","example":"laptop","isRequired":true,"uniqueKey":"sshKey.name","typeLabel":"string"},"fingerprint":{"type":"string","description":"SHA-256 fingerprint of the key.","example":"SHA256:Qm3nVx0aT7cJ1yKd5uE8rLw2bH6sZf9oP4gNiC0tXeA","isRequired":true,"uniqueKey":"sshKey.fingerprint","typeLabel":"string"},"publicKey":{"type":"string","description":"The public key as stored.","example":"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHk0m2pQd6v1ZxW3c8rT5uYbN7aLfJ9sKqE4oVgXhC2D you@laptop","isRequired":true,"uniqueKey":"sshKey.publicKey","typeLabel":"string"},"state":{"type":"string","enum":["applying","active","removing"],"description":"`applying` until the key is on every node, then `active`. `removing` until it is off every node, then it leaves the list.","example":"active","isRequired":true,"uniqueKey":"sshKey.state","typeLabel":"enum\u003cstring>"},"error":{"oneOf":[{"type":"string","description":"Why the key could not be applied or removed yet, else null.","example":null,"isRequired":true,"uniqueKey":"sshKey.error.oneOf.0","typeLabel":"string"},{"type":"null","description":"Why the key could not be applied or removed yet, else null.","example":null,"isRequired":true,"uniqueKey":"sshKey.error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"sshKey.error","typeLabel":"string | null"},"createdAt":{"type":"string","format":"date-time","description":"ISO 8601 time the key was added.","example":"2027-01-04T09:14:00.000Z","isRequired":true,"uniqueKey":"sshKey.createdAt","typeLabel":"string\u003cdate-time>"}},"isRequired":true,"uniqueKey":"sshKey","typeLabel":"object"}},"required":["sshKey"],"description":"The key that was added or removed.","example":{"sshKey":{"id":"e47a9d13-2c58-4b06-8f31-6a0d5c9e7b28","name":"laptop","fingerprint":"SHA256:Qm3nVx0aT7cJ1yKd5uE8rLw2bH6sZf9oP4gNiC0tXeA","publicKey":"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHk0m2pQd6v1ZxW3c8rT5uYbN7aLfJ9sKqE4oVgXhC2D you@laptop","state":"applying","error":null,"createdAt":"2027-01-04T09:14:00.000Z"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"sshKey":{"id":"e47a9d13-2c58-4b06-8f31-6a0d5c9e7b28","name":"laptop","fingerprint":"SHA256:Qm3nVx0aT7cJ1yKd5uE8rLw2bH6sZf9oP4gNiC0tXeA","publicKey":"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHk0m2pQd6v1ZxW3c8rT5uYbN7aLfJ9sKqE4oVgXhC2D you@laptop","state":"applying","error":null,"createdAt":"2027-01-04T09:14:00.000Z"}}}},"exampleType":"examples"}},"exampleType":"examples"},"48c712d6-a821-462e-856c-1f141062e3e6":{"description":"The name is empty or too long, or `publicKey` is not one SSH public key.","content":{"application/json":{"example":{"error":"Give the key a name of up to 64 characters"},"schema":{"type":"object","properties":{"error":{"type":"string","description":"Why the request failed and what to change, as one or two sentences.","example":"Reservation not found. List yours with GET /api/v1/compute/reservations.","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"required":["error"],"description":"Error body returned by the compute routes.","example":{"error":"Reservation not found. List yours with GET /api/v1/compute/reservations."},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Give the key a name of up to 64 characters"}}},"exampleType":"examples"}},"exampleType":"examples"},"b0de9e58-d704-447c-bcad-21a02913c8b3":{"description":"Missing or invalid Morph API key on a compute request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Why the request failed and what to change, as one or two sentences.","example":"Reservation not found. List yours with GET /api/v1/compute/reservations.","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"required":["error"],"description":"Error body returned by the compute routes.","example":{"error":"Reservation not found. List yours with GET /api/v1/compute/reservations."},"uniqueKey":"","typeLabel":"object"},"example":{"error":"Missing or invalid API key. Send \"Authorization: Bearer \u003ckey>\" with a key from https://www.morphllm.com/dashboard/api-keys"},"examples":{"Example":{"title":"Example","value":{"error":"Missing or invalid API key. Send \"Authorization: Bearer \u003ckey>\" with a key from https://www.morphllm.com/dashboard/api-keys"}}},"exampleType":"examples"}},"exampleType":"examples"},"d116dc89-5965-4983-82ab-18aee3b1da88":{"description":"The account is outside the limited preview, the key is a personal key, or the key belongs to an organization member who is not an admin. Writes need an organization admin.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Why the request failed and what to change, as one or two sentences.","example":"Reservation not found. List yours with GET /api/v1/compute/reservations.","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"required":["error"],"description":"Error body returned by the compute routes.","example":{"error":"Reservation not found. List yours with GET /api/v1/compute/reservations."},"uniqueKey":"","typeLabel":"object"},"example":{"error":"An organization admin must reserve compute. Use an API key created by an admin of this organization."},"examples":{"Example":{"title":"Example","value":{"error":"An organization admin must reserve compute. Use an API key created by an admin of this organization."}}},"exampleType":"examples"}},"exampleType":"examples"},"b9effe25-90a4-4fee-8116-560ec162bb24":{"description":"No reservation with this id belongs to the key’s organization. Another organization’s reservation also returns 404, so existence is never leaked.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Why the request failed and what to change, as one or two sentences.","example":"Reservation not found. List yours with GET /api/v1/compute/reservations.","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"required":["error"],"description":"Error body returned by the compute routes.","example":{"error":"Reservation not found. List yours with GET /api/v1/compute/reservations."},"uniqueKey":"","typeLabel":"object"},"example":{"error":"Reservation not found. List yours with GET /api/v1/compute/reservations."},"examples":{"Example":{"title":"Example","value":{"error":"Reservation not found. List yours with GET /api/v1/compute/reservations."}}},"exampleType":"examples"}},"exampleType":"examples"},"0a26d771-1f73-4b5b-81a6-43eb0e7a889a":{"description":"The key is already on the reservation, the reservation holds 50 keys, or its keys are not managed here (it has ended, or Morph manages access under a contract).","content":{"application/json":{"example":{"error":"That key is already on this cluster"},"schema":{"type":"object","properties":{"error":{"type":"string","description":"Why the request failed and what to change, as one or two sentences.","example":"Reservation not found. List yours with GET /api/v1/compute/reservations.","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"required":["error"],"description":"Error body returned by the compute routes.","example":{"error":"Reservation not found. List yours with GET /api/v1/compute/reservations."},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"That key is already on this cluster"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"05bd51fd-d007-4dcf-9966-967f36d1a4e0":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"opaque","description":"Morph API key, passed as `Authorization: Bearer sk-...`. Create keys at https://www.morphllm.com/dashboard/api-keys.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"b5e9b834-717f-48a7-84d2-db801c068725":{"url":"https://api.morphllm.com","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"opaque","description":"Morph API key, passed as `Authorization: Bearer sk-...`. Create keys at https://www.morphllm.com/dashboard/api-keys.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Morph API key, passed as `Authorization: Bearer sk-...`. Create keys at https://www.morphllm.com/dashboard/api-keys.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"morph-555d6c14","siteName":"Morph Documentation","title":"Add Compute SSH Key - Morph Documentation","contextualStarterQuestions":[],"lastModified":"2026-11-30T21:56:29.321Z","originalFileLocation":"api-reference/endpoint/compute-ssh-keys-add.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=\"Add an SSH public key at /api/v1/compute/reservations/{id}/ssh-keys\">\u003cmeta data-mint-head name=\"application-name\" content=\"Morph Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/morph-555d6c14/lHIMsY-nrY1C9Ig1/_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/morph-555d6c14/lHIMsY-nrY1C9Ig1/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/morph-555d6c14/lHIMsY-nrY1C9Ig1/_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/morph-555d6c14/lHIMsY-nrY1C9Ig1/_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/morph-555d6c14/lHIMsY-nrY1C9Ig1/_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/morph-555d6c14/lHIMsY-nrY1C9Ig1/_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/morph-555d6c14/lHIMsY-nrY1C9Ig1/_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/morph-555d6c14/lHIMsY-nrY1C9Ig1/_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/morph-555d6c14/lHIMsY-nrY1C9Ig1/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Add Compute SSH Key - Morph Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Add an SSH public key at /api/v1/compute/reservations/{id}/ssh-keys\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Morph Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.morphllm.com/api-reference/endpoint/compute-ssh-keys-add\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://morph-555d6c14.mintlify.site/_mintlify/api/og/v2?division=Compute\u0026amp;title=Add+Compute+SSH+Key\u0026amp;description=Add+an+SSH+public+key+at+%2Fapi%2Fv1%2Fcompute%2Freservations%2F%7Bid%7D%2Fssh-keys\u0026amp;theme=2a78a8709f2d6f723112079e\u0026amp;signature=2c408ed008ebced241b4f27d847898a1965c1733001fc8f2fb1b6eed8534772a\">\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=\"Add Compute SSH Key - Morph Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Add an SSH public key at /api/v1/compute/reservations/{id}/ssh-keys\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://morph-555d6c14.mintlify.site/_mintlify/api/og/v2?division=Compute\u0026amp;title=Add+Compute+SSH+Key\u0026amp;description=Add+an+SSH+public+key+at+%2Fapi%2Fv1%2Fcompute%2Freservations%2F%7Bid%7D%2Fssh-keys\u0026amp;theme=2a78a8709f2d6f723112079e\u0026amp;signature=2c408ed008ebced241b4f27d847898a1965c1733001fc8f2fb1b6eed8534772a\">\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/morph-555d6c14/lHIMsY-nrY1C9Ig1/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Morph Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.morphllm.com/api-reference/endpoint/compute-ssh-keys-add\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/compute-ssh-keys-add.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.morphllm.com/#organization\",\"name\":\"Morph Documentation\",\"url\":\"https://docs.morphllm.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/morph-555d6c14/lwaqk6ujzMJV1czI/logo/light.svg?fit=max\u0026auto=format\u0026n=lwaqk6ujzMJV1czI\u0026q=85\u0026s=cd5a33b1dd765106a68d6f487a1e20f1\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.morphllm.com#website\",\"name\":\"Morph Documentation\",\"url\":\"https://docs.morphllm.com\",\"publisher\":{\"@id\":\"https://docs.morphllm.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.morphllm.com/api-reference/endpoint/compute-ssh-keys-add#webpage\",\"url\":\"https://docs.morphllm.com/api-reference/endpoint/compute-ssh-keys-add\",\"name\":\"Add Compute SSH Key\",\"description\":\"Add an SSH public key at /api/v1/compute/reservations/{id}/ssh-keys\",\"dateModified\":\"2026-11-30T21:56:29.321Z\",\"isPartOf\":{\"@id\":\"https://docs.morphllm.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.morphllm.com/api-reference/endpoint/compute-ssh-keys-add#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.morphllm.com/api-reference/endpoint/compute-ssh-keys-add#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.morphllm.com/api-reference/endpoint/apply\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Compute\",\"item\":\"https://docs.morphllm.com/api-reference/endpoint/compute-offers\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Add Compute SSH Key\",\"item\":\"https://docs.morphllm.com/api-reference/endpoint/compute-ssh-keys-add\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.morphllm.com/api-reference/endpoint/compute-ssh-keys-add#apireference\",\"headline\":\"Add Compute SSH Key\",\"name\":\"Add Compute SSH Key\",\"description\":\"Add an SSH public key at /api/v1/compute/reservations/{id}/ssh-keys\",\"url\":\"https://docs.morphllm.com/api-reference/endpoint/compute-ssh-keys-add\",\"mainEntityOfPage\":{\"@id\":\"https://docs.morphllm.com/api-reference/endpoint/compute-ssh-keys-add#webpage\"},\"dateModified\":\"2026-11-30T21:56:29.321Z\",\"publisher\":{\"@id\":\"https://docs.morphllm.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.morphllm.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Morph Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Morph Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/endpoint/compute-ssh-keys-add.md","siteName":"Morph Documentation","nav":{"global":null,"groups":[{"group":"Get Started","public":true,"pages":[{"title":"Introduction","description":"Open-weight coding models on an OpenAI-compatible API","icon":"book-open","href":"/introduction"},{"title":"Quickstart","description":"Run a model, apply edits at 10,500 tok/s, and search code — one OpenAI-compatible API","icon":"rocket","href":"/quickstart"},{"title":"Endpoints","description":"Choose general inference or reserve capacity for a dedicated model endpoint","icon":"plug","href":"/endpoints"},{"title":"General inference","description":"Send requests to Morph models without provisioning an endpoint","icon":"bolt","href":"/general-inference"},{"title":"Dedicated endpoints","description":"Reserve model capacity, send requests, monitor usage, and cancel service","icon":"server","href":"/dedicated-endpoints"},{"title":"Dedicated compute","description":"Reserve whole GPU nodes by the month, SSH into them, manage keys, and give notice","icon":"microchip","href":"/dedicated-compute"},{"title":"Ultra Plan \u0026 Rate Limits","description":"Unlimited Kimi K3.1 and DeepSeek V4.1 Flash for $200/mo, plus account rate limits, headers, and 429 handling","icon":"infinity","href":"/ultra-plan"},{"title":"morph CLI","description":"One binary for WarpGrep search, Fast Apply edits, Compact, and chat. Agents call it through their shell.","icon":"terminal","href":"/cli"},{"title":"Agent skills","description":"SKILL.md files that teach Claude Code, Codex, Cursor and OpenCode when to call morph.","icon":"graduation-cap","href":"/skills"}]},{"group":"Models","public":true,"pages":[{"group":"Open Source Models","icon":"rocket","root":{"title":"Open Source Models","description":"Open-weight models with automatic prefix caching","icon":"rocket","href":"/sdk/components/fast-models"},"pages":[{"title":"Dynamic Tool Loading","description":"Load Kimi K3.1 tool schemas only when an agent needs them","icon":"wrench","href":"/sdk/components/dynamic-tool-loading"},{"title":"Prompt Caching","description":"Automatic prefix caching on every open source model. Cached input at $0.312/1M on GLM-5.3, with per-request TTL control.","icon":"database","href":"/sdk/components/caching"},{"title":"Standby Requests","description":"50% off Kimi K3.1, GLM-5.3, GLM-5.3-Flash, and DeepSeek V4 Flash for latency-tolerant workloads. Set service_tier: standby and pay half.","icon":"clock","href":"/sdk/components/standby"}]},{"title":"Reflex","description":"Get a decision from text, JSON, or an image. Send a state and a question; read the probabilities.","icon":"bolt","href":"/models/reflex"},{"title":"Speech to Text","description":"Ultra-low-latency voice-to-text: 87 ms streaming, 195 ms 34B dictation, $0.18/audio hr. OpenAI-compatible.","icon":"microphone","href":"/models/speech-to-text"},{"title":"Fast Apply","description":"AI file editing at 10,500 tokens/s - 1.8x faster, 40% fewer tokens","icon":"bolt","href":"/sdk/components/fast-apply"},{"title":"Compact","description":"Drop filler from chat history at 33,000 tok/s. No rewriting, no paraphrasing.","icon":"compress","og:image":"images/compact.webp","twitter:image":"images/compact.webp","href":"/sdk/components/compact"},{"group":"WarpGrep","icon":"search","root":{"title":"WarpGrep","description":"A code search subagent that finds relevant code in a separate context window. No embeddings, no indexing.","icon":"search","href":"/sdk/components/warp-grep/index"},"pages":[{"group":"Subagent as a Tool","pages":[{"title":"Codebase Search","description":"Search local repositories with WarpGrep","icon":"magnifying-glass","href":"/sdk/components/warp-grep/codebase-search"},{"title":"GitHub Search","description":"Search public GitHub repositories without cloning","icon":"github","href":"/sdk/components/warp-grep/github-search"},{"title":"Streaming","description":"Stream WarpGrep search steps","icon":"bars-staggered","href":"/sdk/components/warp-grep/streaming"}]},{"title":"Examples","description":"Production-ready WarpGrep agent patterns","icon":"code","href":"/sdk/components/warp-grep/examples"},{"title":"Direct API Access","description":"Build your own agent harness around WarpGrep","icon":"code","href":"/sdk/components/warp-grep/direct"},{"title":"Sandbox Execution","description":"Run WarpGrep in remote sandboxes and custom environments","icon":"cloud","href":"/sdk/components/warp-grep/sandbox-execution"}]},{"title":"Model Router","description":"Classifies prompt difficulty, ambiguity, and domain for automatic model selection","icon":"route","og:image":"images/router.jpg","twitter:image":"images/router.jpg","href":"/sdk/components/router"}]},{"group":"API Reference","public":true,"pages":[{"title":"Apply API","description":"Apply code edits at 10,500 tok/s with 98% accuracy via OpenAI-compatible API","openapi":"POST /v1/chat/completions","href":"/api-reference/endpoint/apply"},{"title":"Compact API","description":"Compress chat history and code context at 33,000 tok/s with byte-identical output","openapi":"POST /v1/compact","href":"/api-reference/endpoint/compact"},{"title":"WarpGrep API","description":"Agentic code search subagent that explores repositories in ~6 seconds","openapi":"POST /v1/chat/completions","href":"/api-reference/endpoint/warpgrep"},{"title":"Messages API","description":"Anthropic-compatible /v1/messages endpoint — point an Anthropic SDK at Morph by changing the base URL","openapi":"POST /v1/messages","href":"/api-reference/endpoint/messages"},{"title":"Reflex API","description":"Typed decisions: send a state and named questions, get a probability per answer back. No text generation, no parsing.","openapi":"POST /v1/systemone","href":"/api-reference/endpoint/systemone"},{"group":"Speech to Text","pages":[{"title":"Audio Transcriptions API","description":"Turn speech into text. OpenAI-compatible, plus key terms, clean style, speaker labels, word timestamps and subtitles.","openapi":"POST /v1/audio/transcriptions","href":"/api-reference/endpoint/audio-transcriptions"},{"title":"Audio Translations API","description":"Transcribe speech and translate it, into English by default or into another language with target_language.","openapi":"POST /v1/audio/translations","href":"/api-reference/endpoint/audio-translations"},{"title":"Transcription Corrections API","description":"Tell Morph what a transcript should have said, for a file transcription or a realtime turn.","openapi":"POST /v1/audio/corrections","href":"/api-reference/endpoint/audio-corrections"},{"title":"Realtime Transcription API","description":"Live speech to text over a WebSocket, on OpenAI's realtime transcription protocol.","href":"/api-reference/endpoint/realtime-transcription"},{"title":"Realtime Client Secrets API","description":"A short-lived secret a browser opens the realtime WebSocket with, so your API key stays on your server.","openapi":"POST /v1/realtime/client_secrets","href":"/api-reference/endpoint/realtime-client-secrets"}]},{"group":"Models","pages":[{"title":"List Models","description":"OpenAI-compatible model listing at /v1/models","openapi":"GET /v1/models","href":"/api-reference/endpoint/models"},{"title":"Retrieve Model","description":"Fetch a single model by id at /v1/models/{model}","openapi":"GET /v1/models/{model}","href":"/api-reference/endpoint/retrieve-model"},{"title":"Delete Model","description":"Remove a fine-tuned model at /v1/models/{model}","openapi":"DELETE /v1/models/{model}","href":"/api-reference/endpoint/delete-model"}]},{"group":"Dedicated","pages":[{"title":"List Dedicated Endpoints","description":"Discover your dedicated endpoints at /api/v1/dedicated/endpoints","openapi":"GET /api/v1/dedicated/endpoints","href":"/api-reference/endpoint/dedicated-list"},{"title":"Get Dedicated Endpoint","description":"Fetch one endpoint's lifecycle at /api/v1/dedicated/endpoints/{id}","openapi":"GET /api/v1/dedicated/endpoints/{id}","href":"/api-reference/endpoint/dedicated-get"},{"title":"Cancel Dedicated Endpoint","description":"Cancel service at /api/v1/dedicated/endpoints/{id}/cancel","openapi":"POST /api/v1/dedicated/endpoints/{id}/cancel","href":"/api-reference/endpoint/dedicated-cancel"}]},{"group":"Compute","pages":[{"title":"List Compute Offers","description":"See hardware on sale and its price at /api/v1/compute/offers","openapi":"GET /api/v1/compute/offers","href":"/api-reference/endpoint/compute-offers"},{"title":"Reserve Compute","description":"Hold whole GPU nodes and get a bank checkout URL at /api/v1/compute/reservations","openapi":"POST /api/v1/compute/reservations","href":"/api-reference/endpoint/compute-reserve"},{"title":"List Compute Reservations","description":"List your organization's compute at /api/v1/compute/reservations","openapi":"GET /api/v1/compute/reservations","href":"/api-reference/endpoint/compute-list"},{"title":"Get Compute Reservation","description":"Fetch one reservation and its nodes at /api/v1/compute/reservations/{id}","openapi":"GET /api/v1/compute/reservations/{id}","href":"/api-reference/endpoint/compute-get"},{"title":"Give Notice on Compute","description":"End a reservation at /api/v1/compute/reservations/{id}/cancel","openapi":"POST /api/v1/compute/reservations/{id}/cancel","href":"/api-reference/endpoint/compute-cancel"},{"title":"List Compute SSH Keys","description":"List the SSH keys on a reservation at /api/v1/compute/reservations/{id}/ssh-keys","openapi":"GET /api/v1/compute/reservations/{id}/ssh-keys","href":"/api-reference/endpoint/compute-ssh-keys-list"},{"title":"Add Compute SSH Key","description":"Add an SSH public key at /api/v1/compute/reservations/{id}/ssh-keys","openapi":"POST /api/v1/compute/reservations/{id}/ssh-keys","href":"/api-reference/endpoint/compute-ssh-keys-add"},{"title":"Remove Compute SSH Key","description":"Remove an SSH key at /api/v1/compute/reservations/{id}/ssh-keys/{keyId}","openapi":"DELETE /api/v1/compute/reservations/{id}/ssh-keys/{keyId}","href":"/api-reference/endpoint/compute-ssh-keys-remove"}]},{"group":"Credits","pages":[{"title":"Create Credit Top-up","description":"Buy credits with USDC from an agent at /api/v1/credits/topups","openapi":"POST /api/v1/credits/topups","href":"/api-reference/endpoint/credits-topup-create"},{"title":"Get Credit Top-up","description":"Check whether a top-up has been paid and credited at /api/v1/credits/topups/{checkoutId}","openapi":"GET /api/v1/credits/topups/{checkoutId}","href":"/api-reference/endpoint/credits-topup-get"}]},{"group":"Account","pages":[{"title":"Get Account Usage","description":"Read your daily usage and spend at /api/v1/account/usage","openapi":"GET /api/v1/account/usage","href":"/api-reference/endpoint/account-usage-get"},{"title":"Get Account Settings","description":"Read your billing settings at /api/v1/account/settings","openapi":"GET /api/v1/account/settings","href":"/api-reference/endpoint/account-settings-get"},{"title":"Update Account Settings","description":"Change spend limits, spend alerts, auto-reload and Ultra daily overage at /api/v1/account/settings","openapi":"PATCH /api/v1/account/settings","href":"/api-reference/endpoint/account-settings-update"}]},{"group":"Organization","pages":[{"title":"List Member Budgets","description":"Read every organization member's monthly budget and spend at /api/v1/org/members/budgets","openapi":"GET /api/v1/org/members/budgets","href":"/api-reference/endpoint/org-member-budgets-list"},{"title":"Set Member Budget","description":"Cap a member's monthly spend on your organization's keys at /api/v1/org/members/{userId}/budget","openapi":"PUT /api/v1/org/members/{userId}/budget","href":"/api-reference/endpoint/org-member-budget-set"},{"title":"Remove Member Budget","description":"Remove a member's monthly budget at /api/v1/org/members/{userId}/budget","openapi":"DELETE /api/v1/org/members/{userId}/budget","href":"/api-reference/endpoint/org-member-budget-delete"}]},{"title":"Report API","description":"Report failed or problematic completions to improve Morph model quality","openapi":"POST /api/report","href":"/api-reference/endpoint/report"}]},{"group":"Integrations","public":true,"pages":[{"group":"Guides","icon":"book","pages":[{"title":"Claude Code \u0026 Codex","description":"Run Morph's open models inside Claude Code and Codex","icon":"terminal","href":"/guides/coding-agents"},{"title":"Enterprise Model Routing","description":"Route every Claude Code turn to the right Claude model with an org-wide policy. Configure it in Administration, install it per developer, uninstall in one command.","href":"/guides/enterprise-model-routing"},{"title":"General Prompting","description":"Learn how to use prompt models like Claude, GPT-4o, and Gemini optimized for agentic workflows","icon":"message","href":"/guides/prompting"},{"title":"Agent Tools (edit_file)","description":"Build precise AI agents that edit code fast without full file rewrites using Morph's edit_file tool","icon":"wrench","href":"/guides/agent-tools"},{"title":"XML Tool Calls","description":"Learn why XML tool calls outperform JSON for code editing and how to implement them with Claude and other LLMs","icon":"code","href":"/guides/xml-tool-calls"},{"title":"WarpGrep in Python","description":"Build a complete WarpGrep agent harness in Python","icon":"python","href":"/guides/warp-grep-python"},{"title":"Build a dictation app","description":"A hold-to-talk dictation app for macOS, Windows or Linux on morph-transcribe, built by your coding agent from one prompt.","href":"/guides/dictation-app"},{"title":"API Reference","description":"Complete MorphClient API and types","icon":"book","href":"/sdk/reference"}]},{"group":"Frameworks","icon":"code","pages":[{"title":"Vercel AI SDK","description":"Stream fast code edits with Morph using the Vercel AI SDK","icon":"triangle","href":"/guides/ai-sdk"},{"title":"Blaxel Sandboxes","description":"Apply edits and execute AI code via tool calls inside a secure sandboxed environment on Blaxel.","icon":"b","href":"/guides/blaxel"},{"title":"Freestyle","description":"How to integrate Morph Fast Apply with Freestyle Dev Servers for lightning-fast AI code editing.","href":"/guides/freestyle"},{"title":"Claude Code","description":"Run Claude Code on Morph models, and add Morph's fast edits and repo search as tools.","href":"/guides/claude-code"}]},{"group":"Legacy","icon":"archive","pages":[{"title":"MCP server (legacy)","description":"The Morph MCP server for hosts that cannot run commands. New installs should use the morph CLI + skills.","icon":"plug","href":"/mcpquickstart"}]}]}]},"basePath":"","title":"Add Compute SSH Key - Morph Documentation","deploymentId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","buildId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-C6Z1vAfX.js","snippetPresets-Bjd6OXRM.js","utils-QL6OhUyF.js","style-to-object-BY3JEAdk.js","utils-Dsq-HLeF.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-CEYfmkoV.js","conditional-requirements-CFM0id0Q.js","cloneDeep-CHgPjMM8.js","_Uint8Array-IXRJ_ueo.js","isObject-FP1Yky1u.js","Page-B_smDgrp.js","api-description-markdown-DtcP2u3s.js","DynamicMarkdown-DOefW1_8.js","CodeSnippet-C_J7pouP.js","use-playground-group-access-bkOyfPao.js","SectionHeading-Cg4lfWZw.js","ApiExamples-pq4ns9YA.js","usePlaygroundInputsStore-D-gnigmo.js","shallow-DIfWGPrf.js","isEqual-DDFuixlH.js","CodeSnippets-8g5rilZj.js","MethodPill-BnqygvYm.js","getPastedJson-BGXYEZ3P.js","Check2Icon-BBeO3TOS.js","axios-CsQoIw0U.js","Markdown-D5IqLG6A.js","AssistantPageLink-_S2h4i6W.js","dist-DzZqOeCq.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}