/ Softwerk Gateway

Core concepts

The gateway maps framework capabilities to REST resources under /api.

Resources

ResourcePurpose
AccountCustomer profile, permitted providers, available models, and usage
AgentsNamed LLM configurations with instructions and optional capabilities (web search, RAG, custom tools)
ChatRun a single agent in a one-shot or multi-turn conversation; continue paused tool runs
ConversationsList, retrieve, and delete persisted conversation histories
Model presetsReusable model configurations (provider, deployment, temperature, token limits)
Memory storesCustomer-scoped long-term memory buckets attached to agents
Vector databasesFirestore-backed embedding stores for retrieval-augmented generation

Typical workflow

  1. Create a model preset — configure provider, deployment, and parameters.
  2. Create an agent — attach instructions, a model preset, and optional capabilities.
  3. Chat — send messages via POST /api/chat for one-shot or multi-turn runs.
  4. Persist conversations — load and manage histories via the Conversations API.

Regions

A model preset can pin a region. Omit it (or pass global) for the global deployment, which every model has. Pass eu to keep processing inside the EU — accepted only for models that offer it, such as Azure OpenAI models with an EU deployment and Gemini models served on Google’s EU multi-region. GET /api/account/models lists the regions each model supports.

Multi-tenancy

Each API key maps to a customer_id. Data is isolated per customer. Some customers use infrastructure overrides (custom GCP project, Firestore database) resolved automatically per request.

Next