Skip to main content
POST
/
api
/
admin
/
clusters
/
{cluster_id}
/
authorizations
/
certificate
Request Certificate
curl --request POST \
  --url https://api.primeintellect.ai/api/admin/clusters/{cluster_id}/authorizations/certificate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "publicKey": "<string>"
}
'
{
  "signedKey": "<string>",
  "validPrincipals": [
    "<string>"
  ],
  "ttl": "<string>",
  "nodes": [
    {
      "podId": "<string>",
      "host": "<string>",
      "user": "<string>",
      "podName": "<string>",
      "port": 22,
      "role": "<string>",
      "isControlNode": false
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

cluster_id
string
required

Body

application/json

Optional request body for the admin certificate endpoint.

If public_key is provided the backend will sign it directly; otherwise it falls back to the admin's DB-stored SSH public key.

publicKey
string | null

Response

Successful Response

signedKey
string
required
validPrincipals
string[]
required
ttl
string
required
nodes
ClusterNodeConnection · object[]

All connectable SSH endpoints for the cluster.