← Back home

Maxwell Docs

Full documentation is coming soon. Here's the gist.

Call a completion

Authenticate with a Maxwell API key and reference the prompt by its public ID only — models and strategy are fixed by the prompt.

curl -X POST https://api.maxwell.dev/v1/completions \
  -H "Authorization: Bearer mxk_..." \
  -H "Content-Type: application/json" \
  -d '{"prompt_id":"prmt...","variables":{"name":"Ada"}}'

Async completions

If a prompt defines a callback URL, the endpoint returns 202 immediately and a worker POSTs the signed result to your callback URL (verify the X-Maxwell-Signature header).

Strategies