---
name: "getOfflineDps"
mode: "api"
versionRequirements:
  - { name: "@ray-js/lock-sdk", version: "1.1.0" }
title: "getOfflineDps - Get offline cached DP tasks."
summary: "Prefer local cache; optionally force refresh from the cloud."
---

## getOfflineDps

> [VERSION] @ray-js/lock-sdk >= 1.1.0

### Description

Get offline DP list

### Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `isForce` | `boolean` | No | Force refresh |

### Return Value

Type: `Promise<OfflineDps>`

Offline DP data

### Examples

#### Example

```ts
import { getOfflineDps } from '@ray-js/lock-sdk';
const dps = await getOfflineDps();
```
