v3
latestSwagger 2.02026-08-067506752.0 MBai
Retrieve a previous AI chat
get/v1/org/{orgId}/ai/chat/{chatId}
Path parameters
orgIdstring required
Org identifier (either id or slug)
chatIdstring required
Chat identifier
Response
successful operation
Example response
{
"id": "588f7ee98f138b19220041a7",
"orgId": "588f7ee98f138b19220041a7",
"userId": "588f7ee98f138b19220041a7",
"agentUserId": "588f7ee98f138b19220041a7",
"behalfUserId": "588f7ee98f138b19220041a7",
"aiPromptId": "588f7ee98f138b19220041a7",
"actionId": "588f7ee98f138b19220041a7",
"actionStepId": "588f7ee98f138b19220041a7",
"shareAccess": [
{
"userId": "5887a7718f138b6a2a0041a7",
"groupId": "5887a7718f138b6a2a0041a7",
"fields": "name,image,title"
}
],
"messages": [
{
"id": "588f7ee98f138b19220041a7",
"userId": "588f7ee98f138b19220041a7",
"blocks": [
{
"toolResult": {
"outputCsv": {
"next": "588f7ee98f138b19220041a7"
},
"hintIds": [
"588f7ee98f138b19220041a7"
]
}
}
],
"fileIds": [
"588f7ee98f138b19220041a7"
]
}
],
"providedHintIds": [
"588f7ee98f138b19220041a7"
],
"createAt": "2017-01-24T13:57:52Z",
"updateAt": "2017-01-24T13:57:52Z",
"deleteId": "588f7ee98f138b19220041a7",
"deleteAt": "2017-01-24T13:57:52Z"
}