# bookmarks.list

`GET /api/public/v1/bookmarks/imports`

Bookmark imports of this workspace (newest first): links, folders, rejected count and how many profiles still wait for or have applied each.

- Capability: `profile.read`
- Command: no
- MCP tool: `bookmarks_list`

## Response

`200` with `{ data, correlation_id }`.

| Field | Type | Always present | Description |
|---|---|---|---|
| `data` | array<object> | yes |  |
| `data[].id` | string (uuid) | yes |  |
| `data[].name` | string | yes |  |
| `data[].source_name` | string | no |  |
| `data[].links` | integer | yes | (min -9007199254740991, max 9007199254740991) |
| `data[].folders` | integer | yes | (min -9007199254740991, max 9007199254740991) |
| `data[].rejected_count` | integer | yes | (min -9007199254740991, max 9007199254740991) |
| `data[].rejected` | array<object> | no | Up to 50 examples (title and scheme only) |
| `data[].rejected[].reason` | "unsafe_scheme" \| "invalid_url" \| "credentials" \| "too_long" \| "too_deep" \| "over_limit" | yes |  |
| `data[].rejected[].title` | string | yes |  |
| `data[].rejected[].scheme` | string | yes |  |
| `data[].duplicates_in_file` | integer | yes | (min -9007199254740991, max 9007199254740991) |
| `data[].sha256` | string | yes |  |
| `data[].created_at` | string | yes |  |
| `data[].pending` | integer | yes | Profiles that still wait for (or are applying) this import (min -9007199254740991, max 9007199254740991) |
| `data[].applied` | integer | yes | (min -9007199254740991, max 9007199254740991) |
| `correlation_id` | string (uuid) | yes |  |

New fields can appear at any time; ignore the ones you do not know.

## Errors

| Code | HTTP | Retryable |
|---|---|---|
| `UNAUTHENTICATED` | 401 | no |
| `FORBIDDEN` | 403 | no |
| `RATE_LIMITED` | 429 | yes |
| `DEPENDENCY_UNAVAILABLE` | 503 | yes |
| `UNKNOWN` | 500 | no |

## Example (curl)

```bash
curl "https://browlix.com/api/public/v1/bookmarks/imports" \
  -H "Authorization: Bearer $BROWLIX_API_KEY"
```

## Example (TypeScript SDK)

```ts
import { Browlix } from "@browlix/sdk";

const bx = new Browlix({ apiKey: process.env.BROWLIX_API_KEY! });
const reply = await bx.call("bookmarks.list");
console.log(reply.data);
```

## Example (Python)

```python
import os
import requests

r = requests.get(
    "https://browlix.com/api/public/v1/bookmarks/imports",
    headers={"Authorization": f"Bearer {os.environ['BROWLIX_API_KEY']}"},
    timeout=60,
)
print(r.status_code, r.json())
```

## Example (MCP)

```json
{
  "method": "tools/call",
  "params": {
    "name": "bookmarks_list",
    "arguments": {}
  }
}
```
