# WebhookLimits

Object

The current workspace's outbound-webhook caps and its current consumption of them. createWebhookSubscription / updateWebhookSubscription enforce these caps.

## Fields

| Name | Type | Description |
| --- | --- | --- |
| `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). |
