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