Organization Object
The top level of Pie's hierarchy: an Organization owns workspaces,
its members (organizationUsers), and the organization-wide custom
field definitions (dataFields). type is the subscription tier —
"free", "pro", or "enterprise"; when a downgrade is scheduled,
lastType holds the tier that will be applied at cancelAt while
type keeps the current one. isTrial with
trialStartedAt/trialExpiresAt describe trial state, and
tokensUsedCount/tokensUsedLimit track usage against the
organization's token allowance. Returned by the organization and
organizations queries; managed with createOrganization,
createTrialOrganization, updateOrganization,
updateOrganizationType, and deleteOrganization. Billing details
live on the admin-only OrganizationWithSubscription;
OrganizationInfo is the reduced reference view.
Fields
#
Usages
#
References
#
- Field organization from OrganizationUser
- Field organization from RootQueryType
- Field organizations from RootQueryType
OmpTodosFiltersInput
