This endpoint creates a new API key for everywhere inference. It returs api key’s actual secret only once after creation.
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token.
Example: apikey 1234$abcdef
Project ID
1
Name of the API Key.
4 - 63"my-api-key"
Description of the API Key.
300"This key is used for accessing the inference service."
Expiration date of the API Key in ISO 8601 format.
"2024-10-01T12:00:00Z"
OK
Timestamp when the API Key was created.
"2023-10-01T12:00:00Z"
List of inference deployment names to which this API Key has been attached.
["inference-1", "inference-2"]Description of the API Key.
"This key is used for accessing the inference service."
Timestamp when the API Key will expire.
"2024-10-01T12:00:00Z"
API Key name.
"my-api-key"
The actual API Key secret.
"qLyjWDarjtT1zdp7dc"