v32

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-151,1412,2144.5 MB
Everywhere Inference

Update inference API key

This endpoint updates a specific API key for everywhere inference.

patch/cloud/v3/inference/{project_id}/api_keys/{api_key_name}

Path parameters

project_idinteger required

Project ID

Example:1

Project ID

api_key_namestring required

Api key name.

Example:aws-dev

Api key name.

Request body

descriptionstring nullable

Description of the API Key.

Example request

{
  "description": "This key is used for accessing the inference service."
}

Response

OK

created_atstring required

Timestamp when the API Key was created.

deployment_namesstring[] required

List of inference deployment names to which this API Key has been attached.

descriptionstring nullable required

Description of the API Key.

expires_atstring nullable required

Timestamp when the API Key will expire.

namestring required

API Key name.

Example response

{
  "created_at": "2023-10-01T12:00:00Z",
  "deployment_names": [
    "inference-1",
    "inference-2"
  ],
  "description": "This key is used for accessing the inference service.",
  "expires_at": "2024-10-01T12:00:00Z",
  "name": "my-api-key"
}