Skip to main content
GET
cURL

取得模型清單

此端點會擷取所有可用模型的資訊。這是一個公開的目錄端點,不需要 Authorization 標頭。
  • 方法: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.