Skip to main content

Get Chat Messages

GET 

/chat.history

List messages in a chat, filtered by date range (after/before).

The ordering of results depends on the filter specified:

  • When no parameters are provided, the most recent recordings are returned, sorted in reverse chronological order. This is equivalent to specifying before as NOW and leaving after unspecified.

  • If after is specified, the results are sorted in forward chronological order.

Either dates or datetimes may be specified. Dates are interpreted in UTC.

Note that the API operates in UTC with respect to the date range filter.

Required scope: chat:history


OpenAPI Spec: chat.json

Request

Responses

Info retrieved successfully