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.

查询参数
  • 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