create

Creates a new relationship.

Preview the results of this operation by setting the dryRunbody parameter to true.

Body Params
string
required

The table of the originating record.

string
required

The identifier of the originating record.

string
required

The table of the terminating record.

string
required

The identifier of the terminating record.

string
required

The identifier of the type of the relationship.

details
object

Additional details about the relationship.

fromRecordVersion
object

The expected version of the from record of the relationship If specified, operation is performed only if the current version of the record matches this.

toRecordVersion
object

The expected version of the to record of the relationship If specified, operation is performed only if the current version of the record matches this.

boolean

Optional. Run the same checks as the create, including the relationship type's hierarchy constraints and expected versions, and return the relationship as it would be created, without creating it. A refusal returns the same status and ErrorInfo reason as the create. Fields only a write assigns are unset: relationship_id, version_id, create_time and update_time. Advisory: a concurrent write can land first, and the real write's check is final. Default is false.

Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json

© 2025, Tamr, Inc. All rights reserved.

License Agreement | Privacy Policy | Data Security Policy| AI Chatbot Disclaimer