Back to documentation

API Reference

REST Endpoints

Core API routes for servers, PRIME, billing, and agents.

Base URL

Production: https://api.aurion.ai/api/v1
Local:      http://localhost:4000/api/v1

Common routes

  • GET /health — service status
  • GET /auth/me — current user
  • GET /servers — connected guilds
  • POST /prime/command — submit PRIME command
  • GET /workspace/dashboard — dashboard snapshot
  • GET /billing/subscription — plan and usage
  • GET /templates — marketplace templates
  • GET /security/:guildId/config — Sentinel settings

Guild-scoped routes

Most agent routes require a guildId path or query parameter. Your JWT must belong to a user who owns or manages that server.

Response format

JSON responses with standard HTTP status codes. Errors return { message: string } with 4xx/5xx codes.