Create API key
/v1/keysCreate a new Token360 inference API key.
The raw API key is returned once in the key field. Store it securely; later responses only include the key hash.
Authentication
Authorization Bearer
Use either a Token360 API key (sk-token360-...) or a signed-in user JWT.
Request Body
namestringrequiredName for the new API key.
workspace_idstringWorkspace code. Defaults to DEFAULT.
expires_atstring | nullOptional UTC ISO-8601 expiration timestamp, such as 2029-11-30T23:59:59Z. Non-UTC offsets are rejected.
creator_user_idstring | nullAccepted but ignored.
limitnumber | nullAccepted but not persisted.
limit_resetstring | nullAccepted but not persisted.
Response
keystringRaw API key, shown only once.
dataobjectCreated API key details.
data.hashstringHash identifier used by management endpoints.
data.namestringAPI key name.
data.labelstringHuman-readable label. Matches name.
data.disabledbooleanTrue when the key status is not ACTIVE or expires_at is in the past.
data.workspace_idstringWorkspace code for the key.
data.creator_user_idstring | nullOwner user ID.
data.created_atstringCreate timestamp in UTC ISO-8601 format.
data.updated_atstring | nullLast update timestamp.
data.expires_atstring | nullUTC expiration timestamp, or null.
data.usagenumberTotal Token360 credit usage in USD.
data.usage_dailynumberDaily usage. Currently 0.
data.usage_weeklynumberWeekly usage. Currently 0.
data.usage_monthlynumberMonthly usage. Currently 0.
data.limitnumber | nullSpending limit. Currently null.
data.limit_remainingnumber | nullRemaining spending limit. Currently null.
data.limit_resetstring | nullLimit reset interval. Currently null.
data.is_free_tierbooleanCurrently false.
data.is_management_keybooleanCurrently true for these management responses.
data.is_provisioning_keybooleanCurrently false.
data.rate_limitobjectPer-minute request limit metadata.