Skip to main content
POST
/
status
Get engine status
curl --request POST \
  --url https://api.mtengine.example.com/status \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "metadata": {
    "formality": "informal",
    "model": "model123",
    "domain": "legal",
    "customKey": "customValue"
  }
}
'
{
  "status": "ok"
}

Authorizations

Authorization
string
header
required

OAuth 2.0 for accessing the MT API. Supports client credentials (service-to-service).

Body

application/json
metadata
object

Any custom data in form of key/value pairs

Example:
{
"formality": "informal",
"model": "model123",
"domain": "legal",
"customKey": "customValue"
}

Response

Engine status

status
enum<string>
required

Engine status codes, 'ok' for fully operational, 'not_ok' for others (e.g. warm-up...)

Available options:
ok,
not_ok