List, inspect, create, and update relationships
Request and response shapes
Input shape
{ entity?: { kind: 'person' | 'place' | 'event'; id: string }; limit?: number } | { relationshipId: string } | { idempotencyKey: string; leftEntity: EntityRef; rightEntity: EntityRef; relationshipType: string }Output shape
{ relationships: RelationshipSummary[] } | { relationship: SafeRelationship; created?: boolean }Examples
Request example
{
"idempotencyKey": "relationship-ada-grace-2026",
"leftEntity": {
"kind": "person",
"id": "person_ada"
},
"rightEntity": {
"kind": "person",
"id": "person_grace"
},
"relationshipType": "collaborator"
}Response example
{
"relationship": {
"relationshipLabel": "collaborator"
},
"created": true
}Common validation errors
- Relationship reads and writes require their matching minimum OAuth scope.
- Both relationship endpoints must be owned by the connected account.
Related questions
- relationships between my people
- link two people
- update relationship