motus serve start, then interact with it over HTTP.
All endpoints are served from the base URL of your running server (e.g., http://localhost:8000).
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Reference for the Motus agent server REST API. Manage sessions, send messages, and receive results via webhooks.
motus serve start, then interact with it over HTTP.
All endpoints are served from the base URL of your running server (e.g., http://localhost:8000).
| Endpoint | Method | Description |
|---|---|---|
/health | GET | Server health check with worker and session counts |
/sessions | POST | Create a new conversation session |
/sessions/{id} | PUT | Create a session with a client-specified ID |
/sessions | GET | List all active sessions |
/sessions/{id} | GET | Get session details (supports long-polling) |
/sessions/{id} | DELETE | Delete a session and free resources |
/sessions/{id}/messages | POST | Send a message to a session |
/sessions/{id}/messages | GET | Retrieve conversation history |
Was this page helpful?
