Create a new API key.
Documentation Index
Fetch the complete documentation index at: https://docs.venice.ai/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The request body for creating a new API key. API key creation is rate limited to 20 requests per minute and a maximum of 500 active API keys per user. VCU (Legacy Diem) is being deprecated in favor of tokenized Diem. Please update your API calls to use Diem instead.
The API Key type. Admin keys have full access to the API while inference keys are only able to call inference endpoints.
INFERENCE, ADMIN "ADMIN"
The API Key description
"Example API Key"
The API Key consumption limits, evaluated against the window selected by limitPeriod.
{ "usd": 50, "diem": 10, "vcu": 30 }Reset window the consumption limits apply to. EPOCH resets every UTC day (legacy default). MONTH resets on the 1st of each UTC calendar month. LIFETIME never resets, so the limit acts as a permanent cap on the key.
EPOCH, MONTH, LIFETIME "MONTH"
The API Key expiration date. If not provided, the key will not expire.
"2023-10-01T12:00:00.000Z"