# Read IELTS knowledge article

Read one full published IELTS Buddy knowledge article by slug.

- Capability ID: `prep.read_guide`
- Operation: `ielts_prep_read_guide`
- Category: 备考内容
- Endpoint: `POST /api/v1/agent/capabilities/ielts_prep_read_guide`
- Authentication: 无需认证
- Required scopes: prep:read
- Side effect: read
- Human documentation: https://ieltsbuddy.igopx.cn/developers/api/ielts_prep_read_guide

## Request parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `maxChars` | number | 否 | Maximum article characters to return. |
| `offset` | number | 否 | Character offset returned by the preceding read. |
| `slug` | string | 是 | Published prep guide slug. |

## Request example

```bash
curl -X POST \
  'https://work.ieltsbuddy.igopx.cn/api/v1/agent/capabilities/ielts_prep_read_guide' \
  -H 'Content-Type: application/json' \
  --data '{"maxChars":12000,"offset":0,"slug":"guide-slug"}'
```

## Request schema

```json
{
  "type": "object",
  "properties": {
    "maxChars": {
      "default": 12000,
      "description": "Maximum article characters to return.",
      "type": "integer",
      "minimum": 1000,
      "maximum": 30000
    },
    "offset": {
      "default": 0,
      "description": "Character offset returned by the preceding read.",
      "type": "integer",
      "minimum": 0,
      "maximum": 1000000
    },
    "slug": {
      "type": "string",
      "minLength": 1,
      "description": "Published prep guide slug."
    }
  },
  "required": [
    "maxChars",
    "offset",
    "slug"
  ],
  "additionalProperties": false
}
```

## Response envelope

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

## Errors

| HTTP | Code | Meaning |
| --- | --- | --- |
| 400 | `40001` | 请求参数不符合接口契约 |
| 404 | `40401` | 接口或目标资源不存在 |
