Skip to main content
GET
cURL

获取模型列表

此端点会检索所有可用模型的信息。它是一个公开的目录端点,不需要 Authorization header。
  • 方法:GET
  • URL:https://api.cometapi.com/api/models

响应

200 - application/json

Public model catalog response.

success
boolean
必填

Whether the catalog request completed successfully.

data
object[]
必填

Model catalog records. Each item describes one model ID and the public metadata available for routing, capability selection, and pricing review.

page
integer

Catalog page number returned by the service. A value of 0 means the unpaginated public catalog response.

page_size
integer

Number of records requested for a paginated catalog response. A value of 0 means the service returned the default public catalog response.

total
integer

Total number of catalog records available at request time.