GET
/
api
/
r2r
/
v3
/
graphs
/
{collection_id}
/
relationships
/
{relationship_id}
Get Relationship
curl --request GET \
  --url https://api.intelligence.io.solutions/api/r2r/v3/graphs/{collection_id}/relationships/{relationship_id} \
  --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"
    }
  }
}

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

ID of the collection

relationship_id
string
required

ID of the relationship

Response

200

results
object