agent

Get Timeline

Load full timeline for a session.

Returns all timeline events including:

  • Messages (user/assistant)
  • Tool executions with parameters and results
  • Plan summaries
  • User prompts

This enables Cursor-like session restoration where the full conversation context is restored after page refresh.

SECURITY: Verifies user owns the session.

Args: request: Request with session_id and pagination user: Current user (from JWT)

Returns: List of timeline events with pagination

post/ai/timeline

Request

  • Base URL: https://api.dialogbrain.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.dialogbrain.com/ai/timeline
  • Auth: none declared

Request body

session_idstring required
limitinteger
offsetinteger
event_typesstring[] nullable

Response

Successful Response

eventsobject[] required
totalinteger required
has_moreboolean required

Changes

No recorded changes to this operation across all 5 revisions of this API.