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>",
  "ttl": "<string>"
}
'
{
  "data": {
    "signedKey": "<string>",
    "validPrincipals": [
      "<string>"
    ],
    "ttl": "<string>",
    "nodes": [
      {
        "podId": "<string>",
        "host": "<string>",
        "user": "<string>",
        "podName": "<string>",
        "port": 22,
        "role": "<string>",
        "isControlNode": false
      }
    ]
  },
  "status": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.primeintellect.ai/llms.txt

Use this file to discover all available pages before exploring further.

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
ttl
string | null

Requested certificate TTL as a Vault-style duration (e.g. '30m', '2h'). Capped at 8h; omit to use the server default.

Response

Successful Response

data
CertificateResponse · object

Response data

status
string | null

Response status