Homepage

pages

Last edit: Nov 10, 2026

Returns pages of the instance. Deprecated, use admin_pages instead

pages(
  exclude: Boolean
  filter: PageFilterInput
  has_key: String
  metadata: String
  name: String
  page: Int = 1
  per_page: Int = 20
  sort: [PagesSortInput!]
  value: String
): PageCollection!

Arguments

exclude (Boolean)

Deprecated, negates the metadata, has_key and value conditions. Use filter: { metadata: { exclude: $exclude } }

filter (PageFilterInput)

Conditions the returned results must match. All conditions are combined with AND

has_key (String)

Deprecated, use filter: { metadata: { has_key: $key } }

metadata (String)

Deprecated, use filter: { metadata: { contains: $text } }

name (String)

Deprecated, metadata key used together with value. Use filter: { metadata: {
attribute: { key: $name, value: $value } } }

page (Int)

Page number to return, starting at 1. Requesting a page beyond the last one returns an empty results list

per_page (Int)

Number of results per page, must be greater than 0

sort (PagesSortInput)

Sort order of the results. When several entries are given, they are applied in the given order

value (String)

Deprecated, use filter: { metadata: { attribute: { key: $key, value: $value } } }. Requires name

Type

PageCollection

Paginated list of pages

Questions?

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

contact us