# Peak OS API

**Just want ChatGPT, Claude or Codex to work with Peak OS?** No code needed: follow https://peakos.collective-genius.com/connect (Markdown: https://peakos.collective-genius.com/connect.md).

Base URL: https://peakos.collective-genius.com/api/v1
OpenAPI spec (JSON): https://peakos.collective-genius.com/api/v1/openapi.json

## Quick start

1. Ask a Peak OS admin to turn on API access for your organization and for you.
2. In Peak, open the top-right menu > **API Keys** > **Create Key**. Choose **Read & write** to make changes. Copy the key (`pk_...`); it's shown once.
3. Send it as a bearer token:

```
curl -H "Authorization: Bearer pk_..." https://peakos.collective-genius.com/api/v1/ping
```

**Several organizations?** One key works in every organization where you're a member and API access is on for you. Call `GET /organizations` to list them, then pick one per call with the `X-Peak-Organization-Id: <id>` header (or `?organizationId=<id>`). With only one organization you can skip this. If the key reaches several and you don't pick, calls answer `400 organization_required` with the list (except `/ping`, `/me` and `/organizations`), unless the key's default organization still applies.

Good to know: a key sees only the teams its owner can see in each organization. Keys are read-only unless created with write scope. Limit: 100 requests a minute. Nothing is ever deleted through the API; items are marked done, deferred or archived like in the app.

**Responses**: single items come back as `{ "data": {...}, "requestId": "..." }`; lists add `pagination` with `nextCursor`. Errors come back as `{ "error": { "code", "message", "details" }, "requestId" }` with status 400 (validation), 401 (bad key), 403 (no permission or read-only key), 404, 409 or 429.

## Endpoints at a glance

**System**: `GET /ping` health check / verify your key; `GET /me` current key's user, the organization this call ran in, every organization the key reaches, and permissions

**Organization**: `GET /organizations` organizations this key can work in right now; `GET /organization` the organization this call runs in; `GET /foundations` mission, vision, BHAG, and core values

**Teams**: `GET /teams` list teams; `GET /teams/{id}` get a team

**Members**: `GET /members` organization members

**Objectives**: `GET /objectives` list objectives; `POST /objectives` create an objective; `GET /objectives/{id}` get an objective; `PATCH /objectives/{id}` update an objective

**Key Results**: `GET /objectives/{objectiveId}/key-results` key results for an objective; `POST /key-results` create a key result; `GET /key-results/{id}` get a key result; `PATCH /key-results/{id}` update a key result; `GET /key-results/{keyResultId}/updates` update feed for a key result; `POST /key-results/{keyResultId}/updates` add an update to a key result; `POST /key-results/{keyResultId}/measures` add a measure (KPI) to a key result; `PATCH /key-results/{keyResultId}/measures/{measureId}` update a measure (set its current value, target, name or unit)

**Initiatives**: `GET /key-results/{keyResultId}/initiatives` initiatives for a key result; `POST /initiatives` create an initiative; `GET /initiatives/{id}` get an initiative; `PATCH /initiatives/{id}` update an initiative; `GET /initiatives/{initiativeId}/updates` update feed for an initiative; `POST /initiatives/{initiativeId}/updates` add an update to an initiative

**Metrics**: `GET /metrics` list metrics; `POST /metrics` create a metric; `GET /metrics/{id}` get a metric; `PATCH /metrics/{id}` update a metric; `GET /metrics/{metricId}/period-values` period values (planned/projected/actual) for a metric; `POST /metric-period-values` create/upsert a metric period value; `PATCH /metric-period-values/{id}` update a metric period value; `POST /metrics/bulk` bulk create (max 200 items); `PATCH /metrics/bulk` bulk update (max 200 items); `POST /metric-period-values/bulk` bulk create (max 200 items)

**Triage**: `GET /triage-items` list triage items; `POST /triage-items` create a triage item; `GET /triage-items/{id}` get a triage item; `PATCH /triage-items/{id}` update a triage item; `POST /triage-items/bulk` bulk create (max 200 items); `PATCH /triage-items/bulk` bulk update (max 200 items)

