admin

Toggle Model

Enable or disable a specific AI model.

Requires EDIT_SETTINGS permission.

patch/admin/models/{model_name}/toggle

Request

  • Base URL
    https://studio-api.meganova.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://studio-api.meganova.ai/admin/models/{model_name}/toggle
  • Auth
    OAuth 2
    Password
    Token URL: auth/token

Path parameters

model_namestring required

Request body

is_activeboolean required

Response

Successful Response

idstring uuid required
namestring required
display_namestring required
descriptionstring nullable
providerstring required
modalitystring required
tierstring required
context_windowinteger required
max_output_tokensinteger nullable
supports_visionboolean
supports_streamingboolean
supports_function_callingboolean
rpd_limitinteger nullable
cost_per_1m_inputnumber nullable
cost_per_1m_outputnumber nullable
is_activeboolean required
created_atstring date-time required
updated_atstring date-time required

Changes

No recorded changes to this operation across all 3 revisions of this API.