Homepage

constants

Last edit: Nov 10, 2026

Returns constants of the instance (set with constant_set or pos-cli constants)
with their decrypted values, sorted by name unless sort is given

constants(
  filter: EncryptedConstantsFilterInput
  page: Int = 1
  per_page: Int = 20
  sort: [EncryptedConstantsSortInput!]
): EncryptedConstantCollection!

Arguments

filter (EncryptedConstantsFilterInput)

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

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 (EncryptedConstantsSortInput)

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

Type

EncryptedConstantCollection

Paginated list of constants

Questions?

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

contact us