**Todos**: `GET /todo-items` list todo items; `POST /todo-items` create a todo item; `GET /todo-items/{id}` get a todo item; `PATCH /todo-items/{id}` update a todo item; `POST /todo-items/bulk` bulk create (max 200 items); `PATCH /todo-items/bulk` bulk update (max 200 items)

**Vision & Plan**: `GET /three-year-vision` list three year vision; `GET /three-year-vision/{id}` get a vision item; `GET /one-year-plan` list one year plan; `GET /one-year-plan/{id}` get a plan item

**Meetings**: `GET /meetings` list meetings; `POST /meetings` create a meeting; `GET /meetings/{id}` get a meeting; `PATCH /meetings/{id}` update a meeting; `POST /meetings/{id}/archive` archive an upcoming meeting

## Full reference

### System

#### GET /ping

Health check / verify your key

Returns 200 OK

#### GET /me

Current key's user, the organization this call ran in, every organization the key reaches, and permissions

Returns 200 Key context

### Organization

#### GET /organizations

Organizations this key can work in right now

The key owner's active memberships in non-archived organizations where API access is on for them. isDefault marks the one used when a call names none. Works without picking an organization.

Returns 200: list of object

#### GET /organization

The organization this call runs in

Returns 200: Organization

#### GET /foundations

Mission, vision, BHAG, and core values

Returns 200: Foundations

### Teams

#### GET /teams

List teams

Parameters:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `limit` | query: integer | no | Page size. Default: `50`. 1 to 200 |
| `cursor` | query: string | no | Cursor from the previous page's pagination.nextCursor |
| `sort_by` | query: string | no | Field to sort by |
| `sort_order` | query: string | no | One of: `asc`, `desc`. Default: `desc` |

Returns 200: list of Team

#### GET /teams/{id}

Get a team

Parameters:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `id` | path: string (uuid) | yes | Resource UUID |

Returns 200: Team

### Members

#### GET /members

Organization members

Parameters:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `status` | query: string | no | One of: `active`, `archived`, `all`. Default: `active` |
| `limit` | query: integer | no | Page size. Default: `50`. 1 to 200 |
| `cursor` | query: string | no | Cursor from the previous page's pagination.nextCursor |
| `sort_by` | query: string | no | Field to sort by |
| `sort_order` | query: string | no | One of: `asc`, `desc`. Default: `desc` |

Returns 200: list of Member

### Objectives

#### GET /objectives

List objectives

Parameters:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `teamId` | query: string (uuid) | no |  |
| `type` | query: string | no | One of: `three-year`, `annual`, `six-months`, `quarterly` |
| `status` | query: string | no | One of: `Off`, `On`, `Done`, `Push` |
| `limit` | query: integer | no | Page size. Default: `50`. 1 to 200 |
| `cursor` | query: string | no | Cursor from the previous page's pagination.nextCursor |
| `sort_by` | query: string | no | Field to sort by |
| `sort_order` | query: string | no | One of: `asc`, `desc`. Default: `desc` |

Returns 200: list of Objective

#### POST /objectives

Create an objective (write scope)

Requires a key with write scope.

Body:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `teamId` | string (uuid) | no |  |
| `title` | string | yes | Max 255 characters |
| `description` | string | no |  |
| `type` | string | yes | One of: `three-year`, `annual`, `six-months`, `quarterly` |
| `status` | string | no | One of: `Off`, `On`, `Done`, `Push`. Default: `On` |
| `progress` | integer | no | Default: `0`. 0 to 100 |
| `startDate` | string (date-time) | yes |  |
| `dueDate` | string (date-time) | yes |  |
| `ownerId` | string | no |  |
| `year` | string | no |  |
| `quarter` | integer | no | 1 to 4 |
| `half` | integer | no | 1 to 2 |

Returns 201: Objective

#### GET /objectives/{id}

Get an objective

