Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

CONNECT EAP

Entity inbound filtering

  • Last UpdatedNov 02, 2026
  • 1 minute read

You can filter inbound relationships by the kind of source they originate from: an entity or an event. Use the sourceBase argument within inbound.

No filtering

If you specify no filter on inbound relationships, this works the same as filtering on only entities, so the response will only retrieve relationships from entities.

inbound { ... }

Filtering inbound relationships from only entities

inbound (sourceBase: [ENTITY]) { ... }

Filtering inbound relationships from only events

inbound (sourceBase: [EVENT]) { ... }

Filtering inbound relationships from both entities and events

inbound (sourceBase: [ENTITY, EVENT]) { ... }

Filtering and reading inbound relationship names

The following query filters inbound relationships by source kind and requests each relationship's optional name field:

query {

entities(input: { filter: { where: { id: { eq: "target-entity-id" } } } }) {

items {

id

inbound(sourceBase: [ENTITY, EVENT]) {

items {

id

relationshipId

name

relationshipType

sourceBase

targetBase

typeId

}

hasMore

}

}

}

}

Related Links