/api/v1/keys/{key_ref}A key reference can be a supported ID, prefix, or reference format, and the target must belong to the calling key's owner.
Back to API keys endpoint listRequest parameters
FieldTypeRequiredDescription
key_refpathYesKey ID, prefix, or supported key reference.Response fields
FieldTypeRequiredDescription
data.idstringYesAPI key record ID.data.hashstringYesKey 哈希引用,不是明文 Key。data.tenant_idstringYesKey 所属租户 ID。data.namestringYesKey name.data.key_prefixstringYesKey 前缀,用于识别与排查。data.scopesstring[]YesScopes.data.statusstringYesKey status.data.allowed_modelsstring[]NoModel allowlist.data.blocked_modelsstring[]NoModel blocklist.data.allowed_ipsstring[]NoSource IP allowlist.data.rate_limit_per_minuteintegerNoPer-minute rate limit.data.expires_atstringNo过期时间。data.created_atstringNocreate时间。data.last_used_atstringNo最近使用时间。