Mix LogoMix

HTTP API

Complete guide to Mix's HTTP REST API for programmatic integration and automation.

Mix provides a REST API interface for programmatic integration and automation. The recommended way to interact with the server is throught the generated client SDK's.

HTTP Endpoints Reference

Core API Endpoints

EndpointMethodPurposeContent Type
/healthGETMonitor server status and service healthapplication/json
/docGETView OpenAPI documentationapplication/json
/streamGETServer-sent events streaming endpointtext/event-stream
/stream/messageGETMessage queue endpoint for persistent SSEtext/event-stream
/api/video/export-urlGETURL video export endpointapplication/json
/api/file-typesGETGet supported file typesapplication/json
/input/GETServe input asset files*/*
/output/GETServe output asset files*/*

Sessions API

EndpointMethodPurposeContent Type
/api/sessionsGETList all sessionsapplication/json
/api/sessionsPOSTCreate a new sessionapplication/json
/api/sessions/{id}GETGet session detailsapplication/json
/api/sessions/{id}DELETEDelete a sessionapplication/json
/api/sessions/{id}/forkPOSTFork an existing sessionapplication/json

Messages API

EndpointMethodPurposeContent Type
/api/sessions/{id}/messagesGETList session messagesapplication/json
/api/sessions/{id}/messagesPOSTSend message to sessionapplication/json
/api/messages/historyGETGet global message historyapplication/json
/api/sessions/{id}/cancelPOSTCancel agent processingapplication/json

Authentication API

EndpointMethodPurposeContent Type
/api/auth/loginPOSTOAuth authenticationapplication/json
/api/auth/apikeyPOSTSet API keyapplication/json
/api/auth/api-keyPOSTStore API key for a specific providerapplication/json
/api/auth/{provider}DELETEDelete provider credentialsapplication/json
/api/auth/statusGETGet authentication statusapplication/json
/api/auth/validateGETValidate preferred providerapplication/json
/api/auth/oauth/{provider}POSTStart OAuth authenticationapplication/json
/api/auth/oauth-callbackPOSTHandle OAuth callbackapplication/json

Preferences API

EndpointMethodPurposeContent Type
/api/preferencesGETGet user preferencesapplication/json
/api/preferencesPOSTUpdate user preferencesapplication/json
/api/preferences/providersGETGet available providersapplication/json
/api/preferences/resetPOSTReset preferences to defaultsapplication/json

System API

EndpointMethodPurposeContent Type
/api/mcpGETList MCP serversapplication/json
/api/commandsGETList available commandsapplication/json
/api/commands/{name}GETGet specific commandapplication/json
/api/permissions/{id}/grantPOSTGrant permissionapplication/json
/api/permissions/{id}/denyPOSTDeny permissionapplication/json