Homepage

UsersFilterInput

Last edit: Oct 13, 2026

Conditions users must match. All given conditions are combined with AND; use
or for alternatives. Soft deleted users are excluded unless deleted_at is used

type UsersFilterInput {
  created_at: DateFilter
  deleted_at: DateFilter
  email: StringFilter
  external_id: UniqIdFilter
  first_name: StringFilter
  id: UniqIdFilter
  last_name: StringFilter
  name: StringFilter
  or: [UsersFilterInput!]
  profiles: [ProfileFilterInput!]
  properties: [PropertyFilterInput!]
  related_models: [RelatedModelsFilterInput!]
  related_records: [RelatedRecordsFilterInput!]
  related_users: [RelatedUsersFilterInput!]
  slug: StringFilter
  updated_at: DateFilter
}

Fields

created_at (DateFilter)

Condition on the creation time

deleted_at (DateFilter)

Condition on the soft deletion time. Using it makes soft deleted users
eligible, e.g. deleted_at: { exists: true } returns only deleted users

email (StringFilter)

Condition on the email

external_id (UniqIdFilter)

Condition on the external id

first_name (StringFilter)

Condition on the first name

id (UniqIdFilter)

Condition on the user id

last_name (StringFilter)

Condition on the last name

name (StringFilter)

Condition on the name

or (UsersFilterInput)

Alternative sets of conditions: matches users meeting at least one of them, in
addition to the other conditions of this filter

profiles (ProfileFilterInput)

Conditions on user profiles; for every entry the user must have a profile meeting it

properties (PropertyFilterInput)

Conditions on user properties; every entry must match

Deprecated, use related_records

Matches users related to records meeting the given conditions; when several entries are given, all must match

Matches users related to other users meeting the given conditions; when several entries are given, all must match

slug (StringFilter)

Condition on the slug

updated_at (DateFilter)

Condition on the last update time

Questions?

We are always happy to help with any questions you may have.

contact us