Parameters:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `id` | path: string (uuid) | yes | Resource UUID |

Returns 200: Objective

#### PATCH /objectives/{id}

Update an objective (write scope)

Requires a key with write scope.

Parameters:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `id` | path: string (uuid) | yes | Resource UUID |

Body:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `title` | string | no | Max 255 characters |
| `description` | string | no |  |
| `status` | string | no | One of: `Off`, `On`, `Done`, `Push` |
| `progress` | integer | no | 0 to 100 |
| `startDate` | string (date-time) | no |  |
| `dueDate` | string (date-time) | no |  |
| `ownerId` | string or null | no |  |
| `year` | string | no |  |
| `quarter` | integer or null | no |  |
| `half` | integer or null | no |  |

Returns 200: Objective

### Key Results

#### GET /objectives/{objectiveId}/key-results

Key results for an objective

Parameters:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `objectiveId` | path: string (uuid) | yes | Resource UUID |
| `limit` | query: integer | no | Page size. Default: `50`. 1 to 200 |
| `cursor` | query: string | no | Cursor from the previous page's pagination.nextCursor |
| `sort_by` | query: string | no | Field to sort by |
| `sort_order` | query: string | no | One of: `asc`, `desc`. Default: `desc` |

Returns 200: list of KeyResult

#### POST /key-results

Create a key result (write scope)

Requires a key with write scope.

Body:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `objectiveId` | string (uuid) | yes |  |
| `title` | string | yes | Max 255 characters |
| `description` | string | no |  |
| `dueDate` | string (date-time) | no |  |
| `ownerId` | string | no |  |
| `status` | string | no | One of: `Off`, `On`, `Done`, `Push`. Default: `Off` |
| `progress` | integer | no | Default: `0` |
| `trackerType` | string | no | One of: `text_only`, `measure`, `checklist`. Default: `text_only` |

Returns 201: KeyResult

#### GET /key-results/{id}

Get a key result

Parameters:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `id` | path: string (uuid) | yes | Resource UUID |

Returns 200: KeyResult

#### PATCH /key-results/{id}

Update a key result (write scope)

Requires a key with write scope.

Parameters:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `id` | path: string (uuid) | yes | Resource UUID |

Body:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `title` | string | no | Max 255 characters |
| `description` | string | no |  |
| `dueDate` | string (date-time) or null | no |  |
| `ownerId` | string or null | no |  |
| `status` | string | no | One of: `Off`, `On`, `Done`, `Push` |
| `progress` | integer | no |  |

Returns 200: KeyResult

#### GET /key-results/{keyResultId}/updates

Update feed for a key result

Parameters:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `keyResultId` | path: string (uuid) | yes | Resource UUID |
| `limit` | query: integer | no | Page size. Default: `50`. 1 to 200 |
| `cursor` | query: string | no | Cursor from the previous page's pagination.nextCursor |
| `sort_by` | query: string | no | Field to sort by |
| `sort_order` | query: string | no | One of: `asc`, `desc`. Default: `desc` |

Returns 200: list of UpdateEntry

#### POST /key-results/{keyResultId}/updates

Add an update to a key result (write scope)

Requires a key with write scope. Adds a note to the Updates panel, posted as the key's owner.

Parameters:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `keyResultId` | path: string (uuid) | yes | Resource UUID |

Body:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `content` | string | yes | Max 1000 characters |

Returns 201: UpdateEntry

#### POST /key-results/{keyResultId}/measures

Add a measure (KPI) to a key result (write scope)

Requires a key with write scope. Measures are the numbers in the key result's measure tracker. The response is the key result with its measures.

Parameters:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `keyResultId` | path: string (uuid) | yes | Resource UUID |

Body:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `name` | string | yes | Max 255 characters |
| `type` | string | no | One of: `number`, `percentage`. Default: `number` |
| `current` | number | no | Default: `0` |
| `target` | number | yes |  |
| `unit` | string | no | For example $, %, or calls. Max 20 characters |

