GET
/
api
/
workers
/
{workerId}
/
deploymentLogs
/
chat
List chat deployment logs for a worker with optional filtering
curl --request GET \
  --url https://brainbase-monorepo-api.onrender.com/api/workers/{workerId}/deploymentLogs/chat \
  --header 'x-api-key: <api-key>'
[
  {
    "id": "<string>",
    "startTime": "2023-11-07T05:31:56Z",
    "endTime": "2023-11-07T05:31:56Z",
    "userId": "<string>",
    "userName": "<string>",
    "userEmail": "<string>",
    "messages": {},
    "sessionData": {},
    "rating": 123,
    "feedback": "<string>",
    "messageCount": 123,
    "duration": 123
  }
]

Authorizations

x-api-key
string
header
required

API key authentication

Path Parameters

workerId
string
required

Query Parameters

deploymentId
string

Filter logs by deployment id

flowId
string

Filter logs by flow id

Response

List of chat deployment logs

id
string
required
startTime
string<date-time> | null
endTime
string<date-time> | null
userId
string | null
userName
string | null
userEmail
string | null
messages
object | null
sessionData
object | null
rating
integer | null
feedback
string | null
messageCount
integer | null
duration
integer | null