GET
/
api
/
r2r
/
v3
/
graphs
/
{collection_id}
/
relationships
Get Relationships
curl --request GET \
  --url https://api.intelligence.io.solutions/api/r2r/v3/graphs/{collection_id}/relationships \
  --header 'Authorization: Bearer <token>'
{
  "results": [
    {
      "subject": "subject",
      "predicate": "predicate",
      "object": "object",
      "id": "id",
      "description": "description",
      "subject_id": "subject_id",
      "object_id": "object_id",
      "weight": 1.1,
      "chunk_ids": [
        "chunk_ids"
      ],
      "parent_id": "parent_id",
      "description_embedding": [
        1.1
      ],
      "metadata": {
        "key": "value"
      }
    }
  ],
  "total_entries": 1
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

collection_id
integer
required

Collection ID

Query Parameters

offset
string
default:0

Specifies the number of objects to skip. Defaults to 0. >=0

limit
string
default:100

Specifies a limit on the number of objects to return, ranging between 1 and 100. Defaults to 100. >=1 <=1000

Response

200

results
object[]
total_entries
integer
default:0
Example:

1