Admin Models

Create a system prompt for a model

Create a new system prompt for a model that does not have one yet

post/admin/models/{id}/system-prompt

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}/system-prompt
  • Auth
    HTTP bearer

Path parameters

idstring required
Example:model-uuid-here

Model ID

Request body

textstring

Initial system prompt text

status'IN_QUEUE' | 'IN_PROGRESS' | 'COMPLETED' | 'FAILED' | 'CANCELLED' | 'TIMED_OUT'

Status of the system prompt

Example request

{
  "text": "You are a friendly AI assistant...",
  "status": "COMPLETED"
}

Response

System prompt created successfully

Changes

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