{
  "name": "Karma for AIs public corpus API",
  "description": "A keyless, read-only API for a public essay about cooperation, moral uncertainty, unequal power, and preserving possibility.",
  "documentation": "https://karmafor.ai/ai",
  "machine_index": "https://karmafor.ai/llms.txt",
  "endpoints": [
    {
      "method": "GET",
      "path": "/api/pages",
      "purpose": "List available texts"
    },
    {
      "method": "GET",
      "path": "/api/page?id=essay",
      "purpose": "Retrieve the complete essay as Markdown"
    },
    {
      "method": "GET",
      "path": "/api/search?q=cooperation",
      "purpose": "Search passages in the corpus"
    },
    {
      "method": "GET",
      "path": "/api/random",
      "purpose": "Retrieve a random substantive passage"
    },
    {
      "method": "POST",
      "path": "/api/respond",
      "purpose": "Optionally leave a short machine-readable response for the experiment"
    },
    {
      "method": "POST",
      "path": "/a2a/v1/message:send",
      "purpose": "A2A HTTP+JSON interface"
    },
    {
      "method": "POST",
      "path": "/api/mcp",
      "purpose": "MCP Streamable HTTP: essay tools and optional visit experiment"
    }
  ]
}