---
title: "bulk export of tenant relationships"
method: GET
path: "/export/relationships"
tags: ["export"]
---

# bulk export of tenant relationships

`GET /export/relationships`

## Request

- Base URL: `https://api.relynk.io/v2.0.0`
- URL: `https://api.relynk.io/v2.0.0/export/relationships`
- Auth: one of:
  - HTTP bearer
  - API key in header `Authorization`

Returns a paginated flat list of relationships for bulk sync or ETL. Only relationships where both source and destination resources are of an included main type (Agent, Space, Asset, Collection, BuildingElement, or Point) are returned. Results are ordered by relationship id. Use limit and offset to page through the full dataset (default page size 50 000, maximum 200 000).

## Query parameters

- `customerId` string, uuid, required
- `limit` integer: page size for bulk export endpoints
- `offset` integer
- `rdfRelationshipType` string
- `srcResourceId` string, uuid
- `dstResourceId` string, uuid
- `srcResourceName` string
- `srcResourceName__contains` string
- `dstResourceName` string
- `dstResourceName__contains` string

## Response `200`

paginated bulk export of relationships

- ExportRelationship[]
  - `customerId` string, uuid, required: customer id
  - `srcResourceId` string, uuid, required: source resource id
  - `dstResourceId` string, uuid, required: destination resource id
  - `rdfRelationshipType` string, required: RDF relationship type URI
  - `updatedAt` string, date-time, required: last update timestamp

---

[API](https://skmtc.dev/relynk/apis/relynk-api.md) - [All operations](https://skmtc.dev/relynk/apis/relynk-api/llms.txt) - [OpenAPI document](https://skmtc.dev/relynk/apis/relynk-api/revisions/735d9d0efe06?raw)
