---
title: "List case links"
method: GET
path: "/api/v2/cases/link"
tags: ["Case Management"]
---

# List case links

`GET /api/v2/cases/link`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/cases/link`
- Auth: one of:
  - API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`
  - OAuth 2
    - Authorization code: `/oauth2/v1/authorize`
    - Token URL: `/oauth2/v1/token` scopes: `cases_read`

Returns all links associated with a case. Links define relationships (for example, BLOCKS) between cases. Requires entity_type and entity_id query parameters.

## Query parameters

- `entity_type` string, required
- `entity_id` string, required
- `relationship` string

## Response `200`

OK

- CaseLinksResponse: Response containing a list of case links.
  - `data` CaseLink[], required: A list of case links.
    - `attributes` CaseLinkAttributes, required: Attributes describing a directional relationship between two entities (cases, incidents, or pages).
      - `child_entity_id` string, required: The UUID of the child (target) entity in the relationship.
      - `child_entity_type` string, required: The type of the child entity. Allowed values: `CASE`, `INCIDENT`, `PAGE`, `AGENT_CONVERSATION`.
      - `parent_entity_id` string, required: The UUID of the parent (source) entity in the relationship.
      - `parent_entity_type` string, required: The type of the parent entity. Allowed values: `CASE`, `INCIDENT`, `PAGE`, `AGENT_CONVERSATION`.
      - `relationship` string, required: The type of directional relationship. Allowed values: `RELATES_TO` (bidirectional association), `CAUSES` (parent causes child), `BLOCKS` (parent blocks child), `DUPLICATES` (parent duplicates child), `PARENT_OF` (hierarchical), `SUCCESSOR_OF` (sequence), `ESCALATES_TO` (priority escalation).
    - `id` string, required: The case link identifier.
    - `type` 'link', required: JSON:API resource type for case links.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `429`: Too many requests

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v2-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/revisions/da68bf029e4c?raw)
