curl --request GET \
--url https://{server-url}/openai/fetchSessions/:openaiBotId/{instance} \
--header 'apikey: <api-key>'
{
"message": "OK"
}
curl --request GET \
--url https://{server-url}/openai/fetchSessions/:openaiBotId/{instance} \
--header 'apikey: <api-key>'
{
"message": "OK"
}
Your authorization key header
ID of the OpenAI bot
Name of the instance
Successfully fetched sessions
The response is of type object
.