API Reference

Complete REST API documentation for the LegionEdge Platform, including authentication and resource endpoints.

The LegionEdge Platform exposes a RESTful API for managing users, projects, organizations, and authentication. All endpoints accept and return JSON, use standard HTTP methods, and follow consistent error response patterns.

Sections

Base URL

https://api.legionedge.ai/v2

Authentication

All API requests require authentication via an API key or OAuth 2.0 bearer token. Include your credentials in the Authorization header:

curl -H "Authorization: Bearer YOUR_API_KEY" \
  https://api.legionedge.ai/v2/projects

See the Authentication Overview for detailed setup instructions.