---
title: "SDK: lists"
description: "The lists methods of the Overlane TypeScript SDK, with their signatures. Generated from the SDK types."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.overlane.app/llms.txt
> Use this file to discover all available pages before exploring further.

# SDK: lists

{/* Generated by apps/docs/scripts/generate.mjs (SDK pages from the TypeScript types in packages/sdk). Do not edit; run `pnpm --filter @overlane/docs gen`. */}

The `lists` area has 10 methods on the client. Each takes one object of path, query and body arguments and an optional `CallOptions`, and returns a promise of the response body. A refused call rejects with `OverlaneApiError` (see the [SDK index](/sdk/)).

## listsArchive

Archive records of one list (a pipeline run, for example) so they leave the list; nothing is deleted

- Request: `POST` on `/v1/tenants/{tenantId}/projects/{projectId}/lists/{listId}/archive`

```ts
listsArchive(args: { tenantId: string; projectId: string; listId: string; body: ListArchiveRequest }, options?: CallOptions): Promise<ListArchiveResponse>
```

## listsArchiveAll

Archive every active record of one list in the project

- Request: `POST` on `/v1/tenants/{tenantId}/projects/{projectId}/lists/{listId}/archive-all`

```ts
listsArchiveAll(args: { tenantId: string; projectId: string; listId: string; body?: Record<string, unknown> }, options?: CallOptions): Promise<ListArchiveResponse>
```

## listsMineArchive

Archive items of one of your own lists (your inbox, for example) so they leave it and its count; nothing is deleted

- Request: `POST` on `/v1/me/lists/{listId}/archive`

```ts
listsMineArchive(args: { listId: string; body: ListArchiveRequest }, options?: CallOptions): Promise<ListArchiveResponse>
```

## listsMineArchiveAll

Archive everything shown in one of your own lists

- Request: `POST` on `/v1/me/lists/{listId}/archive-all`

```ts
listsMineArchiveAll(args: { listId: string; body?: Record<string, unknown> }, options?: CallOptions): Promise<ListArchiveResponse>
```

## listsMineSettingsGet

Whether resolved items archive themselves in your own lists

- Request: `GET` on `/v1/me/lists/settings`

```ts
listsMineSettingsGet(args?: Record<string, never>, options?: CallOptions): Promise<UserListSettings>
```

## listsMineSettingsPut

Turn automatic archiving of resolved items in your own lists on or off

- Request: `PUT` on `/v1/me/lists/settings`

```ts
listsMineSettingsPut(args: { body: UserListSettings }, options?: CallOptions): Promise<UserListSettings>
```

## listsMineUnarchive

Bring archived items of one of your own lists back; an item you bring back is not archived automatically again

- Request: `POST` on `/v1/me/lists/{listId}/unarchive`

```ts
listsMineUnarchive(args: { listId: string; body: ListArchiveRequest }, options?: CallOptions): Promise<ListArchiveResponse>
```

## listsSettingsGet

Whether resolved records archive themselves in this project, and after how many days

- Request: `GET` on `/v1/tenants/{tenantId}/projects/{projectId}/lists/settings`

```ts
listsSettingsGet(args: { tenantId: string; projectId: string }, options?: CallOptions): Promise<ListSettings>
```

## listsSettingsPut

Turn automatic archiving of resolved records on or off, and set how many days it waits

- Request: `PUT` on `/v1/tenants/{tenantId}/projects/{projectId}/lists/settings`

```ts
listsSettingsPut(args: { tenantId: string; projectId: string; body: ListSettings }, options?: CallOptions): Promise<ListSettings>
```

## listsUnarchive

Bring archived records back into their list; a record you bring back is not archived automatically again

- Request: `POST` on `/v1/tenants/{tenantId}/projects/{projectId}/lists/{listId}/unarchive`

```ts
listsUnarchive(args: { tenantId: string; projectId: string; listId: string; body: ListArchiveRequest }, options?: CallOptions): Promise<ListArchiveResponse>
```

Source: https://docs.overlane.app/sdk/lists/index.mdx
