Update an existing API key. The description, expiration date, and consumption limits can be updated.
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 updating an existing API key. The description, expiration date, consumption limits and limit period (epoch / month / lifetime) can be updated.
The API Key ID to update
"e28e82dc-9df2-4b47-b726-d0a222ef2ab5"
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 description
"Updated API Key Name"
The API Key expiration date. Set to empty string or null to remove expiration.
"2023-10-01T12:00:00.000Z"