Archive API docs
    Jump to

    Narrow by kind with a prefix — q: queries, m: mutations, t: types, g: guides, f: fields and arguments.

    Jump to examples ↓
    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 maxSubscriptions and maxViewsPerSubscription: workspace_override (this workspace), org_override (its organization) or plan (both caps are the tier's defaults). Each cap resolves on its own, so workspace_override does 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 metadata object, in bytes.
    tier String!
    Label of the resolved plan tier the caps come from: base, startup, growth, enterprise, agency or demo (Trial).
    usedSubscriptions Int!
    Webhook subscriptions the workspace currently has, in any status (paused and failure-disabled subscriptions count).