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.
Authorizations
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token.
Example: apikey 1234$abcdef
Path Parameters
Project ID
1
Body
Name of the API Key.
4 - 63^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$"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"
Response
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.
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"