# List a record's related records

One deal's cross-board graph alone — the merchant, lead, offers, submissions and other records it is linked to — for callers that want the links without the whole record. The same graph rides inside `get_definitions_key_rows_rowId_detail`. Deals page only.

Access class: `def:read`.

## Endpoint

`GET /v1/definitions/{key}/rows/{rowId}/relationships`

## Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| key | path | string | Yes |
| rowId | path | string | Yes |
| body | query | null | No |
| params | query | object | No |
| query | query | object | No |

## Responses

### 200

the action's answer

Content type: `application/json`.

```json
{
  "data": {
    "lead": {
      "definitionKey": "string",
      "row": "string"
    },
    "lenders": [
      {
        "definitionKey": "string",
        "row": "string"
      }
    ],
    "merchant": {
      "definitionKey": "string",
      "row": "string"
    },
    "offers": [
      {
        "definitionKey": "string",
        "row": "string"
      }
    ],
    "submissions": [
      {
        "definitionKey": "string",
        "row": "string"
      }
    ]
  }
}
```

### default

a refusal: `{"error": "<what a person needs to read>"}`. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.

Content type: `application/json`.

```json
{
  "error": "string"
}
```
