跳转到主要内容
GET
GET /admin/api/credentials/usage

授权

gproxy_session
string
cookie
必填

请求头

x-gproxy-admin-scope
string

Administrative scope selected by the caller.

查询参数

credentialId
string | null
enabled
boolean | null
globalOnly
boolean | null

Restrict price rules to the global scope.

modelId
string | null
modelPattern
string | null

Exact pricing pattern (not a runtime wildcard match).

ownerId
string | null
ownerKind
string | null
page
integer<uint64> | null

1-based. Zero and absent both mean the first page.

必填范围: x >= 0
pageSize
integer<uint64> | null

Clamped to 1..=500; absent means 50.

必填范围: x >= 0
priceRuleId
string | null
providerId
string | null
routeId
string | null
ruleSetId
string | null
search
string | null

Case-insensitive substring of the family's natural name column.

响应

Success

credential
object
必填

A credential without its secret. Only presence and expiry timestamps are exposed; reading the material itself requires Credentials::reveal_secret.

cycles
object[]
必填

Open cycles only, by window.