api-keys
Vesta API · 6.0.75 · Community
GET/api/v1/orchestrator-keysList Orchestrator Keys
List all orchestrator API keys (admin only)
Authentication
Responses
200
Successful Response
application/json
Schema
{
"additionalProperties": false,
"properties": {
"items": {
"items": {
"additionalProperties": false,
"properties": {
"created_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"created_by": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"enabled": {
"type": "boolean"
},
"expires_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"is_expired": {
"type": "boolean"
},
"is_valid": {
"type": "boolean"
},
"key_prefix": {
"type": "string"
},
"last_used_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
}
},
"required": [
"id",
"name",
"key_prefix",
"expires_at",
"enabled",
"is_expired",
"is_valid",
"last_used_at",
"created_at",
"created_by"
],
"type": "object"
},
"type": "array"
},
"total": {
"type": "integer"
}
},
"required": [
"items",
"total"
],
"type": "object"
}POST/api/v1/orchestrator-keysCreate Orchestrator Key
Create new orchestrator API key (admin only)
Parameters
Idempotency-Key · header · Optional
Caller-supplied UUID identifying this intent permanently. Reuse only for the same original principal, organization, action and normalized input. Not HTTP X-Request-ID.
{
"format": "uuid",
"type": "string"
}Request body
Required
application/json
Schema
Authentication
Responses
201
Durable admission receipt; pending/queued is not proof of external execution or success. A replay returns the original nonsecret receipt.
Headers
{
"Cache-Control": {
"schema": {
"const": "no-store"
}
},
"Idempotency-Key": {
"schema": {
"format": "uuid",
"type": "string"
}
},
"Idempotency-Replayed": {
"schema": {
"enum": [
"true",
"false"
],
"type": "string"
}
},
"X-Request-ID": {
"description": "Per-HTTP-request correlation, separate from durable admission identity.",
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"discriminator": {
"propertyName": "secret_delivery"
},
"oneOf": [
{
"additionalProperties": false,
"properties": {
"api_key": {
"description": "First response only. Permanently absent from replay and outcome lookup.",
"type": "string",
"writeOnly": true
},
"created_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"expires_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"key_prefix": {
"type": "string"
},
"message": {
"type": "string"
},
"name": {
"type": "string"
},
"request_id": {
"format": "uuid",
"type": "string"
},
"secret_delivery": {
"const": "one_time",
"type": "string"
},
"usage_snippet": {
"description": "First response only. Permanently absent from replay and outcome lookup.",
"type": "string",
"writeOnly": true
}
},
"required": [
"id",
"name",
"key_prefix",
"expires_at",
"created_at",
"message",
"request_id",
"secret_delivery",
"api_key",
"usage_snippet"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"created_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"expires_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"key_prefix": {
"type": "string"
},
"message": {
"type": "string"
},
"name": {
"type": "string"
},
"request_id": {
"format": "uuid",
"type": "string"
},
"secret_delivery": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"id",
"name",
"key_prefix",
"expires_at",
"created_at",
"message",
"request_id",
"secret_delivery"
],
"type": "object"
}
]
}400
Invalid domain request.
application/json
Schema
401
Authentication unavailable.
application/json
Schema
403
Current action authority unavailable.
application/json
Schema
404
Authorized resource unavailable.
application/json
Schema
409
Identity conflict, unresolved/retired outcome, pending agent rotation, stale KEK predecessor or unsupported provider contract.
application/json
Schema
413
Normalized intent exceeds admission limit.
application/json
Schema
422
Malformed identity, request validation or bulk target limit.
application/json
Schema
423
Existing source or operation custody prevents admission.
application/json
Schema
500
Outcome may be unknown after a lost/failing commit response. Reconcile the same request identity.
application/json
Schema
text/plain
Schema
{
"type": "string"
}503
Admission dependency unavailable.
application/json
Schema
DELETE/api/v1/orchestrator-keys/{key_id}Delete Orchestrator Key
Delete orchestrator API key (admin only)
Parameters
key_id · path · Required
{
"title": "Key Id",
"type": "string"
}Authentication
Responses
200
Successful Response
application/json
Schema
{}422
Validation Error
application/json
Schema
PATCH/api/v1/orchestrator-keys/{key_id}Update Orchestrator Key
Update orchestrator API key (admin only)
Parameters
key_id · path · Required
{
"title": "Key Id",
"type": "string"
}Request body
Required
application/json
Schema
Authentication
Responses
200
Successful Response
application/json
Schema
{}422
Validation Error
application/json
Schema
GET/api/v1/registration-keysList Registration Keys
List all agent registration keys (admin only)
Authentication
Responses
200
Successful Response
application/json
Schema
{
"additionalProperties": false,
"properties": {
"items": {
"items": {
"additionalProperties": false,
"properties": {
"agent_hostname": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"created_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"created_by": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"enabled": {
"type": "boolean"
},
"expires_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"is_expired": {
"type": "boolean"
},
"is_max_uses_reached": {
"type": "boolean"
},
"is_valid": {
"type": "boolean"
},
"key_prefix": {
"type": "string"
},
"last_used_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"max_uses": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
},
"use_count": {
"type": "integer"
}
},
"required": [
"id",
"name",
"key_prefix",
"expires_at",
"enabled",
"is_expired",
"is_valid",
"last_used_at",
"created_at",
"created_by",
"agent_hostname",
"max_uses",
"use_count",
"is_max_uses_reached"
],
"type": "object"
},
"type": "array"
},
"total": {
"type": "integer"
}
},
"required": [
"items",
"total"
],
"type": "object"
}POST/api/v1/registration-keysCreate Registration Key
Create new agent registration key (admin only)
Parameters
Idempotency-Key · header · Optional
Caller-supplied UUID identifying this intent permanently. Reuse only for the same original principal, organization, action and normalized input. Not HTTP X-Request-ID.
{
"format": "uuid",
"type": "string"
}Request body
Required
application/json
Schema
Authentication
Responses
201
Durable admission receipt; pending/queued is not proof of external execution or success. A replay returns the original nonsecret receipt.
Headers
{
"Cache-Control": {
"schema": {
"const": "no-store"
}
},
"Idempotency-Key": {
"schema": {
"format": "uuid",
"type": "string"
}
},
"Idempotency-Replayed": {
"schema": {
"enum": [
"true",
"false"
],
"type": "string"
}
},
"X-Request-ID": {
"description": "Per-HTTP-request correlation, separate from durable admission identity.",
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"discriminator": {
"propertyName": "secret_delivery"
},
"oneOf": [
{
"additionalProperties": false,
"properties": {
"agent_hostname": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"api_key": {
"description": "First response only. Permanently absent from replay and outcome lookup.",
"type": "string",
"writeOnly": true
},
"created_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"expires_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"key_prefix": {
"type": "string"
},
"max_uses": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"message": {
"type": "string"
},
"name": {
"type": "string"
},
"request_id": {
"format": "uuid",
"type": "string"
},
"secret_delivery": {
"const": "one_time",
"type": "string"
}
},
"required": [
"id",
"name",
"key_prefix",
"expires_at",
"created_at",
"message",
"agent_hostname",
"max_uses",
"request_id",
"secret_delivery",
"api_key"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"agent_hostname": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"created_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"expires_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"key_prefix": {
"type": "string"
},
"max_uses": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"message": {
"type": "string"
},
"name": {
"type": "string"
},
"request_id": {
"format": "uuid",
"type": "string"
},
"secret_delivery": {
"const": "unavailable",
"type": "string"
}
},
"required": [
"id",
"name",
"key_prefix",
"expires_at",
"created_at",
"message",
"agent_hostname",
"max_uses",
"request_id",
"secret_delivery"
],
"type": "object"
}
]
}400
Invalid domain request.
application/json
Schema
401
Authentication unavailable.
application/json
Schema
403
Current action authority unavailable.
application/json
Schema
404
Authorized resource unavailable.
application/json
Schema
409
Identity conflict, unresolved/retired outcome, pending agent rotation, stale KEK predecessor or unsupported provider contract.
application/json
Schema
413
Normalized intent exceeds admission limit.
application/json
Schema
422
Malformed identity, request validation or bulk target limit.
application/json
Schema
423
Existing source or operation custody prevents admission.
application/json
Schema
500
Outcome may be unknown after a lost/failing commit response. Reconcile the same request identity.
application/json
Schema
text/plain
Schema
{
"type": "string"
}503
Admission dependency unavailable.
application/json
Schema
DELETE/api/v1/registration-keys/{key_id}Delete Registration Key
Delete agent registration key (admin only)
Parameters
key_id · path · Required
{
"title": "Key Id",
"type": "string"
}Authentication
Responses
200
Successful Response
application/json
Schema
{}422
Validation Error
application/json
Schema
PATCH/api/v1/registration-keys/{key_id}Update Registration Key
Update agent registration key (admin only)
Parameters
key_id · path · Required
{
"title": "Key Id",
"type": "string"
}Request body
Required
application/json
Schema
Authentication
Responses
200
Successful Response
application/json
Schema
{}422
Validation Error
application/json