API 参考
API 密钥对象
可用于验证 RunAPI 请求的 Standard API 密钥。其明文值不属于可复用对象的一部分。
可用于验证 RunAPI 请求的 Standard API 密钥。其明文值不属于可复用对象的一部分。
03
JSON 请求体对象字段
可复用资源对象共享的稳定字段。
API 密钥10 个字段
allowed_modelsarray | null
必填
Optional model allowlist.
created_atstring
必填
Time the key was created.
credit_limit_centsinteger | null
必填
Optional key spending cap in USD cents.
credit_limit_reset_intervalstring | null
必填
Optional key spending-cap reset cadence.
可选值:daily, weekly, monthly, null
enabledboolean
必填
Whether the key can authenticate requests.
guardrail_idstring | null
必填
Attached guardrail prefix ID
idstring
必填
API key prefix ID.
last_used_atstring | null
必填
Time the key was last used
masked_tokenstring
必填
Masked API key value.
namestring
必填
Friendly API key name.
02