---
title: "GET /v1/console/model-square/models/{modelName}/param-schema"
method: GET
path: "/v1/console/model-square/models/{modelName}/param-schema"
tags: ["ConsoleModelSquareService"]
---

# GET /v1/console/model-square/models/{modelName}/param-schema

`GET /v1/console/model-square/models/{modelName}/param-schema`

GetModelParamSchema 按模型名查询调用参数 schema（详情页调试面板动态渲染，公开访问）。
 GetModelParamSchema returns the resolved call-param schemas for a model (public access).

## Path parameters

- `modelName` string, required

## Response `200`

OK

- ModelsquareV1GetModelParamSchemaReply — GetModelParamSchemaReply 模型调用参数 schema 响应；schemas 为空表示该模型未绑定任何模板。 GetModelParamSchemaReply carries all resolved schemas; empty means the model has no bound template.
  - `modelId` string
  - `modelName` string
  - `schemas` ModelsquareV1ModelParamSchemaItem[]
    - `endpointType` string
    - `fields` string — fields FieldSpec 数组 JSON；groups GroupSpec 数组 JSON（结构定义见 web/packages/types/src/param-schema.ts）。
    - `groups` string
    - `isDefault` boolean
    - `requestPath` string
    - `templateCode` string
    - `templateName` string

---

[API](https://skmtc.dev/apiqik/apis/apiqik-api.md) · [All operations](https://skmtc.dev/apiqik/apis/apiqik-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/apiqik/apiqik-api/revisions/e06b96127408/schema)
