Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Program

**[Experimental]** Returns a program by ID scoped to the caller's permissions. When accountId is provided and the user has read_as_admin, returns the program in admin view (including unpublished). Otherwise returns the program in enrollee view; accessing an unpublished program without admin permission is rejected.

program(
  programId: String!
  accountId: String
): ProgramGQL!

Arguments

program.programId ● String!

program.accountId ● String

Type

ProgramGQL

Last updated

Was this helpful?