API reference

Get the model list

GET/v1/models

Get 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_KEY

Authentication schemes: BearerAuth

Request

Request headers

  • If-None-MatchstringOptional

    Validate the local cache using the ETag from the previous identical query. Current API Key permissions are checked on every request.

Query parameters

  • model_kindstringOptional

    Filter 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
  • objectstringOptional
  • dataarrayOptional
    data child fields (1)
    • []objectOptional
      [] child fields (13)
      • idstringOptional

        Model ID

      • objectstringOptional

        Object type

      • createdintegerOptional

        Creation timestamp

      • owned_bystringOptional

        Model owner

      • model_kindstringOptional

        Platform model category. Missing or unclassified means unconfirmed; do not infer it from the name.

        Enum
        ["chat","image","video","speech","multimodal","unclassified"]
      • display_namestringOptional

        Display name; API requests still use id.

      • descriptionstringOptional

        Public model description.

      • capability_tagsarrayOptional

        Confirmed 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
      • labelsarrayOptional

        Display 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_specobjectOptional

        Public model specifications exclude request overrides, channels, execution model IDs and internal notes.

        model_spec child fields (6)
        • versionintegerOptional
          Enum
          [1]
        • capabilitiesobjectOptional
          capabilities 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"]
        • limitsobjectOptional

          Known context, output and image size limits. Unknown fields are omitted.

        • contentobjectOptional
          content child fields (1)
          • uncensoredstringOptional
            Enum
            ["unknown","supported","unsupported"]
        • public_displayobjectOptional
          public_display child fields (3)
          • added_onstringOptional

            Administrator-verified catalog date; not creation time or an inferred first listing.

            Format
            "date"
          • privacy_levelstringOptional

            Explicit public label; read privacy_statement for its scope.

            Enum
            ["private","anonymized"]
          • privacy_statementstringOptional

            Public privacy explanation; third-party models may have different data policies.

      • pricing_summaryarrayOptional

        Provided 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)
      • Supported API endpoint types, used by clients to select the generation endpoint.

        supported_endpoint_types child fields (1)
        • []stringOptional
      • audioobjectOptional
        audio child fields (3)
        • operationstringRequired
          Enum
          ["speech","voice_clone"]
        • voicesarrayRequired
          voices child fields (1)
          • []stringOptional
        • formatsarrayRequired
          formats child fields (1)
          • []stringOptional

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
    error child fields (4)
    • messagestringOptional

      Error message

    • typestringOptional

      Error type

    • paramstringOptionalAllows null

      Related parameters

    • codestringOptionalAllows null

      Error code

HTTP 403

Insufficient IP, account, model, or tool permissions.

application/json

Type
object
Required fields
error

HTTP 429

Request/queue rate limit.

application/json

Type
object
Required fields
error

HTTP 500

Internal authentication or data storage failure.

application/json

Type
object
Required fields
error