# List a Room's goals (/docs/api-reference/list_room_goals)

`GET /v1/rooms/{room_id}/goals` · operation `list_room_goals`

A Room's goals you can see (active unless status says otherwise), each with progress: its tasks in this Room you can see, and how many are done.

**Sign-in:** a signed-in person's access token (`Authorization: Bearer …`), which AI apps get through MCP sign-in; or a Workspace API key in the `X-SMB-API-Key` header.

### Path parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `room_id` | string | yes |  |

### Query parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `status` | one of `active`, `completed`, `canceled` | no |  |

### Headers

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `SMB-Workspace-Id` | string (uuid) | yes | Workspace where this operation runs. Required for user tokens and Workspace API keys. |

### Response

**200** Successful authorized response.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `goals` | array of object | yes |  |
| `goals[].goal_id` | string | yes |  |
| `goals[].room_id` | string | yes |  |
| `goals[].title` | string | yes |  |
| `goals[].status` | one of `active`, `completed`, `canceled` | yes |  |
| `goals[].due_on` | string or null | yes |  |
| `goals[].progress` | object | yes | Its tasks in this Room that you can see, and how many are done. |
| `goals[].revision` | integer | yes |  |
| `request_id` | string | yes |  |

### Errors

- `400` The request is invalid.
- `401` Authentication is required.
- `403` The caller is not authorized.
- `404` The resource was not found.
- `409` The resource revision or idempotency input conflicts.
- `413` The request body is too large.
- `415` The request must be JSON.
- `422` Required evidence is missing.
- `429` Rate limit reached; honor Retry-After.
- `500` The request could not be completed.
- `502` A dependency returned an invalid response.
- `503` The service is temporarily unavailable.

### Example

```bash
curl --request GET "https://api.smb.co/v1/rooms/$ROOM_ID/goals" \
  --header "Authorization: Bearer $ACCESS_TOKEN" \
  --header "SMB-Workspace-Id: $WORKSPACE_ID"
```