Gateway API
The enforcement plane. Agents talk here and nowhere else.
These routes are served by the gateway process, not the control plane, and they are the authorization boundary. The SDK is a convenience layer over them: deleting the SDK changes nothing about what an agent is allowed to do.
#Endpoints
| Endpoint | Permission | Notes | |
|---|---|---|---|
POST |
/gateway/v1/token |
none | — |
POST |
/gateway/v1/handshake |
none | — |
POST |
/gateway/v1/actions |
none | — |
POST |
/gateway/v1/mcp/call |
none | — |
POST |
/gateway/v1/a2a/invoke |
none | — |
POST |
/gateway/v1/authorize |
none | — |
GET |
/gateway/v1/tools |
none | — |
GET |
/gateway/v1/actions/{actionId} |
none | — |
POST |
/gateway/v1/runtime-attestations |
none | — |
POST |
/mcp |
none | — |
#What each endpoint does
#POST /gateway/v1/token
Exchange a signed assertion (by agent_id or key_id) for an agent session token.
Requires no console permission.
#POST /gateway/v1/handshake
Establish an agent session and receive authorized tools.
Requires no console permission.
#POST /gateway/v1/actions
Request a protected action through the enforcement pipeline.
Requires no console permission.
#POST /gateway/v1/mcp/call
Invoke an authorized MCP tool through Veefore.
Requires no console permission.
#POST /gateway/v1/a2a/invoke
Invoke a verified A2A peer through Veefore.
Requires no console permission.
#POST /gateway/v1/authorize
Evaluate a request without executing it; ALLOW returns a single-use authorization.
Requires no console permission.
#GET /gateway/v1/tools
Tools this agent is authorized to attempt.
Requires no console permission.
#GET /gateway/v1/actions/{actionId}
Outcome of one of this agent’s actions.
Requires no console permission.
#POST /gateway/v1/runtime-attestations
Signed attestation from a managed deployment’s probe.
Requires no console permission.
#POST /mcp
Veefore control tools over MCP (MCP key).
Requires no console permission.