> ## Documentation Index
> Fetch the complete documentation index at: https://koreai-content-gov.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Debug Logs API

<Badge icon="arrow-left" color="gray">[Back to API List](/ai-for-service/apis/automation/api-list)</Badge>

To fetch debug logs of a specific conversation.

| Field             | Value                                                                                                                                                              |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Method**        | GET                                                                                                                                                                |
| **Endpoint**      | `https://{{host}}/api/{{version}}/{{botId}}/debuglogs?identity={{identity}}&channelType={{channelType}}&minimumInfo=true&limit=5&offset=300&timezone={{timezone}}` |
| **Content Type**  | `application/json`                                                                                                                                                 |
| **Authorization** | `auth: {{JWT}}` See [How to generate the JWT Token](/ai-for-service/apis/automation/api-introduction/#generating-the-jwt-token).                                   |
| **API Scope**     | App Builder: Debug Logs; Admin Console: Not Applicable                                                                                                             |

## Path Parameters

| Parameter | Description                                                                                                 |
| --------- | ----------------------------------------------------------------------------------------------------------- |
| `host`    | Environment URL, for example, `https://platform.kore.ai`.                                                   |
| `botId`   | Bot identifier. Access it from the [App Profile](/ai-for-service/app-settings/app-profile) page of the bot. |

## Sample Request

```bash theme={null}
curl -X GET \
   'https://{{host}}/api/1.1/{{botId}}/debuglogs?identity={{id}}&channelType=ivrVoice&minimumInfo=true&limit=5&offset=300&timezone=America/New_York' \
  -H 'auth: {{JWT_TOKEN}}'
```

## Query Parameters

| Parameter     | Description                                                                                                                                                                                                                                                                    |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `version`     | API version. The current version is `1.1`.                                                                                                                                                                                                                                     |
| `identity`    | The channel-specific user identifier.                                                                                                                                                                                                                                          |
| `channelType` | Enter the channel type to fetch logs. Channel type such as `rtm`, `ivrVoice`, `audiocodes`, `smartassist`, `korevg`, `twiliosms`, `genesys`, `genesysV2`, `genericsms`, `agentassist`, `webhook`, `MS Teams`, `Slack`, `Mattermost`, `Facebook`, `Google Chat`, and `Telegram` |
| `minimumInfo` | Set to `true` to return minimal information.                                                                                                                                                                                                                                   |
| `limit`       | Number of records to return.                                                                                                                                                                                                                                                   |
| `offset`      | Number of records to skip.                                                                                                                                                                                                                                                     |
| `timezone`    | Timezone for the log timestamps, for example, `America/New_York`.                                                                                                                                                                                                              |

## Sample Response

```json expandable=true theme={null}
[
  {
    "timestamp": "2026-08-26T10:41:13.437Z",
    "debugTitle": "Split0001",
    "debugMessage": "Split Node Execution Completed",
    "debugLevel": "Info",
    "metaInfo": {
      "channel": "ivrVoice",
      "identity": "b243-becc-5cce-a845-f681a62dxx"
    }
  }
]
```

## Response Parameters

| Field               | Type   | Description                                                              |
| ------------------- | ------ | ------------------------------------------------------------------------ |
| `timestamp`         | String | Date and time when the debug log entry was generated in ISO 8601 format. |
| `debugTitle`        | String | Unique title or identifier of the debug event.                           |
| `debugMessage`      | String | Description of the debug event or execution result.                      |
| `debugLevel`        | String | Severity level of the log entry, such as `Info`, `Warning`, or `Error`.  |
| `metaInfo`          | Object | Additional metadata associated with the debug log entry.                 |
| `metaInfo.channel`  | String | Channel type for which the debug log was generated.                      |
| `metaInfo.identity` | String | Identifier associated with the interaction or session.                   |
