Homepage

ModelsFilterInput

Last edit: Oct 13, 2026

Conditions models must match, for the deprecated models fields. Deprecated, use records with RecordsFilterInput instead

type ModelsFilterInput {
  created_at: DateFilter
  deleted_at: DateFilter
  external_id: StringFilter
  id: UniqIdFilter
  model_schema_id: UniqIdFilter
  model_schema_name: StringFilter
  models: [RelatedModelsFilterInput!]
  name: StringFilter
  or: [ModelsFilterInput!]
  properties: [PropertyFilterInput!]
  related_models: [RelatedModelsFilterInput!]
  related_users: [RelatedUsersFilterInput!]
  updated_at: DateFilter
  user_id: UniqIdFilter
  users: [RelatedUsersFilterInput!]
}

Fields

created_at (DateFilter)

Condition on the creation time

deleted_at (DateFilter)

Condition on the soft deletion time. Using it makes soft deleted models eligible

external_id (StringFilter)

Condition on the external id

id (UniqIdFilter)

Condition on the model id

model_schema_id (UniqIdFilter)

Condition on the id of the model schema

model_schema_name (StringFilter)

Condition on the name of the model schema

models (RelatedModelsFilterInput)

Deprecated, use related_models

name (StringFilter)

Deprecated, use model_schema_name

or (ModelsFilterInput)

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

properties (PropertyFilterInput)

Conditions on properties; every entry must match

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

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

updated_at (DateFilter)

Condition on the last update time

user_id (UniqIdFilter)

Condition on the id of the user who owns the model

users (RelatedUsersFilterInput)

Deprecated, use related_users

Questions?

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

contact us