# List release rules

`GET https://api.cademi.com.br/api/v3/products/{product_id}/access-schedules/{access_schedule_id}/rules`

Operation ID: `products.access_schedules.rules.list` · API v3

Lists the release rule of each node in the product tree for the access schedule.

Returns all nodes in a single response while preserving the standard collection response format.

Required permissions: `access_schedules.read`.

## Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `product_id` | path | string | yes |  |
| `access_schedule_id` | path | string | yes |  |

## Responses

### 200

Returns the collection of release rules, one per node.

Body: `data`: array of ReleaseRule.

Fields of ReleaseRule:

| Field | Type | Required | Description |
|---|---|---|---|
| `effective` | object | yes |  |
| `explicit` | boolean | yes |  |
| `id` | string | yes |  |
| `level` | string, one of `product`, `section`, `lesson` | yes |  |
| `object` | string, one of `release_rule` | yes |  |
| `params` | object | no | Rule parameters. The shape depends on type: {days}, {date}, {exam_id}, {percent}, or empty. |
| `target_id` | string | yes | Public ID of the product, module, or lesson, depending on level. |
| `type` | string or null, one of `free`, `hidden`, `coming_soon`, `days_after_start`, `date`, `exam`, `percentage` | no | Rule type defined on the node, or null when the node has no rule of its own (explicit is false). |

### 401

The credential is missing, malformed, expired, or revoked.

Body: Error.

### 403

The current credentials do not have the permission required by this operation.

Body: Error.

### 404

The access schedule was not found for this product or is not accessible with the current credentials.

Body: Error.

Full schema: https://cademi.dev/openapi/v3.json
