Query
webhookLimits
Get the current workspace's outbound-webhook caps (maximum subscriptions, maximum content views per subscription, maximum metadata size) and how many subscriptions it already has. The caps come from the workspace plan tier unless a negotiated override applies (see capsSource).
Arguments
This field takes no arguments.
Returns
Returns WebhookLimits!.
- capsSource String!
- Highest override level that replaced at least one of
maxSubscriptionsandmaxViewsPerSubscription:workspace_override(this workspace),org_override(its organization) orplan(both caps are the tier's defaults). Each cap resolves on its own, soworkspace_overridedoes not mean both caps came from the workspace. - maxSubscriptions Int!
- Maximum webhook subscriptions this workspace may have. Creating one more is refused with a userError naming the limit.
- maxViewsPerSubscription Int!
- Maximum content views a single subscription may be scoped to via
viewIds. - metadataMaxBytes Int!
- Maximum serialized size of a subscription's
metadataobject, in bytes. - tier String!
- Label of the resolved plan tier the caps come from:
base,startup,growth,enterprise,agencyordemo(Trial). - usedSubscriptions Int!
- Webhook subscriptions the workspace currently has, in any status (paused and failure-disabled subscriptions count).