跳转到主要内容
POST
POST /admin/api/models

授权

gproxy_session
string
cookie
必填

请求头

x-gproxy-admin-scope
string

Administrative scope selected by the caller.

请求体

application/json
name
string
必填
id
string | null
metadata
any
vocabularyFileId
string | null

响应

Success

id
string
必填
metadata
any
必填
name
string
必填
providers
object[]
必填
vocabularyFileId
string | null
必填
priceRules
object[] | null

Saved, enabled rules matching this model, in billing precedence order.