List a widget's conversations
The conversations anonymous visitors had through this widget, latest first: the same as GET /v1/logs/conversations?widget_id=…, with who (end_user is the visitor's random id), how many messages, the visitors' thumbs and what it cost. Paginate with cursor: pass next_cursor from the previous page. Visitors' conversations are kept 90 days.
GET/v1/widgets/{widget_id}/conversations
Requires assistants:write.
This is List the workspace’s conversation logs filtered on one widget, so the entries have the same shape: channel is widget, and end_user is the visitor’s random id, the same for every conversation from the same browser. Visitors are anonymous. Results come latest first, and you page with cursor: see Pagination.
Conversations are kept 90 days after their last message. Questions asked in the app’s preview are not listed. Use the thumbs down to find where the assistant fails. See Visitors’ conversations.
Authorizations
Authorizationbearerin headerrequiredPath parameters
widget_idstringrequiredpattern: ^wdg_[abcdefghjkmnpqrstuvwxyz23456789]{12}$Query parameters
limitintegerrange: 1–100Number of items to return. Values outside 1-100 are clamped, and the response reports the limit actually applied.
cursorstringlength: 1–40 charsPass next_cursor from the previous page, unchanged.
Response
List a widget's conversations
dataobject[]requiredhas_morebooleanrequiredTrue when another page follows: pass next_cursor back as cursor.
next_cursorstringnullrequiredPass it back unchanged as cursor. Null on the last page.
limitintegerrequiredThe page size actually applied.
request_idstringrequiredPossible codes: invalid_request, unknown_field, invalid_parameter, invalid_cursor
errorobjectrequiredrequest_idstringrequiredPossible codes: authentication_required, invalid_api_key, api_key_expired, api_key_revoked, invalid_access_key
errorobjectrequiredrequest_idstringrequiredPossible codes: insufficient_scope, feature_not_available, admin_required, permission_denied
errorobjectrequiredrequest_idstringrequiredPossible codes: resource_not_found
errorobjectrequiredrequest_idstringrequiredPossible codes: rate_limited
errorobjectrequiredrequest_idstringrequiredPossible codes: internal_error
errorobjectrequiredrequest_idstringrequired