getBotLogs

Get bot logs

GET/v1/admin/bots/{id}/logs

Authorization

AuthorizationBearer
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Header parameters

x-workspace-idstring
Workspace ID
x-multiple-integrations?string
Whether the client supports bots with multiple instances of the same integration. Set to "true" to receive integration instances keyed by their alias instead of their id. This header will be removed in the future, and the API will always return multiple instances keyed by alias.

Path parameters

idstring
Bot ID

Query parameters

timeStartstring
Beginning of the time range to get logs from
timeEnd?string
End of the time range to get logs from
level?string
Filter by log level
userId?string
Filter by user ID
workflowId?string
Filter by workflow ID
conversationId?string
Filter by conversation ID
messageContains?string
Filter logs where the message contains this substring
nextToken?string
Token to get the next page of logs

Response

Success

logsobject[]
nextToken?string