# Device Logs

> This interface depends on cloud capabilities and requires authorization configuration in the [Mini Program Developer Platform](https://iot.tuya.com/miniapp/) under `Development Settings` - `Cloud Capabilities`.

## Interface Capabilities

For the capability of device logs, we provide the following interface capabilities, which developers can use to call the API to complete related business development.

**Note that the following APIs require the use of `basic library > 2.18.1`.**

| Interface Name             | Description                                                    |
| -------------------------- | -------------------------------------------------------------- |
| getAnalyticsLogsPublishLog | Get the history of sent logs within a specific time period     |
| getAnalyticsLogsStatusLog  | Get the history of reported logs within a specific time period |
