API Reference

REST API

Complete API reference for integrating PolyMind AI Council into your applications.

Base URLhttps://api.polymind.dev/v1

Request Body

{
  "question": "Should we adopt microservices architecture?",
  "personas": ["strategist", "creative", "skeptic", "advocate", "synthesizer"],
  "maxRounds": 3,
  "streamResponse": true
}

Response

{
  "sessionId": "council_abc123",
  "status": "started",
  "personas": [...]
}

Authentication

All API requests require a valid API key passed in the Authorization header.

Authorization: Bearer YOUR_GEMINI_API_KEY