API 参考
查询模型详情
/v1/models/{model}读取当前 Key 可用的指定公开模型详情;模型可用性与实际端点能力仍需分别确认。 返回当前 Key 可见模型的完整 price_lines。列表只提供 pricing_summary;需要具体配置价格时读取本接口,参考价不替代执行报价。
鉴权与权限
使用当前 GloopAPI Key。模型、功能与权限以当前 Key 的目录及接口说明为准。
Authorization: Bearer $GLOOP_API_KEY鉴权方案: BearerAuth
请求
路径参数
modelstring必填当前 Key 目录中的模型 ID;模型详情路径只接受单路径段。
响应与错误
HTTP 200
请求成功。
application/json
- 类型
- object
idstring选填模型 ID
objectstring选填对象类型
createdinteger选填创建时间戳
owned_bystring选填模型所有者
model_kindstring选填平台模型大类。缺失或 unclassified 时不要根据模型名称猜测。
- 枚举
["chat","image","video","speech","multimodal","unclassified"]
display_namestring选填展示名称;调用仍使用 id。
descriptionstring选填公开模型说明。
capability_tagsarray选填明确支持的能力标签,例如 reasoning、tool-calling、vision、structured-output、text-to-video、image-to-video。仅用于展示和筛选;可执行参数以专用能力接口为准。
capability_tags 子字段(1)
[]string选填
labelsarray选填统一展示标签;未知值不产生标签。new 仅在配置的官网收录日期起七天内返回。
labels 子字段(1)
[]string选填- 枚举
["uncensored","private","anonymized","new"]
model_specobject选填安全投影的模型规格;不包含请求覆盖参数、渠道、执行模型 ID 或内部备注。
model_spec 子字段(6)
versioninteger选填- 枚举
[1]
capabilitiesobject选填capabilities 子字段(1)
[key]string选填- 枚举
["unknown","supported","unsupported"]
reasoningobject选填仅在模型已确认支持推理且所有可用路由共同支持时返回。未出现不代表可关闭或可调节。
reasoning 子字段(2)
supported_effortsarray选填- 最多项数
6- 项不可重复
true
supported_efforts 子字段(1)
[]string选填- 枚举
["none","minimal","low","medium","high","xhigh"]
default_effortstring选填- 枚举
["none","minimal","low","medium","high","xhigh"]
limitsobject选填已知上下文、输出限制及图片尺寸等规格。未知字段省略。
contentobject选填content 子字段(1)
uncensoredstring选填- 枚举
["unknown","supported","unsupported"]
public_displayobject选填public_display 子字段(3)
added_onstring选填管理员已核实的官网收录日期;不是创建时间或自动推断的首次上架时间。
- 格式
"date"
privacy_levelstring选填明确配置的对外标签;需结合 privacy_statement 解释范围。
- 枚举
["private","anonymized"]
privacy_statementstring选填可公开的隐私说明,不代表所有第三方模型具有相同的数据处理政策。
price_linesarray选填完整价格组合,仅单模型详情返回。
price_lines 子字段(1)
[]object选填单模型详情中的完整公开参考价格组合,不是最终报价。
[] 子字段(10)
labelstring必填unitstring必填currencystring必填amountnumber选填缺失不等于免费。
variableboolean必填aspect_ratiostring选填resolutionstring选填qualitystring选填duration_secondsinteger选填audioboolean选填
supported_endpoint_typesarray选填支持的 API 端点类型,客户端据此选择生成接口。
supported_endpoint_types 子字段(1)
[]string选填
HTTP 401
Key 缺失、无效、过期或已撤销。
application/json
- 类型
- object
- 必填字段
error
errorobject必填error 子字段(4)
codestring选填messagestring选填typestring选填request_idstring选填
HTTP 403
IP、账户、模型或工具权限不足。
application/json
- 类型
- object
- 必填字段
error
errorobject必填error 子字段(4)
codestring选填messagestring选填typestring选填request_idstring选填
HTTP 404
对象或能力不可用。
application/json
- 类型
- object
errorobject选填
HTTP 429
请求/队列限流。
application/json
- 类型
- object
- 必填字段
error
errorobject必填error 子字段(4)
codestring选填messagestring选填typestring选填request_idstring选填
HTTP 500
鉴权或数据存储内部失败。
application/json
- 类型
- object
- 必填字段
error
errorobject必填error 子字段(4)
codestring选填messagestring选填typestring选填request_idstring选填