MGPT API · Overview

Welcome to the MGPT API

MGPT is the stateful model boundary behind Continual MI. Conversations live inside server-owned universes: send the universe id and the next user input, and MGPT loads the prompt snapshot, conversation buffer, and output contract from durable state before calling the model.

Endpoint/api/mgpt/responses
Modelmdl-1-lite-frozen
Hostmdl.continualmi.com

Get started

  1. Create a key on the API Keys page and copy the one-time secret.
  2. Send a standalone request to verify the key — see the example below.
  3. Move to stateful requests by creating a universe and sending its id with each turn. The Docs walk through the full contract.
curl https://mdl.continualmi.com/api/mgpt/responses \
  -H "Authorization: Bearer $CONTINUAL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "mdl-1-lite-frozen",
    "userInput": "Write the next stateful step for this universe."
  }'

Explore