session

Get messages from session

Get messages from session. Default format is openai. Can convert to acontext (original) or anthropic format.

get/session/{session_id}/messages

Path parameters

session_idstring uuid required

Session ID

Query parameters

limitinteger

Limit of messages to return, default 20. Max 200.

cursorstring

Cursor for pagination. Use the cursor from the previous response to get the next page.

with_asset_public_urlstring

Whether to return asset public url, default is true

format'acontext' | 'openai' | 'anthropic'

Format to convert messages to: acontext (original), openai (default), anthropic.

time_descstring

Order by created_at descending if true, ascending if false (default false)

Response

OK

codeinteger
errorstring
msgstring

Changes