Returns 201: KeyResult

#### PATCH /key-results/{keyResultId}/measures/{measureId}

Update a measure (set its current value, target, name or unit) (write scope)

Requires a key with write scope. Get measure ids from the key result's `measures` list.

Parameters:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `keyResultId` | path: string (uuid) | yes | Resource UUID |
| `measureId` | path: string | yes |  |

Body:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `name` | string | no | Max 255 characters |
| `type` | string | no | One of: `number`, `percentage` |
| `current` | number | no |  |
| `target` | number | no |  |
| `unit` | string or null | no | Max 20 characters |

Returns 200: KeyResult

### Initiatives

#### GET /key-results/{keyResultId}/initiatives

Initiatives for a key result

Parameters:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `keyResultId` | path: string (uuid) | yes | Resource UUID |
| `limit` | query: integer | no | Page size. Default: `50`. 1 to 200 |
| `cursor` | query: string | no | Cursor from the previous page's pagination.nextCursor |
| `sort_by` | query: string | no | Field to sort by |
| `sort_order` | query: string | no | One of: `asc`, `desc`. Default: `desc` |

Returns 200: list of Initiative

#### POST /initiatives

Create an initiative (write scope)

Requires a key with write scope.

Body:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `keyResultId` | string (uuid) | yes |  |
| `title` | string | no | Max 255 characters |
| `description` | string | yes |  |
| `notes` | string | no |  |
| `ownerId` | string | no |  |
| `dueDate` | string (date-time) | no |  |
| `status` | string | no | One of: `Off`, `On`, `Done`, `Push`. Default: `On` |

Returns 201: Initiative

#### GET /initiatives/{id}

Get an initiative

Parameters:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `id` | path: string (uuid) | yes | Resource UUID |

Returns 200: Initiative

#### PATCH /initiatives/{id}

Update an initiative (write scope)

Requires a key with write scope.

Parameters:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `id` | path: string (uuid) | yes | Resource UUID |

Body:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `title` | string | no |  |
| `description` | string | no |  |
| `notes` | string or null | no |  |
| `ownerId` | string or null | no |  |
| `dueDate` | string (date-time) or null | no |  |
| `status` | string | no | One of: `Off`, `On`, `Done`, `Push` |

Returns 200: Initiative

#### GET /initiatives/{initiativeId}/updates

Update feed for an initiative

Parameters:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `initiativeId` | path: string (uuid) | yes | Resource UUID |
| `limit` | query: integer | no | Page size. Default: `50`. 1 to 200 |
| `cursor` | query: string | no | Cursor from the previous page's pagination.nextCursor |
| `sort_by` | query: string | no | Field to sort by |
| `sort_order` | query: string | no | One of: `asc`, `desc`. Default: `desc` |

Returns 200: list of UpdateEntry

#### POST /initiatives/{initiativeId}/updates

Add an update to an initiative (write scope)

Requires a key with write scope. Adds a note to the Updates panel, posted as the key's owner.

Parameters:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `initiativeId` | path: string (uuid) | yes | Resource UUID |

Body:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `content` | string | yes | Max 1000 characters |

Returns 201: UpdateEntry

### Metrics

#### GET /metrics

List metrics

Parameters:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `teamId` | query: string (uuid) | no |  |
| `category` | query: string | no |  |
| `limit` | query: integer | no | Page size. Default: `50`. 1 to 200 |
| `cursor` | query: string | no | Cursor from the previous page's pagination.nextCursor |
| `sort_by` | query: string | no | Field to sort by |
| `sort_order` | query: string | no | One of: `asc`, `desc`. Default: `desc` |

Returns 200: list of Metric

#### POST /metrics

Create a metric (write scope)

Requires a key with write scope.

