# profiles.drift_list

`GET /api/public/v1/profiles/{id}/drift`

Latest 100 measured drift events visible to this caller.

- Capability: `profile.read`
- Command (idempotent): No
- MCP tool: `profiles_drift_list`

## Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `id` | path | string (uuid) | Yes | Profile id |

## Response

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

| Field | Type | Always present | Description |
|---|---|---|---|
| `data` | object | Yes |  |
| `data.events` | array<object> | Yes |  |
| `data.events[].id` | string (uuid) | Yes |  |
| `data.events[].field` | string | Yes |  |
| `data.events[].before` | any | Yes |  |
| `data.events[].after` | any | Yes |  |
| `data.events[].cause` | string | Yes |  |
| `data.events[].classification` | string | Yes |  |
| `data.events[].status` | string | Yes |  |
| `data.events[].created_at` | string (date-time) | Yes |  |
| `correlation_id` | string (uuid) | Yes |  |
| `ok` | true | No |  |
| `operation_id` | string \| null | No |  |
| `state_version` | integer | No | (min 0) |
| `retryable` | false | No |  |
| `next` | null | No |  |

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 |
| `VALIDATION_FAILED` | 422 | No |
| `NOT_FOUND` | 404 | No |
| `DEPENDENCY_UNAVAILABLE` | 503 | Yes |
| `UNKNOWN` | 500 | No |

## Examples (curl)

```bash
curl "https://browlix.com/api/public/v1/profiles/<id>/drift" \
  -H "Authorization: Bearer $BROWLIX_API_KEY"
```

## Examples (TypeScript SDK)

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

const bx = new Browlix({ apiKey: process.env.BROWLIX_API_KEY! });
const reply = await bx.call("profiles.drift_list", { path: { id: "<id>" } });
console.log(reply.data);
```

## Examples (Python)

```python
import os
import requests

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

## Examples (MCP)

```json
{
  "method": "tools/call",
  "params": {
    "name": "profiles_drift_list",
    "arguments": {
      "id": "<id>"
    }
  }
}
```
