---
title: "List cards related to seed cards"
method: GET
path: "/api/v2/projects/{projectId}/cards/related"
tags: ["Cards"]
---

# List cards related to seed cards

`GET /api/v2/projects/{projectId}/cards/related`

## Request

- Base URL: `https://davinci-app.com`
- URL: `https://davinci-app.com/api/v2/projects/{projectId}/cards/related`
- Auth: HTTP bearer

Returns direct `relates_to` neighbors and the full connected dependency
component for one or more seed cards. Seed cards and cards already on
`excludeTeamId` are omitted from the result. At most 50 seeds and 500
related cards are returned; `meta.truncated` reports a larger component.

## Query parameters

- `seedCardIds` string[]
- `excludeTeamId` string, uuid

## Response `200`

Related cards and exclusion counts.

- RelatedCardsResponse
  - `cards` RelatedCard[], required
    - `id` string, uuid, required
    - `name` string, required
    - `project_id` string, uuid, required
    - `is_open` boolean, required
    - `author_display_name` string, nullable
    - `created_at` string, date-time, nullable
    - `closed_at` string, date-time, nullable
    - `history_head_id` string, uuid, nullable, required: Latest committed card-history row ID; null only before a card has history.
    - `assignees` CardAssignee[], required
      - `id` string, uuid, required
      - `display_name` string, nullable, required
  - `meta` RelatedCardsMeta, required
    - `seedCardIds` string[], required
    - `totalRelated` integer, required
    - `excludedOnTeam` integer, required
    - `truncated` boolean, required: True when the related component exceeds the 500-card response cap.

## Other responses

- `400`: Malformed request parameters or body. Agile requests may return `INVALID_PAGINATION` or `INVALID_IDEMPOTENCY_KEY`.
- `401`: No credential was supplied, or the supplied credential is malformed, expired, or revoked. A credential that is present but unusable is never downgraded to an anonymous request.
- `403`: Authenticated but not authorized. Either the acting user lacks the required resource permission, the key's scope ceiling excludes it, or the endpoint rejects this credential type (`CREDENTIAL_NOT_PERMITTED`).
- `404`: The resource does not exist in the parent named by the path, or is hidden from the caller. Absence and privacy denial are deliberately indistinguishable so project, organization, and private-team existence cannot be probed.
- `429`: Request rate exceeded, either globally or for this key.
- `500`: Unexpected server error.

## Changes

- **2026-09-24** (v2) `4b520e771e08`: 1 info
  - added the required property `cards/items/history_head_id` to the response with the `200` status
- **2026-09-15** (v2) `67c8b8616dbb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/celedon-solutions/apis/davinci-public-api/changes/api/v2/projects/:projectId/cards/related/get.md)

---

[API](https://skmtc.dev/celedon-solutions/apis/davinci-public-api.md) - [All operations](https://skmtc.dev/celedon-solutions/apis/davinci-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/celedon-solutions/apis/davinci-public-api/revisions/279218ca2e8d?raw)
