Object Relations

Learn how to create, read, and delete relations between objects using the platform API

Object relations allow you to define relationships between objects in monday.com, such as dependencies or aliases between boards and dashboards.

🚧

Only available in API versions 2026-04 and later


Queries

object_relations

Fetch relations for an object.

Arguments

ArgumentTypeDescription
object_idID!The unique identifier of the object whose relations to return.
kindRelationKindOptional. Filter by relation kind: ALIAS or DEPENDENCY.
directionRelationDirectionOptional. OUTGOING or INCOMING. Default: OUTGOING.

Example

query {
  object_relations(
    object_id: "1234567890"
    direction: OUTGOING
    kind: DEPENDENCY
  ) {
    id
    source_object_id
    target_id
    target_object_type
    kind
  }
}

Fields on ObjectRelation

FieldTypeDescription
idIDThe relation’s unique identifier.
source_object_idIDThe object the relation starts from.
target_idIDThe related object’s unique identifier.
target_object_typeTargetObjectThe type of the target: BOARD or DASHBOARD.
kindRelationKindThe relation kind as a lowercase string (for example, "dependency").

Mutations

create_object_relations

Create relations between objects.

Arguments

ArgumentTypeDescription
source_object_idID!The object to attach relations from.
relations[ObjectRelationInput!]!One or more relations to create.

Example

mutation {
  create_object_relations(
    source_object_id: "1234567890"
    relations: [{
      kind: DEPENDENCY
      target_id: "9876543210"
      target_object_type: BOARD
    }]
  ) {
    id
    source_object_id
    target_id
    target_object_type
    kind
  }
}

delete_object_relation

Delete relation(s). Returns an Int: the number of relations deleted.

Arguments

ArgumentTypeDescription
source_object_idID!The object whose relations are being deleted.
relation_idIDOptional. The specific relation to delete. Omit to delete all relations for the source object.

Example

mutation {
  delete_object_relation(
    source_object_id: "1234567890"
    relation_id: "27"
  )
}