GET
/
api
/
chat
/
history

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

bot_id
string
required
date_from
string
default:
2023-01-01T00:00:00

Start date for filtering chat history.

date_to
string
default:
2030-12-31T00:00:00

End date for filtering chat history.

order
string | null
default:
created_at.desc

Ordering of chat history. Format: '<field_name>.<direction>'.

Response

200 - application/json
bot_id
string
required

Unique identifier for the associated bot.

chat_history_response
object[]
required

List of chat history entries.

created_at
string
required

Timestamp indicating when the conversation history was created.

session_id
string
required

Identifier for the conversation session.

user_id
string
required

Unique identifier for the user.

bot_name
string | null

Optional name of the associated bot.