メインコンテンツへスキップ
GET
/
api
/
models
Models
curl --request GET \
  --url https://api.cometapi.com/api/models \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "object": "<string>",
      "created": 123,
      "owned_by": "<string>",
      "permission": [
        {
          "id": "<string>",
          "object": "<string>",
          "created": 123,
          "allow_create_engine": true,
          "allow_sampling": true,
          "allow_logprobs": true,
          "allow_search_indices": true,
          "allow_view": true,
          "allow_fine_tuning": true,
          "organization": "<string>",
          "group": null,
          "is_blocking": true
        }
      ],
      "root": "<string>",
      "parent": null
    }
  ],
  "success": true
}

モデル一覧を取得

このエンドポイントは、利用可能なすべての model に関する情報を取得します。
  • Method: GET
  • URL: https://api.cometapi.com/api/models

承認

Authorization
string
header
必須

Bearer token authentication. Use your CometAPI key.

レスポンス

200 - application/json

Successful Response

data
object[]
必須

List containing model information. Each object represents an available model

success
boolean
必須

Indicates whether the entire API request was successfully executed