v37

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-1170194628.0 KB
v1
Messages

Process Session Messages

Process all stored messages in a session that were previously stored with process_messages=false.

**Authentication Required**: Bearer token, API key, or session token

This endpoint allows you to retroactively process messages that were initially stored 
without processing. Useful for:
- Processing messages after deciding you want them as memories
- Batch processing large conversation sessions
- Re-processing sessions with updated AI models

**Processing Behavior**:
- Only processes messages with status 'stored_only' or 'pending'
- Uses the same smart batch analysis (every 15 messages)
- Respects existing memory creation pipeline
post/v1/messages/sessions/{session_id}/process

Path parameters

session_idstring required

Response

Session messages queued for processing

object required

Generic JSON response object