Programs
**[Experimental]** Returns programs scoped to the caller's permissions. When accountId is provided and the user has read_as_admin, returns that account's non-deleted programs in admin view. Otherwise returns only that account's published programs in enrollee view. An account sees the programs it owns plus those owned by its sub-accounts, matching the direction in which editing a program is authorised; sibling accounts stay isolated and an account above is not listed. Omitting accountId returns the caller's whole root account in enrollee view; the admin view always requires read_as_admin on a named account.
programs(
filter: ProgramFilterInput
accountId: String
): [ProgramGQL!]!Arguments
programs.filter ● ProgramFilterInput
Filter programs by progress state
Type
Last updated
Was this helpful?