NamespaceLimitsView
Every limit in force for an organization, with live usage where it applies. Each limit is the
maximum that is actually enforced, so the view always agrees with what a request will hit.
Shape
group_countsarray of UsageLimitEntryGroup-scoped caps with live counts evaluated on
group_iditself.- The UsageLimitEntry schema
- limitinteger · int640–∞
- nameLimitNamestorage_bytesconcurrent_pipeline_runspipeline_runs_this_monthpipeline_minutes_this_monthreposmembersteamscustom_rolesaccess_limitsapproval_rulesscim_tokenswebhooksservice_accountsbranch_rulesprovider_connectionsprovider_installsopen_issueslabelsmilestonesblueprintswiki_pagesservicesenvironmentsscorecardspipeline_componentsopen_mrs_per_repocomments_per_mrbranches_per_repotags_per_reporeviewers_per_mrreleases_per_repopipelines_per_repoanchors_per_repocriteria_per_repocode_todos_per_reporeactions_per_commentcommit_statuses_per_commitcomments_per_issuerelations_per_issuechildren_per_issueanchors_per_issuecriteria_per_issuesso_invites_per_scopepush_bytespackage_bytesrelease_asset_bytespipeline_dag_nodesversions_per_pipeline_componentmembers_per_teamWhich limit a usage-and-limits entry describes.
- usedinteger · int640–∞
- group_idGroupId (string · uuid)The group the request named; the group-scoped counts are evaluated on it.
namespacearray of UsageLimitEntryNamespace-wide quotas with live usage.
- The UsageLimitEntry schema
- limitinteger · int640–∞
- nameLimitNamestorage_bytesconcurrent_pipeline_runspipeline_runs_this_monthpipeline_minutes_this_monthreposmembersteamscustom_rolesaccess_limitsapproval_rulesscim_tokenswebhooksservice_accountsbranch_rulesprovider_connectionsprovider_installsopen_issueslabelsmilestonesblueprintswiki_pagesservicesenvironmentsscorecardspipeline_componentsopen_mrs_per_repocomments_per_mrbranches_per_repotags_per_reporeviewers_per_mrreleases_per_repopipelines_per_repoanchors_per_repocriteria_per_repocode_todos_per_reporeactions_per_commentcommit_statuses_per_commitcomments_per_issuerelations_per_issuechildren_per_issueanchors_per_issuecriteria_per_issuesso_invites_per_scopepush_bytespackage_bytesrelease_asset_bytespipeline_dag_nodesversions_per_pipeline_componentmembers_per_teamWhich limit a usage-and-limits entry describes.
- usedinteger · int640–∞
- plan_tierPlanTierfreeproteamenterpriseThe subscription plan an organization is on, which sets its resource limits. From smallest to largest:
free,pro,team,enterprise. - root_group_idGroupId (string · uuid)The root group the queried group belongs to; namespace usage is reported for it.
scope_limitsarray of ScopeLimitEntryLimits that apply per repository, merge request, issue or operation, with what each applies to. Usage is reported on each resource.
- The ScopeLimitEntry schema
- limitinteger · int640–∞
- nameLimitNamestorage_bytesconcurrent_pipeline_runspipeline_runs_this_monthpipeline_minutes_this_monthreposmembersteamscustom_rolesaccess_limitsapproval_rulesscim_tokenswebhooksservice_accountsbranch_rulesprovider_connectionsprovider_installsopen_issueslabelsmilestonesblueprintswiki_pagesservicesenvironmentsscorecardspipeline_componentsopen_mrs_per_repocomments_per_mrbranches_per_repotags_per_reporeviewers_per_mrreleases_per_repopipelines_per_repoanchors_per_repocriteria_per_repocode_todos_per_reporeactions_per_commentcommit_statuses_per_commitcomments_per_issuerelations_per_issuechildren_per_issueanchors_per_issuecriteria_per_issuesso_invites_per_scopepush_bytespackage_bytesrelease_asset_bytespipeline_dag_nodesversions_per_pipeline_componentmembers_per_teamWhich limit a usage-and-limits entry describes.
- scopeLimitScoperepomerge_requestissuecommentcommitreleasepushrunpackagepipeline_componentteamnamespaceWhat a per-resource limit applies to — each repository, each merge request, each team, and so on. Usage against it is reported on that resource, not in the organization-wide view.
Example
Synthesized example{
"group_counts": [
{
"limit": 43,
"name": "storage_bytes",
"used": 10
},
{
"limit": 0,
"name": "storage_bytes",
"used": 33
}
],
"group_id": "4c1d8e2f-6a3b-4f90-b7c5-1e2d3c4b5a69",
"namespace": [
{
"limit": 79,
"name": "storage_bytes",
"used": 12
}
],
"plan_tier": "free",
"root_group_id": "4c1d8e2f-6a3b-4f90-b7c5-1e2d3c4b5a69",
"scope_limits": [
{
"limit": 9,
"name": "storage_bytes",
"scope": "repo"
}
]
}
Graph
Used inside
No schema contains this one.
Contains
Used by
Sent by 0 operations
No operation takes it as a request body.
Returned by 1 operation