# List learning footprints

List the authenticated user's unified learning footprint with activity, time-range, search, and pagination filters.

- Capability ID: `footprints.list`
- Operation: `ielts_footprints_list`
- Category: 学习者数据
- Endpoint: `POST /api/v1/agent/capabilities/ielts_footprints_list`
- Authentication: Bearer Token（通过 /api/v1/agent-bindings 绑定账号）
- Required scopes: profile:read
- Side effect: read
- Human documentation: https://ieltsbuddy.igopx.cn/developers/api/ielts_footprints_list

## Request parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `kinds` | unknown[] | 否 | Activity kinds to include. Empty includes all kinds. |
| `limit` | number | 否 | limit |
| `offset` | number | 否 | offset |
| `query` | string | 否 | Title or description search query. |
| `timeRange` | string | 否 | timeRange |

## Request example

```bash
curl -X POST \
  'https://work.ieltsbuddy.igopx.cn/api/v1/agent/capabilities/ielts_footprints_list' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer $IELTS_BUDDY_TOKEN' \
  --data '{"kinds":[],"limit":20,"offset":0,"query":"","timeRange":"all"}'
```

## Request schema

```json
{
  "type": "object",
  "properties": {
    "kinds": {
      "default": [],
      "description": "Activity kinds to include. Empty includes all kinds.",
      "maxItems": 6,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "chat",
          "file",
          "mock",
          "note",
          "practice",
          "study"
        ]
      }
    },
    "limit": {
      "default": 20,
      "type": "integer",
      "minimum": 1,
      "maximum": 50
    },
    "offset": {
      "default": 0,
      "type": "integer",
      "minimum": 0,
      "maximum": 1000
    },
    "query": {
      "default": "",
      "description": "Title or description search query.",
      "type": "string"
    },
    "timeRange": {
      "default": "all",
      "type": "string",
      "enum": [
        "all",
        "today",
        "7d",
        "30d"
      ]
    }
  },
  "required": [
    "kinds",
    "limit",
    "offset",
    "query",
    "timeRange"
  ],
  "additionalProperties": false
}
```

## Response envelope

```json
{
  "code": 0,
  "data": {},
  "message": "ok"
}
```

## Errors

| HTTP | Code | Meaning |
| --- | --- | --- |
| 400 | `40001` | 请求参数不符合接口契约 |
| 401 | `40101` | 缺少或使用了无效的访问令牌 |
| 403 | `40301` | 访问令牌不包含接口所需权限 |
| 404 | `40401` | 接口或目标资源不存在 |
