Gateway HTTP API
The gateway exposes HTTP endpoints for the Control UI and integrations. Base URL defaults to http://127.0.0.1:18789 (gateway) and http://127.0.0.1:18790 (Control UI assets).
Health
Agents
Agent endpoints manage .wingman/agents/ and update the config list.
Sessions
POST /api/sessions/:id/workdir updates the session working folder. The path must be inside gateway.fsRoots; when set, it becomes the execution root for subsequent turns in that session.
Providers
File system
Voice
Routines
Webhooks
Refer to the Automation guide for webhook payload examples.
