A programmatic way to build and manage your chatbot, for an AI agent or for your own code, with access you scope and revoke.
The Agent Gateway is a programmatic surface for building and managing your chatbot from outside the dashboard. It exposes the same things you work with there, your flows, knowledge base, storage tables, deployments, and conversations, as tools that can be called over a connection. Anything you would normally do by clicking through the dashboard, you can do through the gateway instead.
It is mainly a management surface. Most of its tools change things: building and publishing flows, configuring deployments, creating collections and sources, managing storage tables and rows. It also reads: searching knowledge, listing conversations, and reading transcripts.
Every call is authenticated with a token you create, limited to the scopes you grant, and confined to a workspace you belong to. Nothing done through the gateway can exceed what you could do in the dashboard yourself.
The gateway serves two kinds of caller from one set of tools:
Both go through the same tools, the same scopes, and the same checks, so it does not matter which one you use.
The full, always-current list is on the Tool catalog page, which reads straight from the running gateway.
Access rests on three things:
workspaces.list tells it which ones those are and what it may do in each.The same tools are served two ways. Use whichever fits.
workspaces.list to see the workspaces the token can reach, then pass a workspace subdomain to each tool you use.