Code0 LogoCodeZero

Application

Represents the application instance

Fields without arguments

NameTypeDescription
currentLicenseLicense(EE only) Currently active license of the instance
identityProvidersIdentityProviderBasicConnection!Configured identity providers for login and registration
legalNoticeUrlStringURL to the legal notice page
licensesLicenseConnection!(EE only) Licenses of the instance
metadataMetadataMetadata about the application
privacyUrlStringURL to the privacy policy page
settingsApplicationSettingsGlobal application settings
termsAndConditionsUrlStringURL to the terms and conditions page
userAbilitiesApplicationUserAbilities!Abilities for the current user on this Application

Fields with arguments

aiUsage

Instance-wide AI generation usage, bucketed by day, week or month. Only visible to admins.

Returns [UsageBucket!].

NameTypeDescription
afterDateISO8601Date!Start of the usage range (inclusive)
aggregationUsageAggregationGranularity to bucket usage into
beforeDateISO8601Date!End of the usage range (inclusive)

identityProviderLoginUrl

Login URL for a specific identity provider

Returns String.

NameTypeDescription
idString!ID of the identity provider

runtimeUsage

Instance-wide execution usage, bucketed by day, week or month. Only visible to admins.

Returns [UsageBucket!].

NameTypeDescription
afterDateISO8601Date!Start of the usage range (inclusive)
aggregationUsageAggregationGranularity to bucket usage into
beforeDateISO8601Date!End of the usage range (inclusive)

On this page