GET
/
v2
/
bots
/
requests
/
public

Query

source
array
default: "none"required

Allows you to fetch chat history for a particular source, or all sources. Valid values are “all”,“zendesk”,“slack”,“discord”,“widget”,“intercom”,“ui”,“api”

startEpoch
number
default: "none"required

Epoch timestamp in milliseconds for the start date of history

endEpoch
number
default: "none"required

Epoch timestamp in milliseconds for the end date of history

Response

botName
string

Name of your bot in Fini Dashboard

createdAt
number

Epoch timestamp corresponding to the exact time when the question was asked

source
string

Source used to ask the question

question
string

Question asked on Fini

answer
string

Answer received from Fini

categories
string

Categories assigned by Fini

basedOn
array

This field gives detailed info on the knowledgebase used to formulate the answer

messageHistory
array

A list of messages comprising the conversation so far.