SSH keys are injected into your GPU instances at deploy time. A default key is generated when you sign up. All SSH key endpoints require authentication.

List SSH Keys

Response


Add SSH Key

Request Body

Response

Errors

400 INVALID_SSH_KEY — Malformed key format or duplicate key.

Delete SSH Key

Removes an SSH key. The managed default key cannot be deleted.

Response

Errors

  • 404 NOT_FOUND — Key not found
  • 400 — Cannot delete the managed default key

Generate Key Pair

Generates an ed25519 key pair server-side. The public key is saved to your account. The private key is returned once and never stored.

Request Body

Response

The privateKey is returned only once. Save it immediately — it cannot be retrieved later.

Usage with Deployments

When creating a deployment, you can specify which SSH keys to inject:
If you omit ssh_key_ids, all your SSH keys are injected automatically. Every ID must be one of your keys. An unknown ID — a deleted key, or a key ID from another account — is rejected with invalid_ssh_key before anything is created or charged.