Skip to main content
POST
Add registry credential

Authorizations

Authorization
string
header
required

Your AI Reserve API key (aireserve_api_…) from the API Keys page in the portal (https://portal.aireserve.com/keys).

Headers

Idempotency-Key
string
required

Body

application/json
name
string
required
Maximum string length: 120
registryUrl
string
required

Registry hostname without protocol (e.g. registry.example.com).

username
string
required
password
string
required

Registry password or access token. Encrypted at rest and never returned.

Response

Credential saved.

Response to a 202 Accepted Compute mutation. All fields are camelCase. Use operationId to poll GET /v1/gpu/operations/{id} for terminal status.

accepted
enum<boolean>
required
Available options:
true
resourceId
string<uuid>
required

ID of the resource created or mutated.

operationId
string<uuid>
required

ID for the durable operation record. Poll GET /v1/gpu/operations/{id} for terminal status.

status
enum<string>
required
Available options:
accepted,
pending
resourceType
enum<string>
Available options:
pod,
volume,
template,
registry,
ssh_key