跳转到主要内容
POST
POST /admin/api/credentials/{id}/models/test

授权

gproxy_session
string
cookie
必填

请求头

x-gproxy-admin-scope
string

Administrative scope selected by the caller.

路径参数

id
string
必填

请求体

application/json
model
string
必填

响应

Success

credentialLabel
string | null
必填
error
string | null
必填
latencyMs
integer<uint64>
必填
必填范围: x >= 0
model
string
必填
ok
boolean
必填
reply
string | null
必填
status
integer<uint16>
必填

The upstream's HTTP status, or 0 when nothing was answered.

必填范围: 0 <= x <= 65535
usage
object | null
必填

What the upstream reported it spent. Absent when it reported nothing, which is not the same as zero.