The HTTP API
The Gateway over plain HTTP, for programs.
The HTTP API gives a program the same tools that an agent has through MCP. Each tool is one operation. The SDKs for TypeScript and Python call this API for you.
Address and sign in
Create the key in Basement: Agents, Connect agent, Program. See Connect a program.
Operations
A tool that takes no arguments needs no body.
Errors
A call that fails answers a status and a JSON body:
See Errors and limits for how the SDKs raise these.
The same gateway
The HTTP API and MCP are two doors to one gateway. A key works on both. The access level, the limits and the activity log are the same. In the activity log, a call through this API shows “HTTP API (SDK)” and the SDK that made it.