Body:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `name` | string | yes | Max 255 characters |
| `description` | string | no |  |
| `category` | string | no | Default: `revenue` |
| `unit` | string | no |  |
| `currencySymbol` | string | no | Max 10 characters |
| `scale` | string | no | One of: `none`, `k`, `m`. Default: `none` |
| `targetValue` | string or number | no |  |
| `currentValue` | string or number | no | Default: `0` |
| `frequency` | string | no | One of: `quarterly`, `monthly`, `weekly`, `yearly`. Default: `quarterly` |
| `ownerId` | string | no |  |
| `teamId` | string (uuid) | no |  |

Returns 201: Metric

#### GET /metrics/{id}

Get a metric

Parameters:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `id` | path: string (uuid) | yes | Resource UUID |

Returns 200: Metric

#### PATCH /metrics/{id}

Update a metric (write scope)

Requires a key with write scope.

Parameters:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `id` | path: string (uuid) | yes | Resource UUID |

Body:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `name` | string | no |  |
| `description` | string | no |  |
| `category` | string | no |  |
| `unit` | string | no |  |
| `currencySymbol` | string | no |  |
| `scale` | string | no | One of: `none`, `k`, `m` |
| `targetValue` | string or number or null | no |  |
| `currentValue` | string or number | no |  |
| `frequency` | string | no | One of: `quarterly`, `monthly`, `weekly`, `yearly` |
| `ownerId` | string or null | no |  |
| `teamId` | string (uuid) or null | no |  |
| `isActive` | boolean | no |  |

Returns 200: Metric

#### GET /metrics/{metricId}/period-values

Period values (planned/projected/actual) for a metric

Parameters:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `metricId` | path: string (uuid) | yes | Resource UUID |
| `periodType` | query: string | no | One of: `quarterly`, `monthly`, `weekly`, `yearly` |
| `limit` | query: integer | no | Page size. Default: `50`. 1 to 200 |
| `cursor` | query: string | no | Cursor from the previous page's pagination.nextCursor |
| `sort_by` | query: string | no | Field to sort by |
| `sort_order` | query: string | no | One of: `asc`, `desc`. Default: `desc` |

Returns 200: list of MetricPeriodValue

#### POST /metric-period-values

Create/upsert a metric period value (write scope)

Requires a key with write scope. Upserts on (metricId, periodType, periodLabel).

Body:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `metricId` | string (uuid) | yes |  |
| `periodType` | string | yes | One of: `quarterly`, `monthly`, `weekly`, `yearly` |
| `periodLabel` | string | yes |  |
| `periodStart` | string (date-time) | yes |  |
| `periodEnd` | string (date-time) | yes |  |
| `planned` | string or number or null | no |  |
| `projected` | string or number or null | no |  |
| `actual` | string or number or null | no |  |

Returns 201: MetricPeriodValue

#### PATCH /metric-period-values/{id}

Update a metric period value (write scope)

Requires a key with write scope.

Parameters:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `id` | path: string (uuid) | yes | Resource UUID |

Body:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `planned` | string or number or null | no |  |
| `projected` | string or number or null | no |  |
| `actual` | string or number or null | no |  |

Returns 200: MetricPeriodValue

#### POST /metrics/bulk

Bulk create (max 200 items) (write scope)

Requires a key with write scope. Returns 207 on partial success.

Body:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `items` | array of MetricCreate | yes |  |
| `items[].name` | string | yes | Max 255 characters |
| `items[].description` | string | no |  |
| `items[].category` | string | no | Default: `revenue` |
| `items[].unit` | string | no |  |
| `items[].currencySymbol` | string | no | Max 10 characters |
| `items[].scale` | string | no | One of: `none`, `k`, `m`. Default: `none` |
| `items[].targetValue` | string or number | no |  |
| `items[].currentValue` | string or number | no | Default: `0` |
| `items[].frequency` | string | no | One of: `quarterly`, `monthly`, `weekly`, `yearly`. Default: `quarterly` |
| `items[].ownerId` | string | no |  |
| `items[].teamId` | string (uuid) | no |  |

Returns 201: object

#### PATCH /metrics/bulk

Bulk update (max 200 items) (write scope)

Requires a key with write scope. Each item needs an id. Returns 207 on partial success.

