# An item's content as numbered lines

> GET /boards/{boardId}/items/{itemId}/text

Source: https://mockflow.com/developers/reference/items/get-item-text

**GET** `https://api.mockflow.com/v1/boards/{boardId}/items/{itemId}/text`  
Scopes: `boards:read`

**curl**

```bash
curl https://api.mockflow.com/v1/boards/brd_3f9e2a/items/itm_k9/text \
  -H "Authorization: Bearer $MOCKFLOW_API_KEY"
```

**JavaScript**

```javascript
const response = await fetch("https://api.mockflow.com/v1/boards/brd_3f9e2a/items/itm_k9/text", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MOCKFLOW_API_KEY}`
  }
});

const data = await response.json();
```

**Python**

```python
import os, requests

response = requests.get(
    "https://api.mockflow.com/v1/boards/brd_3f9e2a/items/itm_k9/text",
    headers={"Authorization": f"Bearer {os.environ['MOCKFLOW_API_KEY']}"},
)

response.raise_for_status()
data = response.json()
```

**200**

```json
{
  "itemId": "itm_k9",
  "type": "artifact",
  "totalLines": 0,
  "offset": 0,
  "lines": [
    {
      "n": 0,
      "text": "Interview 5 users"
    }
  ],
  "hasMore": false
}
```

**429**

```json
{
  "error": {
    "code": "rate_limited",
    "message": "Too many requests.",
    "docsUrl": "https://mockflow.com/developers/concepts/errors#rate_limited"
  },
  "requestId": "req_45d49816999bac40"
}
```

The whole content of one item, paged by line, the way the product's own read tool hands it to an agent. Cheaper than `data` for a long document.

### Authorization

- `Authorization` (string, required): `Bearer <key>`. The key needs `boards:read` scope. Create and manage keys in the [developer console](/developers/console/); what each scope unlocks is on the [scopes page](/developers/concepts/scopes).

### Path parameters

- `boardId` (string, required)
- `itemId` (string, required)

### Query parameters

- `offset` (integer): Defaults to `0`.
- `limit` (integer): Defaults to `100`.

### Response

- `itemId` (string)
- `type` (enum<string>): Item types, generated from the MockFlow component registry. Primitive types are drawn by the editor; frame types are rich components whose `data` schema is the same one the MCP `render_*` tool accepts.
- `totalLines` (integer)
- `offset` (integer)
- `lines` (object[]): - `n` (integer)
  - `text` (string)
- `hasMore` (boolean)

### Errors

- 429 `rate_limited`: Too many requests.
