> ## Documentation Index
> Fetch the complete documentation index at: https://superdoc-caio-pizzol-docs-ai-core-preset.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# contentControls.listInRange

> List content controls within a block range.

## Summary

List content controls within a block range.

* Operation ID: `contentControls.listInRange`
* API member path: `editor.doc.contentControls.listInRange(...)`
* Mutates document: `no`
* Idempotency: `idempotent`
* Supports tracked mode: `no`
* Supports dry run: `no`
* Deterministic target resolution: `yes`

## Expected result

Returns a ContentControlsListResult scoped to the range.

## Input fields

| Field          | Type    | Required | Description |
| -------------- | ------- | -------- | ----------- |
| `endBlockId`   | string  | yes      |             |
| `limit`        | integer | no       |             |
| `offset`       | integer | no       |             |
| `startBlockId` | string  | yes      |             |

### Example request

```json theme={null}
{
  "endBlockId": "example",
  "limit": 50,
  "offset": 0,
  "startBlockId": "example"
}
```

## Output fields

| Field   | Type      | Required | Description |
| ------- | --------- | -------- | ----------- |
| `items` | object\[] | yes      |             |
| `total` | integer   | yes      |             |

### Example response

```json theme={null}
{
  "items": [
    {}
  ],
  "total": 1
}
```

## Pre-apply throws

* `TARGET_NOT_FOUND`
* `INVALID_INPUT`
* `CAPABILITY_UNAVAILABLE`

## Non-applied failure codes

* None

## Raw schemas

<Accordion title="Raw input schema">
  ```json theme={null}
  {
    "additionalProperties": false,
    "properties": {
      "endBlockId": {
        "type": "string"
      },
      "limit": {
        "type": "integer"
      },
      "offset": {
        "type": "integer"
      },
      "startBlockId": {
        "type": "string"
      }
    },
    "required": [
      "startBlockId",
      "endBlockId"
    ],
    "type": "object"
  }
  ```
</Accordion>

<Accordion title="Raw output schema">
  ```json theme={null}
  {
    "additionalProperties": false,
    "properties": {
      "items": {
        "items": {
          "type": "object"
        },
        "type": "array"
      },
      "total": {
        "type": "integer"
      }
    },
    "required": [
      "items",
      "total"
    ],
    "type": "object"
  }
  ```
</Accordion>
