For the complete documentation index, see llms.txt. This page is also available as Markdown.

Execution logs

Troubleshoot actions, integrations, analytics events, and voice STT failures.

Execution logs

Execution logs help you monitor and troubleshoot actions, integrations, analytics events, and voice speech-to-text failures triggered by your bot.

Use this page to inspect failures, review inputs and outputs, and verify whether expected events or voice transcriptions were handled correctly.

This page is different from SettingsAudit logs and from portal or developer app execution logs.

Open Execution logs

Go to HistoryExecution logs.

The page contains four tabs:

  • Code Actions & API

  • Integrations

  • Tracking Events

  • Voice

Code Actions & API

This tab shows failed API Action and code action executions.

Use it to debug custom API calls and code actions that did not complete successfully.

Keep in mind:

  • This tab shows errors, not every successful execution.

  • You can inspect the status code, request URL, error message, timestamp, related bot dialog, bot version, request details, and response details.

  • A row opens an error details drawer.

  • Code actions may appear with a Chatlayer internal URL such as chatlayer://code-actions.

  • CSV export is available for API error logs.

Columns

  • Timestamp

  • Request, including HTTP method and URL

  • Status code

  • Error message

  • Bot dialog

  • Version, such as Draft or Live

Filters

  • Date range

  • Status code range, such as 2xx, 3xx, 4xx, or 5xx

  • HTTP method, such as GET, POST, PUT, PATCH, or DELETE

This tab supports CSV export for API error logs.

Retention follows the bot's data retention setting for error history.

Integrations

This tab shows executions of App Integration actions triggered by bot dialogs.

Unlike Code Actions & API, this tab can show both successful and failed executions.

Use this tab to check whether an App Integration action ran successfully.

You can see which action ran, which bot dialog triggered it, which account was used, and when it happened.

You can open a row to inspect the action input and output.

Failed executions show error details in the output panel.

Columns

  • Timestamp

  • Status, such as success or failed

  • Bot dialog

  • Action

  • Account

Filters

  • Action or app/action search

  • Date range

  • Status: failed, success, or any status

Detail drawer

Open a row to view the detail drawer.

The drawer shows the integration action name and status.

It links back to the related bot dialog when available.

It has Input and Output tabs.

  • Input shows the JSON payload sent to the integration.

  • Output shows the returned data for successful runs or the error object for failed runs.

Logs in this tab are scoped to the current bot version, such as Draft or Live.

Tracking Events

This tab shows custom analytics events fired by Track Event blocks.

Use this tab to verify that a Track Event block was triggered.

Event attributes are visible in the event payload.

This helps you troubleshoot analytics instrumentation and missing event data.

Columns

  • Timestamp

  • Event name

  • Conversation ID

  • Channel type

Filters

  • Date range

  • Event name

  • Event properties, such as conversation ID, channel type, channel ID, campaign ID, and language

You can expand a tracking event row to inspect the full event payload, including custom attributes.

Voice

This tab shows speech-to-text failures from voice calls.

Use it to troubleshoot cases where Chatlayer could not initialize, connect to, stream to, or receive transcription from the configured STT provider.

Keep in mind:

  • The Voice tab shows STT errors, not full call transcripts or recordings.

  • Each row represents an STT failure during a voice call.

  • You can click a row to open Voice error details.

  • The empty state explains that STT failures during voice calls will appear here.

  • Pagination shows 50 STT errors per page.

Retention follows the same bot error-history retention setting.

Columns

  • Timestamp

  • Provider

  • Mode

  • Error code

  • Conversation

  • Message

  • Version

Filters

  • Date range

  • Provider: Microsoft or Google

  • Mode: Sync or Async

  • Error code

Error codes

  • TRANSCRIBE_FAILED — speech could not be converted to text during the call.

  • INIT_FAILED — the STT engine could not be initialized.

  • MAX_RETRIES_REACHED — the provider stayed unavailable after retry attempts.

  • PROVIDER_CONNECT_FAILED — Chatlayer could not connect to the STT provider.

  • STREAM_FAILED — the live audio stream to the provider failed or was interrupted.

Voice error details

Open a row to inspect the voice error details drawer.

The drawer can include:

  • Error code

  • Provider

  • Model, when available

  • Mode

  • Version

  • Channel ID

  • Conversation ID

  • Timestamp

  • Error message

  • Details payload, when available

Use the Conversation ID to find the related context in Conversations.

Troubleshooting examples

  • If an API Action fails, open Code Actions & API and inspect the request URL, status code, response body, and related bot dialog.

  • If an App Integration behaves unexpectedly, open Integrations, filter by action, and compare the Input and Output payloads.

  • If analytics data is missing, open Tracking Events and check whether the expected event fired with the right attributes.

  • If a voice call has transcription issues, open Voice, filter by provider or error code, then inspect the error details and related Conversation ID.

Last updated

Was this helpful?