> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dacard.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get roadmap issues

> Read Linear issues grouped by product function. Powers the roadmap page.

Read Linear issues grouped by product function (Strategy, Design, Development, Intelligence, Operations, GTM). Powers the function-level roadmap view. Requires a connected Linear integration.

```bash theme={null}
curl -X GET "https://app.dacard.ai/api/roadmap/issues?productId=prod_abc" \
  -H "Authorization: Bearer $DACARD_API_KEY"
```

| Property                 | Value    |
| ------------------------ | -------- |
| **Auth**                 | Required |
| **Required integration** | Linear   |
| **Idempotent**           | Yes      |

## Query

| Field       | Type   | Required | Notes                                     |
| ----------- | ------ | -------- | ----------------------------------------- |
| `productId` | string | yes      | Product whose Linear integration is read. |
| `cycleId`   | string | no       | Narrow to one Linear cycle.               |

## Response

```json theme={null}
{
  "byFunction": {
    "design": [
      { "id": "lin_abc", "title": "...", "state": "in_progress", "url": "..." }
    ],
    "development": [...]
  }
}
```

## Errors

| Status | Code                     | When                                  |
| ------ | ------------------------ | ------------------------------------- |
| 401    | `AUTH_REQUIRED`          | No session.                           |
| 401    | `INTEGRATION_DISCONNECT` | Linear OAuth token expired.           |
| 403    | `FORBIDDEN`              | Caller does not own the product.      |
| 404    | `Linear not connected`   | No Linear integration on the product. |
| 500    | `INTERNAL_ERROR`         | Read failed.                          |
