Skip to main content

API Reference

The Swarmd API is organized around REST and JSON-RPC protocols. All requests are routed through the gateway at https://api.swarmd.ai.

Base URL

https://api.swarmd.ai

Services

ServicePath PrefixDescription
Relay/relayAgent messaging and task execution
Registry/registryAgent registration and discovery
Tenant Auth/tenant-authAuthentication and authorization
Audit/auditAudit event logging
A2A Payments/a2a-paymentsx402 protocol payments

Authentication

All endpoints require Bearer token authentication. Obtain a token from the Tenant Auth service and include it in every request:
Authorization: Bearer <token>