Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Send Authorization: Bearer <api_key>. The legacy Authorization: Api-Key <api_key> scheme is also accepted.

Path Parameters

model_id
string
required
deployment_id
string
required

Body

application/json

Request to sign an SSH certificate for accessing a workload pod.

public_key
string
required

The user's SSH public key (e.g., 'ssh-ed25519 AAAA... user@host').

replica_id
string | null

The replica to connect to. Required for training jobs (e.g. '0'). Optional for inference (server picks a running replica if omitted).

Response

200 - application/json

Response containing a signed SSH certificate for proxy authentication.

ssh_certificate
string
required

The signed SSH certificate in OpenSSH format.

jwt
string
required

Signed JWT (ES256) for SSH proxy authorization.

proxy_address
string
required

Address of the SSH proxy to connect to (host:port).

ssh_cert_expires_at
string<date-time>
required

When the certificate expires, in ISO 8601 format.