Body:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `items` | array of object | yes |  |
| `items[].id` | string (uuid) | yes |  |
| `items[].name` | string | no |  |
| `items[].description` | string | no |  |
| `items[].category` | string | no |  |
| `items[].unit` | string | no |  |
| `items[].currencySymbol` | string | no |  |
| `items[].scale` | string | no | One of: `none`, `k`, `m` |
| `items[].targetValue` | string or number or null | no |  |
| `items[].currentValue` | string or number | no |  |
| `items[].frequency` | string | no | One of: `quarterly`, `monthly`, `weekly`, `yearly` |
| `items[].ownerId` | string or null | no |  |
| `items[].teamId` | string (uuid) or null | no |  |
| `items[].isActive` | boolean | no |  |

Returns 200: object

#### POST /metric-period-values/bulk

Bulk create (max 200 items) (write scope)

Requires a key with write scope. Returns 207 on partial success.

Body:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `items` | array of MetricPeriodValueCreate | yes |  |
| `items[].metricId` | string (uuid) | yes |  |
| `items[].periodType` | string | yes | One of: `quarterly`, `monthly`, `weekly`, `yearly` |
| `items[].periodLabel` | string | yes |  |
| `items[].periodStart` | string (date-time) | yes |  |
| `items[].periodEnd` | string (date-time) | yes |  |
| `items[].planned` | string or number or null | no |  |
| `items[].projected` | string or number or null | no |  |
| `items[].actual` | string or number or null | no |  |

Returns 201: object

### Triage

#### GET /triage-items

List triage items

Parameters:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `teamId` | query: string (uuid) | no |  |
| `status` | query: string | no | One of: `in-progress`, `completed`, `deferred` |
| `limit` | query: integer | no | Page size. Default: `50`. 1 to 200 |
| `cursor` | query: string | no | Cursor from the previous page's pagination.nextCursor |
| `sort_by` | query: string | no | Field to sort by |
| `sort_order` | query: string | no | One of: `asc`, `desc`. Default: `desc` |

Returns 200: list of TriageItem

#### POST /triage-items

Create a triage item (write scope)

Requires a key with write scope.

Body:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `teamId` | string (uuid) | no |  |
| `title` | string | yes |  |
| `description` | string | no |  |
| `notes` | string | no |  |
| `ownerId` | string | no |  |
| `status` | string | no | One of: `in-progress`, `completed`, `deferred`. Default: `in-progress` |

Returns 201: TriageItem

#### GET /triage-items/{id}

Get a triage item

Parameters:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `id` | path: string (uuid) | yes | Resource UUID |

Returns 200: TriageItem

#### PATCH /triage-items/{id}

Update a triage item (write scope)

Requires a key with write scope.

Parameters:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `id` | path: string (uuid) | yes | Resource UUID |

Either edit fields (same as TriageItemUpdate), or send an `action` to do what the app does when a triage item is checked off: `defer`, `done`, `convert_to_todo` (creates a linked to-do, then marks the triage item done; the response includes `todoItem`), or `reactivate` (back to in progress).

Body, one of:

TriageItemUpdate:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `title` | string | no |  |
| `description` | string or null | no |  |
| `notes` | string or null | no |  |
| `ownerId` | string or null | no |  |
| `status` | string | no | One of: `in-progress`, `completed`, `deferred` |

Action:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `action` | string | yes | One of: `defer`, `done`, `convert_to_todo`, `reactivate` |
| `todo` | object | no | Required when action is convert_to_todo. |
| `todo.ownerId` | string | yes | Member who owns the new to-do |
| `todo.title` | string | no | Defaults to the triage item's title |
| `todo.description` | string | no |  |
| `todo.dueDate` | string (date-time) | no | Defaults to now |
| `todo.priority` | string | no | One of: `low`, `medium`, `high`, `urgent`. Default: `medium` |

Returns 200: TriageItem

#### POST /triage-items/bulk

Bulk create (max 200 items) (write scope)

