---
name: "getGyroCleanRecordDetail"
mode: "api"
versionRequirements:
  - { name: "Base Library", version: "2.29.0" }
title: "Cleaning Record Map"
---

## getGyroCleanRecordDetail

> [VERSION] Base Library >= 2.29.0

### Description

Get detailed cleaning record data for a gyroscope-based robot vacuum

### Parameters

`Params`

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `params` | `GetGyroCleanRecordDetailParams` | Yes | Parameter object containing the device ID, sub-record ID, and pagination info |

### Return Value

Type: `Promise<GetGyroCleanRecordDetailResponse>`

Promise that resolves to cleaning record details (map data, time, pagination info, etc.)

##### GetGyroCleanRecordDetailResponse

| Property | Type | Description |
| --- | --- | --- |
| `dataList` | `string[]` | Map data list |
| `startRow` | `string` | Start row marker |
| `devId` | `string` | Device ID |
| `mapId` | `number` | Map ID |
| `startTime` | `number` | Cleaning start timestamp |
| `endTime` | `number` | Cleaning end timestamp |
| `subRecordId` | `number` | Sub-record ID |
| `hasNext` | `boolean` | Whether there is a next page |

### Referenced Types

##### `interface` GetGyroCleanRecordDetailParams

| Property | Type | Description |
| --- | --- | --- |
| `devId` | `string` | Device ID |
| `subRecordId` | `number` | Sub-record ID |
| `start` | `number` | Start row (startRow) |
| `size` | `number` | Number of items per request |


### Examples

```js
const result = await ty.getGyroCleanRecordDetail({
  devId: 'your-device-id',
  subRecordId: 2001,
  start: 0,
  size: 20,
});
console.log(result.dataList, result.hasNext);
```
