Use this API to retrieve and change the application limits of a subscription plan.
The available plans depend on the GitLab edition. In the Community Edition, only the default plan
exists. The Enterprise Edition has additional plans.
These endpoints require administrator access to the instance.
Get current plan limits
GET /api/v4/application/plan_limits
List the current limits of a plan on the GitLab instance.
Parameters
| Name | Type | Description |
|---|---|---|
plan_Query | String | Name of the plan to get the limits from Allowed values: defaultDefault: default |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
Change plan limits
PUT /api/v4/application/plan_limits
Modify the limits of a plan on the GitLab instance.
Request body (application/json)
| Property | Type | Description |
|---|---|---|
cargo_ | Integer | Maximum Cargo package file size in bytes. |
ci_ | Integer | Total number of jobs in currently active pipelines |
ci_ | Integer | Maximum number of instance- |
ci_ | Integer | Maximum number of job variables in a single job |
ci_ | Integer | Maximum number of needs dependencies that a job can have |
ci_ | Integer | Maximum number of pipeline schedules |
ci_ | Integer | Maximum number of jobs in a single pipeline |
ci_ | Integer | Maximum number of pipeline variables in a single pipeline |
ci_ | Integer | Maximum number of pipeline subscriptions to and from a project |
ci_ | Integer | Maximum number of runners created or active in a group during the past seven days |
ci_ | Integer | Maximum number of runners created or active in a project during the past seven days |
ci_ | Integer | Maximum size of a file type CI/ |
ci_ | Integer | Maximum size of a CI/ |
conan_ | Integer | Maximum Conan package file size in bytes |
dotenv_ | Integer | Maximum size of a dotenv artifact in bytes. |
dotenv_ | Integer | Maximum number of variables in a dotenv artifact. |
draft_ | Integer | Maximum number of draft notes one user can have on a merge request.0 for unlimited. |
enforcement_ | Integer | Maximum storage size for root namespace limit enforcement, |
generic_ | Integer | Maximum generic package file size in bytes |
helm_ | Integer | Maximum Helm chart file size in bytes |
integration_ | Integer | Maximum number of integration executions that can be enqueued per minute,0 for unlimited |
integration_ | Integer | Maximum number of Datadog integration executions that can be enqueued per minute,0 for unlimited |
maven_ | Integer | Maximum Maven package file size in bytes |
max_ | Integer | Maximum number of parallel pipelines per merge train.20 and the minimum is 1. |
notification_ | Integer | Maximum storage size for root namespace limit notifications, |
npm_ | Integer | Maximum npm package file size in bytes |
nuget_ | Integer | Maximum Nu |
organization_ | Integer | Maximum number of system hooks per organization,0 for unlimited. |
pipeline_ | Integer | Maximum number of downstream pipelines in a pipeline’s hierarchy tree.1000. |
plan_Required | String | Name of the plan to update Allowed values: defaultMinimum length: 1 |
pypi_ | Integer | Maximum Py |
service_ | Integer | Maximum number of outbound Service Desk emails per day,0 for unlimited. |
service_ | Integer | Maximum number of outbound Service Desk emails per hour,0 for unlimited. |
storage_ | Integer | Maximum storage size for the root namespace, |
swift_ | Integer | Maximum Swift package file size in bytes. |
terraform_ | Integer | Maximum Terraform module package file size in bytes |
web_ | Integer | Maximum number of times a webhook can be called per minute,0 for unlimited. |
web_ | Integer | Maximum number of times a webhook can be called per minute,0 for unlimited. |
web_ | Integer | Maximum number of times a webhook can be called per minute,0 for unlimited. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
Schemas
Objects returned by the operations above and objects nested in their request bodies.
APIEntitiesPlanLimit
| Property | Type | Description |
|---|---|---|
cargo_ | Integer | Example:5. |
ci_ | Integer | Example:0 |
ci_ | Integer | Example:25 |
ci_ | Integer | Example:1000 |
ci_ | Integer | Example:50 |
ci_ | Integer | Example:10 |
ci_ | Integer | Example:0 |
ci_ | Integer | Example:1200 |
ci_ | Integer | Example:2 |
ci_ | Integer | Example:1000 |
ci_ | Integer | Example:1000 |
ci_ | Integer | Example:1. |
ci_ | Integer | Example:131072 |
conan_ | Integer | Example:3. |
dotenv_ | Integer | Example:5120 |
dotenv_ | Integer | Example:20 |
draft_ | Integer | Example:200 |
enforcement_ | Integer | Example:15000 |
generic_ | Integer | Example:5. |
helm_ | Integer | Example:5. |
integration_ | Integer | Example:500 |
integration_ | Integer | Example:3000 |
limits_ | Object | Example:{"enforcement_ |
maven_ | Integer | Example:3. |
max_ | Integer | Example:20 |
notification_ | Integer | Example:15000 |
npm_ | Integer | Example:5. |
nuget_ | Integer | Example:5. |
organization_ | Integer | Example:50 |
pipeline_ | Integer | Example:1000 |
pypi_ | Integer | Example:3. |
service_ | Integer | Example:700 |
service_ | Integer | Example:100 |
storage_ | Integer | Example:15000 |
swift_ | Integer | Example:1. |
terraform_ | Integer | Example:1. |
web_ | Integer | Example:500 |
web_ | Integer | Example:500 |
web_ | Integer | Example:500 |