action posthog_quota_limits_list { label: "Get a team's quota-limit state" description: "Return the current quota-limit state for the team identified in the URL, keyed by `QuotaResource` value. Used by the LLM gateway to gate billable products on AI credits exhaustion." provider: posthog method: GET path: "/api/projects/{project_id}/quota_limits/" encoding: json output: { type: "array" items: { type: "object" required: ["code_usage_billing_active", "limited"] properties: { code_usage_billing_active: { type: "boolean" description: "Whether the team's organization pays for PostHog Desktop usage: billing grants the `posthog_code_usage` product feature only on the Desktop usage product's paid plan, synced into the organization's available features. Consumers gate paid-tier Desktop behavior on this; an org unknown to billing reads as not paying." } limited: { type: "object" description: "Per-resource limit state for every `QuotaResource` value, e.g. `ai_credits`, `posthog_code_credits`. Also carries the informational Desktop component resources (`posthog_code_token_credits`, `sandbox_compute_credits`, `sandbox_compute_cpu_millicore_seconds`, `sandbox_compute_memory_mib_seconds`) with usage in their native units, a null limit, and `limited` always false — they are never quota-enforced; only the combined `posthog_code_credits` is." } } } } }