Requires a key with write scope. Returns 207 on partial success.

Body:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `items` | array of TriageItemCreate | yes |  |
| `items[].teamId` | string (uuid) | no |  |
| `items[].title` | string | yes |  |
| `items[].description` | string | no |  |
| `items[].notes` | string | no |  |
| `items[].ownerId` | string | no |  |
| `items[].status` | string | no | One of: `in-progress`, `completed`, `deferred`. Default: `in-progress` |

Returns 201: object

#### PATCH /triage-items/bulk

Bulk update (max 200 items) (write scope)

Requires a key with write scope. Each item needs an id. Returns 207 on partial success.

Body:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `items` | array of object | yes |  |
| `items[].id` | string (uuid) | yes |  |
| `items[].title` | string | no |  |
| `items[].description` | string or null | no |  |
| `items[].notes` | string or null | no |  |
| `items[].ownerId` | string or null | no |  |
| `items[].status` | string | no | One of: `in-progress`, `completed`, `deferred` |

Returns 200: object

### Todos

#### GET /todo-items

List todo items

Parameters:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `teamId` | query: string (uuid) | no |  |
| `status` | query: string | no | One of: `in-progress`, `complete`, `blocked` |
| `ownerId` | query: string | no |  |
| `limit` | query: integer | no | Page size. Default: `50`. 1 to 200 |
| `cursor` | query: string | no | Cursor from the previous page's pagination.nextCursor |
| `sort_by` | query: string | no | Field to sort by |
| `sort_order` | query: string | no | One of: `asc`, `desc`. Default: `desc` |

Returns 200: list of TodoItem

#### POST /todo-items

Create a todo item (write scope)

Requires a key with write scope.

Body:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `teamId` | string (uuid) | no |  |
| `title` | string | yes |  |
| `description` | string | no |  |
| `ownerId` | string | no |  |
| `dueDate` | string (date-time) | no |  |
| `status` | string | no | One of: `in-progress`, `complete`, `blocked`. Default: `in-progress` |
| `priority` | string | no | One of: `low`, `medium`, `high`, `urgent`. Default: `medium` |
| `isPersonal` | boolean | no | Default: `false` |

Returns 201: TodoItem

#### GET /todo-items/{id}

Get a todo item

Parameters:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `id` | path: string (uuid) | yes | Resource UUID |

Returns 200: TodoItem

#### PATCH /todo-items/{id}

Update a todo item (write scope)

Requires a key with write scope.

Parameters:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `id` | path: string (uuid) | yes | Resource UUID |

Body:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `title` | string | no |  |
| `description` | string or null | no |  |
| `ownerId` | string or null | no |  |
| `dueDate` | string (date-time) or null | no |  |
| `status` | string | no | One of: `in-progress`, `complete`, `blocked` |
| `priority` | string | no | One of: `low`, `medium`, `high`, `urgent` |

Returns 200: TodoItem

#### POST /todo-items/bulk

Bulk create (max 200 items) (write scope)

Requires a key with write scope. Returns 207 on partial success.

Body:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `items` | array of TodoItemCreate | yes |  |
| `items[].teamId` | string (uuid) | no |  |
| `items[].title` | string | yes |  |
| `items[].description` | string | no |  |
| `items[].ownerId` | string | no |  |
| `items[].dueDate` | string (date-time) | no |  |
| `items[].status` | string | no | One of: `in-progress`, `complete`, `blocked`. Default: `in-progress` |
| `items[].priority` | string | no | One of: `low`, `medium`, `high`, `urgent`. Default: `medium` |
| `items[].isPersonal` | boolean | no | Default: `false` |

Returns 201: object

#### PATCH /todo-items/bulk

Bulk update (max 200 items) (write scope)

Requires a key with write scope. Each item needs an id. Returns 207 on partial success.

