Chat API
Initiate chat
This endpoint will initiate a chat with your copilot, it will the copilot name, metdata, and other info.
GET
/
backend
/
chat
/
init
Body
X-Bot-Token
string
Your copilot uniuqe token, can be obtained from the dashboard or from get
copilot endpoint
X-Session-Id
string
The session id, you can generate a new session id for each chat, or use the same session id for the same chat
Response
type
string
The copilot response type, currently it only support text
response
object
copilot information