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.
643 matches
60 actions
PostHog
60 actions
- Fetch CI checks for a report's implementation PRGETv1.0.0
- Fetch comments for a report's implementation PRGETv1.0.0
- Fetch the diff for a commit artefactGETv1.0.0
- Get a channelGETv1.0.0
- Get a loopGETv1.0.0
- Get a run by IDGETv1.0.0
- Get a single artefactGETv1.0.0
- Get a team's quota-limit stateGETv1.0.0
- Get active breakpoints (External API)GETv1.0.0
- Get active task session storage accessGETv1.0.0
- Get app sandbox statusGETv1.0.0
- Get breakpoint hitsGETv1.0.0
- Get channel instructionsGETv1.0.0
- Get iframe connection info for a running appGETv1.0.0
- Get repository readinessGETv1.0.0
- Get scout metadataGETv1.0.0
- Get taskGETv1.0.0
- Get task runGETv1.0.0
- Get task run logsGETv1.0.0
- Get the channel's CONTEXT.md generation taskGETv1.0.0
- Get the current project profileGETv1.0.0
- Get the team's active onboarding wizard cloud runGETv1.0.0
- listGETv1.0.0
- List a report's artefactsGETv1.0.0
- List a report's signalsGETv1.0.0
- List a run's emitted findingsGETv1.0.0
- List blind-spots skills and which one is activeGETv1.0.0
- List channel feed messagesGETv1.0.0
- List channelsGETv1.0.0
- List distinct task repositoriesGETv1.0.0
- List external customer analytics accountsGETv1.0.0
- List living artifacts for a task runGETv1.0.0
- List loop runsGETv1.0.0
- List loopsGETv1.0.0
- List marketing data sourcesGETv1.0.0
- List mentions of the requesterGETv1.0.0
- List pinned tasksGETv1.0.0
- List project members for reviewer routingGETv1.0.0
- List recent emitted findings across all runsGETv1.0.0
- List recent reviewsGETv1.0.0
- List recipients opted out of a message categoryGETv1.0.0
- List review perspectives and their enablementGETv1.0.0
- List review validators and which one is activeGETv1.0.0
- List scout configsGETv1.0.0
- List streamlit appsGETv1.0.0
- List subscription deliveriesGETv1.0.0
- List suppressed email addresses for the teamGETv1.0.0
- List task runsGETv1.0.0
- List the inbox reports a run's findings linked toGETv1.0.0
- List the requester's task activityGETv1.0.0
- List thread messagesGETv1.0.0
- query_draft_sql_retrieveGETv1.0.0
- query_log_retrieveGETv1.0.0
- query_retrieveGETv1.0.0
- Read the connected project's identityGETv1.0.0
- retrieveGETv1.0.0
- Retrieve a streamlit appGETv1.0.0
- Retrieve one review's detailGETv1.0.0
- Retrieve subscription deliveryGETv1.0.0
- retrieve_session_summaries_configGETv1.0.0
Analytics/PostHog
Get a team's quota-limit state
v1.0.0Input
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
{
"type": "object",
"properties": {
"project_id": {
"type": "string"
}
},
"required": [
"project_id"
],
"additionalProperties": false
}Output
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
{
"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. Always false for deactivated organizations."
},
"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."
}
}
}
}