Overview
OpenSail exposes a REST API through FastAPI. All endpoints are served from the Orchestrator backend. Authenticated endpoints require a valid JWT token (viaAuthorization: Bearer {token} header) or an HTTP-only session cookie.
This reference organizes every endpoint by router. For each endpoint, you will find the HTTP method, path, a brief description, and whether authentication is required.
Visit
http://localhost:8000/docs (local) or https://your-domain/docs (production) to access the interactive Swagger UI, which includes live request testing and schema documentation.Auth Endpoints
Authentication, registration, and session management.User Endpoints
User profile management.Project Endpoints
Project CRUD, file operations, container management, and assets.Project Management
Container Lifecycle
File Operations
Assets
Connections and Previews
Snapshots
Chat Endpoints
AI agent chat management and streaming.Git Endpoints
Git operations executed inside project containers.Git Provider Endpoints
Multi-provider Git integration (GitHub, GitLab, Bitbucket).Deployment Endpoints
External deployments to Vercel, Netlify, and Cloudflare.Deployment Credentials
Deployment OAuth
Marketplace Endpoints
Browse, purchase, and manage AI agents and project templates.Agents
Bases (Project Templates)
User Library
Billing Endpoints
Subscription management, credits, and usage tracking.Admin Endpoints
Platform administration (requires superuser role).Theme Endpoints
Public theme API (no authentication required).Additional Endpoints
Shell Sessions
Secrets (Environment Variables)
Kanban (Task Board)
Background Tasks
Feedback
Referrals and Creators
Health and Configuration
Common Response Patterns
Success Response
Success Response
Error Response
Error Response
400Bad Request (invalid input, validation errors)401Unauthorized (authentication required)403Forbidden (insufficient permissions)404Not Found (resource does not exist)422Unprocessable Entity (Pydantic validation error)500Internal Server Error (unexpected server error)
Paginated List Response
Paginated List Response
skip and limit query parameters (or page and limit for marketplace browse endpoints).