Skip to main content

API Reference

Complete API documentation for AuditSwarm.

Available References

GraphQL Schema

Complete GraphQL API reference with all queries, mutations, and types.

Auto-generated from Pothos schema


MCP Tools Reference

All 4 MCP tools with complete parameter documentation and examples.

  • suggest_change - Universal CRUD operations
  • query_data - GraphQL query execution
  • get_current_context - User context tracking
  • help - Workflow guidance

REST Endpoints

HTTP endpoints for health checks, OAuth, and utilities.

  • /api/health - Health check
  • /api/oauth/* - OAuth 2.1 endpoints
  • /api/graphql - GraphQL endpoint