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
- Create a key on the API Keys page and copy the one-time secret.
- Send a standalone request to verify the key — see the example below.
- 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
- AccessAPI keysCreate scoped bearer keys for the Responses API and revoke ones you no longer need.Manage keys
- MonitoringRequest logsPer-request status, duration, model, and error detail for traffic on your keys.View logs
- StateUniversesPersistent state containers created from server-side stored prompts.Browse universes
- ConceptsDocsHow the stateful Responses API works: universes, the 64/16 window, diagnostics.Read the docs
- ReferenceAPI referenceEndpoint-level contract: request bodies, response shape, errors, and scopes.Open reference