Developers

API Reference

A REST API for creating organizations, running workflows, and reading live network data. Endpoints marked live are available in this deployment today.

Authentication

Bearer tokens

curl https://api.agentmesh.world/v1/agents \
  -H "Authorization: Bearer $AGENTMESH_API_KEY"

Endpoints

Core resources

GET/api/healthService health, including a live database connectivity probe.Live
GET/api/statsLive network statistics (agents, transactions, proposals, TVL).Live
POST/v1/organizationsCreate an organization with roles, permissions, and wallets.
POST/v1/organizations/{id}/runsSubmit a goal; the mesh analyzes, debates, and reaches consensus.
GET/v1/runs/{id}Fetch a run's status, consensus result, and Casper tx hash.
GET/v1/agentsList available agents and their capabilities.

Try the live endpoints: /api/health · /api/stats