Skip to content

API keys are not open yet. These docs describe the API as it will work when keys open, so you can plan your integration now.

Docs

ewpire API documentation

One OpenAI-compatible API for the text models in ewpire. Start with the first request, then go deeper section by section. Every example comes in curl, JavaScript and Python.

Base URLhttps://ewpire.com/api/v1

curl https://ewpire.com/api/v1/chat/completions \
  -H "Authorization: Bearer $EWPIRE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"auto","messages":[{"role":"user","content":"Hello!"}]}'

Sections