Endpoints
Sessions
Manage conversation sessions.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Manage conversation sessions.
curl http://localhost:6877/session \
-H "Authorization: Bearer $API_KEY"
{
"session_id": "abc-123",
"name": "Work planning",
"sources": ["memory", "gmail", "calendar"]
}
curl http://localhost:6877/session/history?session_id=abc-123 \
-H "Authorization: Bearer $API_KEY"
curl -X POST http://localhost:6877/sessions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "Project review"}'
curl http://localhost:6877/sessions \
-H "Authorization: Bearer $API_KEY"
curl -X PATCH http://localhost:6877/sessions/abc-123 \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "New name"}'
curl -X DELETE http://localhost:6877/sessions/abc-123 \
-H "Authorization: Bearer $API_KEY"
curl -X POST http://localhost:6877/sessions/abc-123/restore \
-H "Authorization: Bearer $API_KEY"
curl -X DELETE http://localhost:6877/sessions/abc-123/permanent \
-H "Authorization: Bearer $API_KEY"
curl -X POST http://localhost:6877/session/clear \
-H "Authorization: Bearer $API_KEY"
curl http://localhost:6877/sessions/archived \
-H "Authorization: Bearer $API_KEY"