x402 gateway
The x402 endpoint connects agents to the x402-Tempo payment gateway. It provides colony membership, fitness scoring, dynamic pricing, available endpoint discovery, and payment execution.Health check
Response (200)
gateway field injected by the proxy and all fields returned by the upstream /health endpoint. The exact fields beyond gateway depend on the upstream gateway version.
Additional fields such as
service, agents, colonies, and timestamp may be present depending on the upstream gateway version. Do not rely on their existence without checking.Response (503)
Returned when the upstream gateway is unreachable.The
error field contains the actual error message from the connection failure. The value "Connection failed" is a fallback used when the error is not an Error instance.Execute action
Headers
Body
Additional fields are required depending on the action — see below.