> ## Documentation Index
> Fetch the complete documentation index at: https://io-migration.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

## Relationship management endpoints

Relationships are basic building blocks of a graph. They can be automatically extracted from a document and then added to a graph.

To manage relationships extracted from a document, you can use the following endpoints:

| Method | Endpoint | Description |
| - | - | - |
| `GET` | [/documents/\{id}/relationship](https://io-migration.mintlify.site/reference/get-relationships.md) | List *Relationships* identified within a document. |

Once entities are added to a graph using the “/graphs/\{id}/\{object\_type}/add” endpoint, you can manage them using the following endpoints:

| Method | Endpoint | Description |
| - | - | - |
| GET | [/graphs/\{id}/relationships](https://io-migration.mintlify.site/reference/get-graph-relationships.md) | Get relationships for a graph |
| GET | [/graphs/\{id}/relationships/\{id}](https://io-migration.mintlify.site/reference/get-relationship-details.md) | Get a relationship for a graph |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.