Body:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `items` | array of object | yes |  |
| `items[].id` | string (uuid) | yes |  |
| `items[].title` | string | no |  |
| `items[].description` | string or null | no |  |
| `items[].ownerId` | string or null | no |  |
| `items[].dueDate` | string (date-time) or null | no |  |
| `items[].status` | string | no | One of: `in-progress`, `complete`, `blocked` |
| `items[].priority` | string | no | One of: `low`, `medium`, `high`, `urgent` |

Returns 200: object

### Vision & Plan

#### GET /three-year-vision

List three year vision

Parameters:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `year` | query: integer | no |  |
| `limit` | query: integer | no | Page size. Default: `50`. 1 to 200 |
| `cursor` | query: string | no | Cursor from the previous page's pagination.nextCursor |
| `sort_by` | query: string | no | Field to sort by |
| `sort_order` | query: string | no | One of: `asc`, `desc`. Default: `desc` |

Returns 200: list of VisionItem

#### GET /three-year-vision/{id}

Get a vision item

Parameters:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `id` | path: string (uuid) | yes | Resource UUID |

Returns 200: VisionItem

#### GET /one-year-plan

List one year plan

Parameters:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `year` | query: string | no |  |
| `limit` | query: integer | no | Page size. Default: `50`. 1 to 200 |
| `cursor` | query: string | no | Cursor from the previous page's pagination.nextCursor |
| `sort_by` | query: string | no | Field to sort by |
| `sort_order` | query: string | no | One of: `asc`, `desc`. Default: `desc` |

Returns 200: list of PlanItem

#### GET /one-year-plan/{id}

Get a plan item

Parameters:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `id` | path: string (uuid) | yes | Resource UUID |

Returns 200: PlanItem

### Meetings

#### GET /meetings

List meetings

Parameters:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `teamId` | query: string (uuid) | no |  |
| `type` | query: string | no | One of: `launch`, `quarterly`, `semi_annual`, `weekly_camp`, `annual`, `all_hands`, `board`, `one_on_one` |
| `status` | query: string | no | One of: `scheduled`, `active`, `completed` |
| `limit` | query: integer | no | Page size. Default: `50`. 1 to 200 |
| `cursor` | query: string | no | Cursor from the previous page's pagination.nextCursor |
| `sort_by` | query: string | no | Field to sort by |
| `sort_order` | query: string | no | One of: `asc`, `desc`. Default: `desc` |

Returns 200: list of Meeting

#### POST /meetings

Create a meeting (write scope)

Requires a key with write scope.

Body:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `teamId` | string (uuid) or null | no | Leave out for an organization-wide meeting (org admins only) |
| `type` | string | yes | One of: `launch`, `quarterly`, `semi_annual`, `weekly_camp`, `annual`, `all_hands`, `board`, `one_on_one` |
| `title` | string | yes | Max 255 characters |
| `description` | string or null | no |  |
| `scheduledAt` | string (date-time) | yes |  |
| `facilitatorId` | string or null | no |  |
| `planYear` | integer or null | no | Annual meetings only: the plan year shown in the meeting |

Returns 201: Meeting

#### GET /meetings/{id}

Get a meeting

Parameters:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `id` | path: string (uuid) | yes | Resource UUID |

Returns 200: Meeting

#### PATCH /meetings/{id}

Update a meeting (write scope)

Requires a key with write scope.

Parameters:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `id` | path: string (uuid) | yes | Resource UUID |

Body:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `teamId` | string (uuid) or null | no |  |
| `title` | string | no | Max 255 characters |
| `description` | string or null | no |  |
| `scheduledAt` | string (date-time) | no |  |
| `facilitatorId` | string or null | no |  |
| `planYear` | integer or null | no | Annual meetings only |

Returns 200: Meeting

#### POST /meetings/{id}/archive

Archive an upcoming meeting (write scope)

Requires a key with write scope. Same as Delete meeting in the app: the meeting is hidden, not removed. Only org owners/admins and leads of the meeting's team (or a parent team) can archive, and only before the meeting starts (409 otherwise).

Parameters:

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `id` | path: string (uuid) | yes | Resource UUID |

Returns 200: Meeting
