Felo API PlatformFelo API Platform
v0.3.0
OpenAPI 3.1.0
Сервер:https://openapi.felo.ai
Клиентские библиотеки

Get a model

​

Returns one configured model by its Felo model id.

Параметры пути
  • model_id
    Тип: string
    мин. длина:  
    1
    обязательно

    Felo model id returned by the models list endpoint.

Query-параметры
  • provider
    Тип: string
    мин. длина:  
    1

    Optional provider filter.

Ответы
  • 200
    Тип: object · Model

    Model metadata

    • 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
    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
  • 404
    Тип: object · OpenAIErrorResponse

    Model not found

    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
  • 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/{model_id}
curl 'https://openapi.felo.ai/api/v1/models/{model_id}' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "id": "string",
  "object": "model",
  "created": 1,
  "owned_by": "string",
  "model_kind": "string",
  "additionalProperty": "anything"
}
Get a model