Felo API PlatformFelo API Platform
v0.3.0
OpenAPI 3.1.0

List available models

伺服器:https://openapi.felo.ai
用戶端程式庫

List available models

​

By default, returns all model categories, including chat, image_generation, video_generation, and decisions. Models must be enabled, listed, not deleted, and have current pricing (zero is valid). The optional provider filter retains the existing pricing and mapping conditions. Results are ordered by administrator sort_order ascending, then model name and ID. Newly synchronized models are hidden until listed by an administrator. Hiding only affects discovery lists; disabling also rejects new calls. Model detail lookup is unchanged. Read model_kind before choosing a calling endpoint: video_generation uses /api/v1/videos/generations; decisions uses /api/v1/decisions. Dedicated discovery lists are available at /api/v1/videos/models and /api/v1/decisions/models. Set exclude_video_and_decisions=true to exclude video and decision models after provider category overrides; image models remain eligible.

查詢參數
  • provider
    類型: string
    最小長度:  
    1

    Optional provider filter, for example ephone or openrouter.

  • exclude_video_and_decisions
    類型: boolean

    When true, excludes effective model_kind values video_generation and decisions. Image models remain eligible. Can be combined with provider. Omit or set false to include all categories.

回應
  • 200
    類型: object · ModelList

    Available models

    • data
      類型: array object[] · Model[]
      必填
      • created
        類型: integer 格式: int64
        必填

        Model catalog creation timestamp in Unix seconds.

      • id
        類型: string
        必填

        Felo model id.

      • object
        常數:  
        model
        必填
      • owned_by
        類型: string
        必填
      • model_kind
        類型: string

        Effective model capability category after enabled provider mapping overrides: chat, image_generation, video_generation, or decisions. Use the calling endpoint matching this category.

      • propertyName
        類型: anything
    • object
      常數:  
      list
      必填
    • propertyName
      類型: anything
    application/json
  • 401
    類型: object · OpenAIErrorResponse

    Invalid or missing Felo API key

    OpenAI-compatible error envelope. The Router may include code and message without all optional upstream fields.

    • error
      類型: object
      必填
      • message
        類型: string
        必填
      • code
        類型: string | null
      • param
        類型: string | null
      • type
        類型: string

        OpenAI-compatible error type when supplied.

      • propertyName
        類型: anything
    • propertyName
      類型: anything
    application/json
  • 422
    類型: object

    Invalid query parameter, such as an empty provider or an invalid boolean value

    • detail
      類型: array object[]
      必填
      • propertyName
        類型: anything
    application/json
  • 503
    類型: object · OpenAIErrorResponse

    Model catalog is temporarily unavailable

    OpenAI-compatible error envelope. The Router may include code and message without all optional upstream fields.

    • error
      類型: object
      必填
      • message
        類型: string
        必填
      • code
        類型: string | null
      • param
        類型: string | null
      • type
        類型: string

        OpenAI-compatible error type when supplied.

      • propertyName
        類型: anything
    • propertyName
      類型: anything
    application/json
Request Example for get/api/v1/models
curl "https://openapi.felo.ai/api/v1/models?exclude_video_and_decisions=true&provider=openrouter" \
  -H "Authorization: Bearer ${FELO_API_KEY}"
{
  "object": "list",
  "data": [
    {
      "id": "string",
      "object": "model",
      "created": 1,
      "owned_by": "string",
      "model_kind": "string",
      "additionalProperty": "anything"
    }
  ],
  "additionalProperty": "anything"
}
List available models