API Keys
Create API Key
Create a new API key.
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
The API Key description
Example:
"Example API Key"
The API Key type. Admin keys have full access to the API while inference keys are only able to call inference endpoints.
Available options:
ADMIN
, INFERENCE
Example:
"ADMIN"
The API Key consumption limits for each epoch.
Example:
{ "vcu": 100, "usd": 50 }
The API Key expiration date. If not provided, the key will not expire.
Available options:
Example:
"2023-10-01T12:00:00.000Z"