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

Changes

Changed in 4 of the 37 revisions of this API.32

    • the response's body type changed from no type to object for status

      response-body-type-changed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • the response's body type changed from object to no type for status

      response-body-type-changed

    This revision also has 8 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • the response's body type changed from no type to object for status

      response-body-type-changed

    • added the optional property // to the response with the status

      response-optional-property-added

    • added the optional property // to the response with the status

      response-optional-property-added