Platform API
Retrieve Single KEY Details
Get detailed information about a KEY based on token_id
GET
Retrieve Single KEY Details
Request Parameters
Request Headers
Authentication for the request. This API uses the AIHubMix Manage Key for authentication.
Content type of the request. This parameter must be set to application/json.
Path Parameters
integer
required
KEY ID.
Response Parameters
boolean
Indicates whether the request was successful.
string
Message (may be empty). Returns the reason for failure if the request fails.
object
Key detail object. If the request fails, data may be an empty object
{}.integer
Key ID.
integer
User ID.
string
Key string (used for calls/authentication).
integer
Key status. 0 means disabled, 1 means enabled.
string
Key name.
integer
Key creation time (UNIX timestamp).
integer
Key last accessed time (UNIX timestamp).
integer
Key expiration time (UNIX timestamp); -1 means never expires.
integer
Remaining quota; -1 means unlimited.
boolean
Indicates whether the quota is unlimited. true means unlimited; false means limited.
integer
Used quota. Actual usage calculation: used_quota / 500000.
text
Models restricted for use with the current Key (an empty string means no restriction or not set).
text
IP restrictions (an empty string means no restriction or not set).
Last updated: 2026-06-01
Retrieve Single KEY Details