Skip to content

List Logs in Results

Endpoint used to list logs from a specific result in a Toolzz Bot.

Terminal window
curl --request GET \
--url 'https://bots.toolzz.ai/api/v1/toolzz/{typebotId}/results/{resultId}/logs' \
--header 'Authorization: Bearer <token>'
{
"logs": [
{
"id": "<string>",
"resultId": "<string>",
"level": "<string>",
"message": "<string>",
"createdAt": "<string>"
}
]
}
ParameterTypeDescriptionRequired
AuthorizationStringAccess token (must contain “Bearer” before the token)Yes
ParameterTypeDescriptionRequired
typebotIdstringThe unique identifier of the Toolzz Bot to list logs from.Yes
resultIdstringThe unique identifier of the result. Returned by the Start Chat endpoint or found via the List Results endpoint.Yes

KeyTypeDescription
logsobject[]The logs data from the result.
logs[].idstringUnique identifier of the log entry.
logs[].resultIdstringUnique identifier of the associated result.
logs[].levelstringSeverity level of the log (e.g. info, error).
logs[].messagestringLog message content.
logs[].createdAtstringLog creation date.

To access this endpoint, it is necessary to send a valid access token through the authorization header (Authorization) of the request.