---
title: "List Knowledge Graph Relationships"
method: GET
path: "/knowledge_graph/relationships"
tags: ["Knowledge Graph"]
---

# List Knowledge Graph Relationships

`GET /knowledge_graph/relationships`

## Query parameters

- `limit` integer
- `offset` integer
- `search` string
- `archived` boolean
- `predicate` string[]
- `entityId` string
- `sourceEntityId` string
- `targetEntityId` string

## Response `200`

OK

- ListResponseBodyKnowledgeGraphRelationship
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `data` KnowledgeGraphRelationship[], required
    - `attributes` KnowledgeGraphRelationshipAttributes, required
      - `aliases` KnowledgeGraphSubjectAlias[], required
        - `attributes` KnowledgeGraphSubjectAliasAttributes, required
          - `kind` 'entity' | 'relationship', required
          - `provider` string, required
          - `providerSource` string, required
          - `providerSubjectRef` string, required
        - `id` string, required
      - `createdAt` string, date-time, required
      - `latestState` KnowledgeGraphSubjectState
        - `description` string, required
        - `displayName` string, required
        - `properties` object, required
      - `predicate` string, required
      - `sourceEntityId` string, required
      - `targetEntityId` string, required
      - `updatedAt` string, date-time, required
    - `id` string, required
  - `pagination` ResponsePagination, required
    - `next` string
    - `previous` string
    - `total` integer, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Unprocessable Entity
- `500` — Internal Server Error

## Changes

- **2026-08-27** (v1) `eaee3040e50d` — 2 breaking, 2 warning, 2 info
  - removed the required property `data/items/attributes/kind` from the response with the `200` status
  - removed the required property `data/items/attributes/subkind` from the response with the `200` status
  - deleted the `query` request parameter `kind`
  - deleted the `query` request parameter `subkind`
  - …2 more
- **2026-08-17** (v1) `f01c56c8a294` — 2 info
  - added the new optional `query` request parameter `subkind`
  - added the required property `data/items/attributes/subkind` to the response with the `200` status
- **2026-07-29** (v1) `6e29faf92044` — 1 warning, 1 info
  - removed the optional property `data/items/attributes/latestEvidence` from the response with the `200` status
  - added the optional property `data/items/attributes/latestState` to the response with the `200` status
- **2026-07-27** (v1) `755e232a4525` — 3 breaking, 3 info
  - removed the required property `data/items/attributes/source` from the response with the `200` status
  - removed the required property `data/items/attributes/state` from the response with the `200` status
  - removed the required property `data/items/attributes/target` from the response with the `200` status
  - added the optional property `data/items/attributes/latestEvidence` to the response with the `200` status
  - …2 more
- …earlier changes not shown

[Full history](https://skmtc.dev/rezible/apis/rezible-api/changes/knowledge_graph/relationships/get.md)

---

[API](https://skmtc.dev/rezible/apis/rezible-api.md) · [All operations](https://skmtc.dev/rezible/apis/rezible-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rezible/rezible-api/revisions/eaee3040e50d/schema)
