Skip to main content

gameModelContainers

List containers in an app, optionally filtered by container type and/or session, by bindingKey (get-by-key read of an ensured container), by property predicates (where, requires typeName; the same predicate shape automation selectors use — missing properties fall back to the type default), and paged with offset/limit over the stable created-at ordering. Requires a valid token.

gameModelContainers(
appId: BigInt!
typeName: String
sessionId: String
bindingKey: String
where: [GmPropertyPredicateInput!]
limit: Int
offset: Int
): [GmContainer!]!

Arguments

gameModelContainers.appId ● BigInt! non-null scalar

The app (tenant) whose containers to list.

gameModelContainers.typeName ● String scalar

Optional: only containers of this type. Omit for all types.

gameModelContainers.sessionId ● String scalar

Optional: only containers in this session. Omit for all (including app-global).

gameModelContainers.bindingKey ● String scalar

Optional: only containers ensured under this binding key (see gameModelEnsureContainer). Combine with typeName and sessionId for a get-by-key read of the single shared row.

gameModelContainers.where ● [GmPropertyPredicateInput!] list input

Optional property predicates (max 8, AND-combined). Requires typeName. Ops: '==', '!=', '<', '>', '<=', '>='. Values are JSON-encoded.

gameModelContainers.limit ● Int scalar

Optional page size (applied after where filtering).

gameModelContainers.offset ● Int scalar

Optional page offset (applied after where filtering).

Type

GmContainer object

A container: a runtime instance of a container type (optionally scoped to a session).