---
title: "Get all committees for a state."
method: GET
path: "/eth/v1/beacon/states/{state_id}/committees"
tags: ["Beacon"]
---

# Get all committees for a state.

`GET /eth/v1/beacon/states/{state_id}/committees`

## Request

- Base URL: `eth2-beacon-mainnet.nodereal.io/v1/api_key` (relative, and the document’s source URL is not known)
- URL: `eth2-beacon-mainnet.nodereal.io/v1/api_key/eth/v1/beacon/states/{state_id}/committees`
- Auth: none declared

Retrieves the committees for the given state.

## Path parameters

- `state_id` string, required

## Query parameters

- `epoch` string
- `index` string
- `slot` string

## Response `200`

Success

- object
  - `execution_optimistic` boolean: True if the response references an unverified execution payload. Optimistic information may be invalidated at a later time. If the field is not present, assume the False value.
  - `data` object[]
    - `index` string: Committee index at a slot
    - `slot` string
    - `validators` string[]: List of validator indices assigned to this committee

## Other responses

- `400`: Invalid state ID, index, epoch, slot, or combination thereof
- `404`: State not found
- `500`: Beacon node internal error.

---

[API](https://skmtc.dev/nodereal/apis/eth-beacon-node-api.md) - [All operations](https://skmtc.dev/nodereal/apis/eth-beacon-node-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nodereal/apis/eth-beacon-node-api/revisions/1878ea8657a1?raw)
