Admin Models

Create or update translation for a locale

Upserts a translation for a model in a given locale

put/admin/models/{id}/translations/{locale}

Request

  • Base URL
    https://api.miaai.chat (the document declares no server; this is the origin it was published from)
  • URL
    https://api.miaai.chat/admin/models/{id}/translations/{locale}
  • Auth
    HTTP bearer

Path parameters

idstring required

Model ID

localestring required

Locale code (e.g. es-419, fr-FR)

Request body

namestring

Translated model name

descriptionstring

Translated model description

firstMsgstring

Translated first message

userFirstMsgHelpstring

Translated user first message help

defaultScenarioInitialMessagestring

Translated default scenario initial message

hobbiesstring

Translated hobbies (comma-separated)

Response

Translation saved successfully

Changes

No recorded changes to this operation across all 1 revision of this API.