Create Relationship
Creates a new relationship in the graph.
Path parameters
collection_id
The collection ID corresponding to the graph to add the relationship to.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
X-API-Key
Request
This endpoint expects an object.
subject
The subject of the relationship to create.
subject_id
The ID of the subject of the relationship to create.
predicate
The predicate of the relationship to create.
object
The object of the relationship to create.
object_id
The ID of the object of the relationship to create.
description
The description of the relationship to create.
weight
The weight of the relationship to create.
metadata
The metadata of the relationship to create.
Response
Successful Response
results
A relationship between two entities. This is a generic relationship, and can be used to represent any type of relationship between any two entities.