# Read question Part

Read one active question Part without answers, explanations, or listening transcript. The result includes the same stable contentRef used by other consumers.

- Capability ID: `practice.read_part`
- Operation: `ielts_practice_read_part`
- Category: 题库与练习
- Endpoint: `POST /api/v1/agent/capabilities/ielts_practice_read_part`
- Authentication: Bearer Token（通过 /api/v1/agent-bindings 绑定账号）
- Required scopes: question_bank:read
- Side effect: read
- Human documentation: https://ieltsbuddy.igopx.cn/developers/api/ielts_practice_read_part

## Request parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `maxChars` | number | 否 | Maximum material characters to return. |
| `partId` | number | 是 | Practice part id returned by practice.search_parts. |

## Request example

```bash
curl -X POST \
  'https://work.ieltsbuddy.igopx.cn/api/v1/agent/capabilities/ielts_practice_read_part' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer $IELTS_BUDDY_TOKEN' \
  --data '{"maxChars":12000,"partId":1}'
```

## Request schema

```json
{
  "type": "object",
  "properties": {
    "maxChars": {
      "default": 12000,
      "description": "Maximum material characters to return.",
      "type": "integer",
      "minimum": 1000,
      "maximum": 30000
    },
    "partId": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991,
      "description": "Practice part id returned by practice.search_parts."
    }
  },
  "required": [
    "maxChars",
    "partId"
  ],
  "additionalProperties": false
}
```

## Response envelope

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

## Errors

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