# List boards

`GET https://evohub.io/api/v1/board/boards`

Part of the [Board API](https://docs.evohub.io/board.md) reference · operationId `listBoards`.

Every board the caller can see, newest first. Archived boards are not
listed. The list carries `auto_archive_days` as `0`; read a single
board for its setting.

Requires the `board:board:read` scope.

## Authorization

Any one of:

- `bearerKey`
- `headerKey`

Where:

- `bearerKey`: HTTP Bearer — An EvoHub API key (`evohub_…`) as a bearer token.
- `headerKey`: API key in the header `X-API-Key` — An EvoHub API key (`evohub_…`).

## Responses

### 200 — The boards.

Content type: `application/json`

Type: `object`

- `data` (object)
  - `boards` (array of Board)
    - `id` (string, example `brd_5b0c8e1a2f3d4c6b9a7e0d1f2c3b4a59`)
    - `name` (string, max length 120)
    - `description` (string, max length 500)
    - `visibility` (Visibility, one of `private`, `team`, `org`)
    - `team_id` (string): The team a `team` board belongs to; `""` for every other board.
    - `card_prefix` (string, example `PLT`): The front of every card reference on the board, as in `PLT-42`. Never changes.
    - `created_by` (string)
    - `created_at` (string (date-time))
    - `updated_at` (string (date-time))
    - `auto_archive_days` (integer, min 1, max 365): Days a card may sit in the done list before it is archived. `0` in the board list.

### 401 — No API key was sent, or it is unknown, revoked or expired (`UNAUTHORIZED`).

Content type: `application/json`

Type: `Error`

- `error` (object, required)
  - `code` (string, required, example `NOT_FOUND`)
  - `message` (string, required, example `not found`)
  - `request_id` (string)

### 403 — The key lacks the scope this endpoint needs (`FORBIDDEN`).

Content type: `application/json`

Type: `Error`

- `error` (object, required)
  - `code` (string, required, example `NOT_FOUND`)
  - `message` (string, required, example `not found`)
  - `request_id` (string)

### 429 — Too many requests (`RATE_LIMITED`). Wait for `Retry-After` seconds.

Headers:

- `Retry-After` (integer): Seconds to wait before retrying.

Content type: `application/json`

Type: `Error`

- `error` (object, required)
  - `code` (string, required, example `NOT_FOUND`)
  - `message` (string, required, example `not found`)
  - `request_id` (string)

### 500 — Something went wrong on EvoHub's side (`INTERNAL_ERROR`). Retry later.

Content type: `application/json`

Type: `Error`

- `error` (object, required)
  - `code` (string, required, example `NOT_FOUND`)
  - `message` (string, required, example `not found`)
  - `request_id` (string)

## Example request

```bash
curl -X GET 'https://evohub.io/api/v1/board/boards' \
  -H 'Authorization: Bearer <TOKEN>'
```
