models

Create Model

Create a new model configuration

post/api/models/register

Request body

model_idstring required
categorystring
model_providerstring required
model_namestring required
api_keystring nullable
base_urlstring nullable
temperaturenumber nullable
dimensioninteger nullable
abilitiesstring[] nullable
descriptionstring nullable
share_with_usersboolean
top_ninteger nullable
instructstring nullable
languagestring nullable
voicestring nullable
formatstring nullable
sample_rateinteger nullable

Response

Successful Response

idinteger required
model_idstring required
categorystring required
model_providerstring required
model_namestring required
base_urlstring nullable required
temperaturenumber nullable required
dimensioninteger nullable required
abilitiesstring[] nullable required
descriptionstring nullable required
created_atstring nullable required
updated_atstring nullable required
is_activeboolean required
is_ownerboolean required
can_editboolean required
can_deleteboolean required
is_sharedboolean required

Changes

Changed in 2 of the 4 revisions of this API.8

    • added the new optional request property instruct

      new-optional-request-property

    • added the new optional request property top_n

      new-optional-request-property

    This revision also has 8 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new optional request property format

      new-optional-request-property

    • added the new optional request property language

      new-optional-request-property

    • added the new optional request property sample_rate

      new-optional-request-property

    • added the new optional request property voice

      new-optional-request-property

    • the request property api_key became optional

      request-property-became-optional

    • request property api_key list-of-types was widened by adding types null to media type application/json

      request-property-list-of-types-widened

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog