Authorizations
You must specify the scheme 'Api-Key' in the Authorization header. For example, Authorization: Api-Key <Your_Api_Key>
Body
application/json
Request to create an API key.
Type of the API key.
Available options:
PERSONAL
, WORKSPACE_MANAGE_ALL
, WORKSPACE_EXPORT_METRICS
, WORKSPACE_INVOKE
Optional name for the API key
Examples:
"my-api-key"
List of model IDs to scope the API key to, only present if type is 'WORKSPACE_EXPORT_METRICS' or 'WORKSPACE_INVOKE'
Examples:
["aaaaaaaa"]
Response
200 - application/json
Represents an API key.
The API key string