models
patch/api/v1/models/{providerId}/{modelId}

Request

  • Base URL: https://app.lobehub.com
  • URL: https://app.lobehub.com/api/v1/models/{providerId}/{modelId}
  • Auth: HTTP bearer

Path parameters

modelIdstring required
providerIdstring required

Request body

abilitiesobject nullable
configobject nullable
contextWindowTokensinteger nullable
descriptionstring nullable
displayNamestring
enabledboolean nullable
organizationstring nullable
parametersobject nullable
pricingobject nullable
releasedAtstring nullable
sortinteger nullable
source'remote' | 'custom' | 'builtin' nullable
type'chat' | 'embedding' | 'tts' | 'asr' | 'image' | 'text2video' | 'text2music' | 'realtime' | 'stt' nullable

Response

Successful response

dataobject
messagestring
successtrue required
timestampstring date-time required

Changes

    • breaking

      request property list-of-types was narrowed by removing types null from media type application/json

    • breaking

      request property list-of-types was narrowed by removing types null from media type application/json

    • breaking

      request property list-of-types was narrowed by removing types null from media type application/json

    • breaking

      request property list-of-types was narrowed by removing types null from media type application/json

    • breaking

      the response property const value false was removed for the status

    • breaking

      the response's property type changed from string to array for status

    • breaking

      removed the required property from the response with the status

    • warning

      added the new false enum value to the response property for the response status

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      added the required property to the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status