API reference
Get the model list
/v1/modelsGet the lightweight model list available to the current API Key in OpenAI format, filtered by group, permissions, and available routes. The list retains capabilities and uses pricing_summary instead of full price_lines; request GET /v1/models/{model} for complete prices. model_kind applies exact type filtering; an unknown type returns an empty list. There is no full/summary mode and no default pagination. Pricing summaries and type filtering are GloopAPI extensions.
Authentication and permissions
Use your current GloopAPI key. Available models, capabilities and permissions depend on its catalog and the endpoint documentation.
Authorization: Bearer $GLOOP_API_KEYAuthentication schemes: BearerAuth
Request
Request headers
If-None-MatchstringOptionalValidate the local cache using the ETag from the previous identical query. Current API Key permissions are checked on every request.
Query parameters
model_kindstringOptionalFilter by an exact model_kind, such as chat, image, or video. Filtering does not expand API Key permissions.
Responses and errors
HTTP 200
Model list retrieved successfully
- Response header ETag
{"schema":{"type":"string"},"description":"当前授权结果的内容标识。"}- Response header Cache-Control
{"schema":{"type":"string"},"description":"private, no-cache:禁止共享缓存,每次使用前重新验证。"}
application/json
- Type
- object
objectstringOptionaldataarrayOptionaldata child fields (1)
[]objectOptional[] child fields (13)
idstringOptionalModel ID
objectstringOptionalObject type
createdintegerOptionalCreation timestamp
owned_bystringOptionalModel owner
model_kindstringOptionalPlatform model category. Missing or unclassified means unconfirmed; do not infer it from the name.
- Enum
["chat","image","video","speech","multimodal","unclassified"]
display_namestringOptionalDisplay name; API requests still use id.
descriptionstringOptionalPublic model description.
capability_tagsarrayOptionalConfirmed capability tags, including reasoning, tool-calling, vision, structured-output, text-to-video and image-to-video. Use dedicated capability endpoints for executable parameters.
capability_tags child fields (1)
[]stringOptional
labelsarrayOptionalDisplay labels omit unknown values. The new label lasts seven days from the configured catalog date.
labels child fields (1)
[]stringOptional- Enum
["uncensored","private","anonymized","new"]
model_specobjectOptionalPublic model specifications exclude request overrides, channels, execution model IDs and internal notes.
model_spec child fields (6)
versionintegerOptional- Enum
[1]
capabilitiesobjectOptionalcapabilities child fields (1)
[key]stringOptional- Enum
["unknown","supported","unsupported"]
reasoningobjectOptional仅在模型已确认支持推理且所有可用路由共同支持时返回。未出现不代表可关闭或可调节。
reasoning child fields (2)
supported_effortsarrayOptional- Maximum items
6- Unique items
true
supported_efforts child fields (1)
[]stringOptional- Enum
["none","minimal","low","medium","high","xhigh"]
default_effortstringOptional- Enum
["none","minimal","low","medium","high","xhigh"]
limitsobjectOptionalKnown context, output and image size limits. Unknown fields are omitted.
contentobjectOptionalcontent child fields (1)
uncensoredstringOptional- Enum
["unknown","supported","unsupported"]
public_displayobjectOptionalpublic_display child fields (3)
added_onstringOptionalAdministrator-verified catalog date; not creation time or an inferred first listing.
- Format
"date"
privacy_levelstringOptionalExplicit public label; read privacy_statement for its scope.
- Enum
["private","anonymized"]
privacy_statementstringOptionalPublic privacy explanation; third-party models may have different data policies.
pricing_summaryarrayOptionalProvided in the model list and grouped by label, unit, and currency. min/max describe known fixed configuration ranges, not quotes. variable=true indicates dynamic or unknown pricing. A missing price does not mean free. Read single-model details for complete prices.
pricing_summary child fields (1)
[]objectOptional[] child fields (6)
labelstringRequiredunitstringRequiredcurrencystringRequiredmin_amountnumberOptionalmax_amountnumberOptionalvariablebooleanRequired
supported_endpoint_typesarrayOptionalSupported API endpoint types, used by clients to select the generation endpoint.
supported_endpoint_types child fields (1)
[]stringOptional
audioobjectOptional
HTTP 304
The current authorized catalog matches the ETag; no response body. Private caching only, with revalidation required before each use.
No response body.
HTTP 401
Authentication failed
application/json
- Type
- object
errorobjectOptional
HTTP 403
Insufficient IP, account, model, or tool permissions.
application/json
- Type
- object
- Required fields
error
errorobjectRequirederror child fields (4)
codestringOptionalmessagestringOptionaltypestringOptionalrequest_idstringOptional
HTTP 429
Request/queue rate limit.
application/json
- Type
- object
- Required fields
error
errorobjectRequirederror child fields (4)
codestringOptionalmessagestringOptionaltypestringOptionalrequest_idstringOptional
HTTP 500
Internal authentication or data storage failure.
application/json
- Type
- object
- Required fields
error
errorobjectRequirederror child fields (4)
codestringOptionalmessagestringOptionaltypestringOptionalrequest_idstringOptional