Authentication
All API requests require a Bearer token. Include your API key in theAuthorization header:
Authorization: Bearer YOUR_API_KEY
You'll receive your API key upon joining the beta. Keys can be managed from your dashboard.
Base URL
https://api.orchestria.ai
Endpoints
/v1/sessionsBetaCreate a new music production session. Returns a session ID and initial configuration.
/v1/sessions/:idBetaRetrieve session details, including current stems, version history, and agent states.
/v1/sessions/:id/commandBetaSend a natural-language command to the session. Agents will process and respond in real time.
/v1/sessions/:id/stemsBetaList all stems in the current session version. Returns metadata, format, and download URLs.
/v1/sessions/:id/exportComing SoonExport the current mix or individual stems in WAV, MP3, or MIDI format.
/v1/sessions/:id/versionsComing SoonRetrieve the version history for a session. Each version includes a diff summary.
/v1/sessions/:id/rollbackComing SoonRoll back a session to a previous version by version number.
/v1/agentsBetaList all available agents with their capabilities, supported parameters, and status.
Quick Example
Create a new session and send a command:
# Create a session
curl -X POST https://api.orchestria.ai/v1/sessions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"bpm": 90, "key": "Cm", "genre": "lo-fi"}'
# Send a command
curl -X POST https://api.orchestria.ai/v1/sessions/SESSION_ID/command \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"text": "Add warm piano chords with reverb"}'Rate Limits
During the beta, the following rate limits apply:
- 60 requests/minute per API key
- 10 concurrent sessions per account
- 100 exports/day during the beta period
Need higher limits? Contact us at api@orchestria.tech.
SDKs & Libraries
Official SDKs are in development for:
- JavaScript / TypeScript (npm)
- Python (pip)
- Swift (SPM)
In the meantime, the REST API works with any HTTP client. Community wrappers are welcome — check our GitHub for contribution guidelines.