| Email a sign-in code |
POST /v1/auth/email/start |
startEmailLogin |
| Exchange an emailed code for a session |
POST /v1/auth/email/verify |
verifyEmailLogin |
| Start GitHub sign-in |
GET /v1/auth/github/start |
startGithubLogin |
| Finish GitHub sign-in |
GET /v1/auth/github/callback |
completeGithubLogin |
| End the session |
POST /v1/auth/logout |
logout |
| Start signing the CLI in |
POST /v1/auth/device/start |
startDeviceLogin |
| Poll for the CLI’s API key |
POST /v1/auth/device/token |
pollDeviceLogin |
| Approve a CLI sign-in from the browser |
POST /v1/auth/device/approve |
approveDeviceLogin |
| Who is signed in |
GET /v1/me |
getMe |
| Get the org |
GET /v1/org |
getOrg |
| Rename the org |
PATCH /v1/org |
updateOrg |
| Submit product feedback |
POST /v1/feedback |
submitFeedback |
| List sizes |
GET /v1/sizes |
listSizes |
| List regions |
GET /v1/regions |
listRegions |
| List images |
GET /v1/images |
listImages |
| List plans |
GET /v1/plans |
listPlans |
| Create a machine |
POST /v1/machines |
createMachine |
| List machines |
GET /v1/machines |
listMachines |
| Get a machine |
GET /v1/machines/{machine} |
getMachine |
| Change a machine |
PATCH /v1/machines/{machine} |
updateMachine |
| Delete a machine |
DELETE /v1/machines/{machine} |
deleteMachine |
| Start a machine |
POST /v1/machines/{machine}/start |
startMachine |
| Stop a machine |
POST /v1/machines/{machine}/stop |
stopMachine |
| Restart a machine |
POST /v1/machines/{machine}/restart |
restartMachine |
| List or follow a machine’s events |
GET /v1/machines/{machine}/events |
listMachineEvents |
| Get a machine’s metrics |
GET /v1/machines/{machine}/metrics |
getMachineMetrics |
| Run a command in a machine |
POST /v1/machines/{machine}/exec |
execMachine |
| Read a file |
GET /v1/machines/{machine}/files |
readMachineFile |
| Write a file |
PUT /v1/machines/{machine}/files |
writeMachineFile |
| Delete a file or directory |
DELETE /v1/machines/{machine}/files |
deleteMachineFile |
| List a directory |
GET /v1/machines/{machine}/files/list |
listMachineFiles |
| Open a terminal |
GET /v1/machines/{machine}/terminal |
openMachineTerminal |
| List a machine’s endpoints |
GET /v1/machines/{machine}/endpoints |
listMachineEndpoints |
| Expose a port |
PUT /v1/machines/{machine}/endpoints/{port} |
putMachineEndpoint |
| Stop exposing a port |
DELETE /v1/machines/{machine}/endpoints/{port} |
deleteMachineEndpoint |
| Get what a machine used |
GET /v1/machines/{machine}/usage |
getMachineUsage |
| Snapshot a machine’s disk |
POST /v1/snapshots |
createSnapshot |
| List snapshots |
GET /v1/snapshots |
listSnapshots |
| Get a snapshot |
GET /v1/snapshots/{snapshot} |
getSnapshot |
| Delete a snapshot |
DELETE /v1/snapshots/{snapshot} |
deleteSnapshot |
| Add an SSH public key |
POST /v1/ssh-keys |
createSshKey |
| List SSH keys |
GET /v1/ssh-keys |
listSshKeys |
| Remove an SSH key |
DELETE /v1/ssh-keys/{ssh_key} |
deleteSshKey |
| Create an API key |
POST /v1/api-keys |
createApiKey |
| List API keys |
GET /v1/api-keys |
listApiKeys |
| Revoke an API key |
DELETE /v1/api-keys/{api_key} |
deleteApiKey |
| Get the plan and the balance |
GET /v1/billing |
getBilling |
| Claim the free trial |
POST /v1/trial/claim |
claimTrial |
| Start the subscription checkout |
POST /v1/billing/checkout |
startCheckout |
| Start a top-up |
POST /v1/billing/top-ups |
startTopUp |
| Show auto top-up |
GET /v1/billing/auto-top-up |
getAutoTopUp |
| Turn auto top-up on, or change it |
PUT /v1/billing/auto-top-up |
setAutoTopUp |
| Turn auto top-up off |
DELETE /v1/billing/auto-top-up |
turnOffAutoTopUp |
| Open the Stripe customer portal |
POST /v1/billing/portal |
openBillingPortal |
| List ledger entries |
GET /v1/billing/ledger |
listLedgerEntries |
| List usage by day |
GET /v1/billing/usage |
listUsage |