Everywhere Inference
Create inference API key
This endpoint creates a new API key for everywhere inference. It returs api key's actual secret only once after creation.
post/cloud/v3/inference/{project_id}/api_keys
Path parameters
project_idinteger required
Project ID
Example:1
Project ID
Request body
Example request
{
"description": "This key is used for accessing the inference service.",
"expires_at": "2024-10-01T12:00:00Z",
"name": "my-api-key"
}Response
OK
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",
"secret": "qLyjWDarjtT1zdp7dc"
}