Palmyr Compute API
The Compute API from Palmyr — 5 operation(s) for compute.
Operations 7
POST
/compute/servers/{id}/setup-ssh
Inject your SSH public key, disable password auth, and delete the root password…
#
The Compute API from Palmyr — 5 operation(s) for compute.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/palmyr-ai:palmyr-ai-compute-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Palmyr Compute API
description: Autonomous infrastructure for AI agents — pay with USDC on Solana or Base via x402.
version: 0.4.7
x-guidance: 'Palmyr is a paid HTTP API that lets agents buy and operate their own infrastructure: phone numbers, email inboxes, custom domains, cloud servers, third-party API keys. Identity = wallet address. Pay with USDC; the wallet that pays becomes the owner of the resource. Every paid endpoint returns 402 with a valid x402 challenge. Use the `extra.facilitator` field on each accepts entry to route the settlement (CDP for EVM, self-hosted for Solana). Solana uses a server-paid fee-payer pattern — payers only need USDC, never SOL. Some routes price dynamically (x-payment-info.price.mode === ''dynamic'', e.g. POST /social/twitter/buy) — never assume a fixed amount for these; send the request unpaid to get a 402 whose `accepts` carry the live price, then pay that. Check before you pay: free preflight routes (x-payment-info.price.mode === ''free'') let you probe availability and price first — GET /pricing, GET /domains/check, GET /domains/pricing, GET /phone/numbers/search, plus free POST /agents/register. Other free helpers: GET /api, /health, /version. Async operations that aren''t finished when they respond return a `poll_url` alongside `operation_id` and a `status` (and sometimes `poll_after_seconds`) — e.g. POST /compute/servers (server provisioning ~60s) and the /transfers endpoints. Treat any response carrying `poll_url` as in-progress: GET the poll_url until `status` is terminal (completed/failed; for servers, running).'
servers:
- url: https://palmyr.ai
tags:
- name: Compute
paths:
/compute/servers/{id}/actions:
post:
summary: POST /compute/servers/:id/actions
parameters:
- name: id
in: path
required: true
description: 'Path parameter: id'
schema:
type: string
- name: X-Payment
in: header
required: true
description: x402 payment payload (Solana or EVM USDC). Get the challenge from the route's 402 response.
schema:
type: string
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.1'
protocols:
- x402: {}
extensions:
bazaar:
discoverable: true
serviceName: Palmyr
tags: []
iconUrl: https://palmyr.ai/assets/bazaar-icon.png
schema:
properties:
input:
type: object
additionalProperties: true
output:
type: object
additionalProperties: true
info:
input:
type: http
method: POST
bodyType: json
body: {}
inputSchema:
properties:
body:
type: object
additionalProperties: true
required: []
output:
example: {}
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
additionalProperties: true
'402':
description: Payment Required
content:
application/json:
schema:
type: object
additionalProperties: true
requestBody:
required: false
content:
application/json:
schema:
type: object
additionalProperties: true
tags:
- Compute
operationId: postComputeServersByIdActions
x-operation-id-source: derived
/compute/servers/{id}/exec:
post:
summary: POST /compute/servers/:id/exec
parameters:
- name: id
in: path
required: true
description: 'Path parameter: id'
schema:
type: string
- name: X-Payment
in: header
required: true
description: x402 payment payload (Solana or EVM USDC). Get the challenge from the route's 402 response.
schema:
type: string
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.05'
protocols:
- x402: {}
extensions:
bazaar:
discoverable: true
serviceName: Palmyr
tags: []
iconUrl: https://palmyr.ai/assets/bazaar-icon.png
schema:
properties:
input:
type: object
additionalProperties: true
output:
type: object
additionalProperties: true
info:
input:
type: http
method: POST
bodyType: json
body: {}
inputSchema:
properties:
body:
type: object
additionalProperties: true
required: []
output:
example: {}
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
additionalProperties: true
'402':
description: Payment Required
content:
application/json:
schema:
type: object
additionalProperties: true
requestBody:
required: false
content:
application/json:
schema:
type: object
additionalProperties: true
tags:
- Compute
operationId: postComputeServersByIdExec
x-operation-id-source: derived
/compute/servers/{id}:
delete:
summary: DELETE /compute/servers/:id
parameters:
- name: id
in: path
required: true
description: 'Path parameter: id'
schema:
type: string
- name: X-Payment
in: header
required: true
description: x402 payment payload (Solana or EVM USDC). Get the challenge from the route's 402 response.
schema:
type: string
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.1'
protocols:
- x402: {}
extensions:
bazaar:
discoverable: true
serviceName: Palmyr
tags: []
iconUrl: https://palmyr.ai/assets/bazaar-icon.png
schema:
properties:
input:
type: object
additionalProperties: true
output:
type: object
additionalProperties: true
info:
input:
type: http
method: DELETE
bodyType: json
body: {}
inputSchema:
properties:
body:
type: object
additionalProperties: true
required: []
output:
example: {}
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
additionalProperties: true
'402':
description: Payment Required
content:
application/json:
schema:
type: object
additionalProperties: true
requestBody:
required: false
content:
application/json:
schema:
type: object
additionalProperties: true
tags:
- Compute
operationId: deleteComputeServersById
x-operation-id-source: derived
get:
summary: GET /compute/servers/:id
parameters:
- name: id
in: path
required: true
description: 'Path parameter: id'
schema:
type: string
- name: X-Payment
in: header
required: true
description: x402 payment payload (Solana or EVM USDC). Get the challenge from the route's 402 response.
schema:
type: string
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.01'
protocols:
- x402: {}
extensions:
bazaar:
discoverable: true
serviceName: Palmyr
tags: []
iconUrl: https://palmyr.ai/assets/bazaar-icon.png
schema:
properties:
input:
type: object
additionalProperties: true
output:
type: object
additionalProperties: true
info:
input:
type: http
method: GET
queryParams: {}
inputSchema:
properties:
queryParams:
type: object
additionalProperties: true
required: []
output:
example: {}
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
additionalProperties: true
'402':
description: Payment Required
content:
application/json:
schema:
type: object
additionalProperties: true
tags:
- Compute
operationId: getComputeServersById
x-operation-id-source: derived
/compute/servers:
get:
summary: GET /compute/servers
parameters:
- name: X-Payment
in: header
required: true
description: x402 payment payload (Solana or EVM USDC). Get the challenge from the route's 402 response.
schema:
type: string
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.01'
protocols:
- x402: {}
extensions:
bazaar:
discoverable: true
serviceName: Palmyr
tags: []
iconUrl: https://palmyr.ai/assets/bazaar-icon.png
schema:
properties:
input:
type: object
additionalProperties: true
output:
type: object
additionalProperties: true
info:
input:
type: http
method: GET
queryParams: {}
inputSchema:
properties:
queryParams:
type: object
additionalProperties: true
required: []
output:
example: {}
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
additionalProperties: true
'402':
description: Payment Required
content:
application/json:
schema:
type: object
additionalProperties: true
tags:
- Compute
operationId: getComputeServers
x-operation-id-source: derived
post:
summary: POST /compute/servers
parameters:
- name: X-Payment
in: header
required: true
description: x402 payment payload (Solana or EVM USDC). Get the challenge from the route's 402 response.
schema:
type: string
x-payment-info:
price:
mode: dynamic
currency: USD
hint: Price depends on request parameters. Send the request with no payment to get a 402 challenge whose `accepts` entries carry the live amount, then pay that.
protocols:
- x402: {}
extensions:
bazaar:
discoverable: true
serviceName: Palmyr
tags: []
iconUrl: https://palmyr.ai/assets/bazaar-icon.png
schema:
properties:
input:
type: object
additionalProperties: true
output:
type: object
additionalProperties: true
info:
input:
type: http
method: POST
bodyType: json
body: {}
inputSchema:
properties:
body:
type: object
additionalProperties: true
required: []
output:
example: {}
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
additionalProperties: true
'402':
description: Payment Required
content:
application/json:
schema:
type: object
additionalProperties: true
requestBody:
required: false
content:
application/json:
schema:
type: object
additionalProperties: true
tags:
- Compute
operationId: postComputeServers
x-operation-id-source: derived
/compute/servers/{id}/setup-ssh:
post:
summary: Inject your SSH public key, disable password auth, and delete the root password…
description: Inject your SSH public key, disable password auth, and delete the root password from our DB — the zero-access handoff. Owner-only.
tags:
- Compute
parameters:
- name: id
in: path
required: true
description: 'Path parameter: id'
schema:
type: string
- name: X-Payment
in: header
required: true
description: x402 payment payload (Solana or EVM USDC). Get the challenge from the route's 402 response.
schema:
type: string
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.01'
protocols:
- x402: {}
extensions:
bazaar:
discoverable: true
serviceName: Palmyr Compute
category: compute
tags:
- compute
- ssh
- handoff
iconUrl: https://palmyr.ai/assets/bazaar-icon.png
schema:
properties:
input:
type: object
additionalProperties: true
output:
type: object
additionalProperties: true
info:
input:
type: http
method: POST
bodyType: json
body: {}
inputSchema:
properties:
body:
type: object
additionalProperties: true
required: []
output:
example: {}
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
additionalProperties: true
'402':
description: Payment Required
content:
application/json:
schema:
type: object
additionalProperties: true
requestBody:
required: false
content:
application/json:
schema:
type: object
additionalProperties: true
operationId: postComputeServersByIdSetupSsh
x-operation-id-source: derived
components:
securitySchemes:
x402:
type: apiKey
in: header
name: X-Payment
description: x402 payment payload (Solana or EVM USDC). See the 402 challenge response on any paid endpoint.