ci.settings.setSet the organization’s default job time limit and no-progress guard
Applies to jobs a runner takes from now on; a running job keeps the limits it started with. The maximum cannot be changed here: ask support.
Request syntax
PUT /ci/api/settings
{
"jobTimeoutMinutes": "number",
"stallMinutes": "number"
}Request body
jobTimeoutMinutesOptionalnumber
A job's time limit in minutes when neither its workflow (`timeout-minutes`) nor its repository sets one, 1 to the organization's maximum (400 above it, naming the maximum); null: GitHub's 360
Constraints: integer, 1-4320
May be null.
stallMinutesOptionalnumber
The no-progress guard in minutes when the repository sets none: a job that prints no output this long is stopped, with a warning at half. 0 turns it off, at most 1440; null: 30
Constraints: integer, 0-1440
May be null.
Response
200 with the settings as get shows them. 400 when jobTimeoutMinutes is above the organization’s maximum; the message names it.
A JSON response is wrapped as { "success": true, "data": … }; the CLI prints the whole body with --json.
Fields of data
jobTimeoutMinutesAlwaysnumber, may be null
Default job time limit in minutes; null: 360, as on GitHubstallMinutesAlwaysnumber, may be null
No-progress guard in minutes (0: off); null: 30maxJobTimeoutMinutesAlwaysnumber, may be null
The maximum set for this organization by support; null: the plan’seffectiveMaxJobTimeoutMinutesAlwaysnumber
The longest a job of this organization may run, in minutesmaxSourceAlwaysone of operator, plan
Where that maximum comes fromquotaTierAlwaysone of trial, standard
The organization’s plandefaultsAlwaysobject
What applies when the organization sets nothingdefaults.jobTimeoutMinutesAlwaysnumber
360defaults.stallMinutesAlwaysnumber
30updatedAtAlwaysstring, may be null
When the settings last changed (ISO 8601)
Checked against the handlers: every route test validates their answers against this schema.
Errors
- 400The request does not pass the schema above. The body is { "error": …, "issues": […] }, one issue per field.
- 401No credentials, or an access key that is unknown, revoked or expired.
- 403The caller's policies do not allow ci:PutOrganizationSettings on this resource. The body names the action and the resource, and the refusal is recorded in the audit log.
- 404The resource does not exist in your organization.
Examples
The required parameters only, with example values. Replace id and the other placeholders with your own.
dcloud ci settings setcurl -X PUT "https://console.platform.deutschecloud.app/ci/api/settings" \
-H "Authorization: EWS-ACCESS-KEY $ACCESS_KEY" \
-H "Content-Type: application/json" \
-d '{}'import { DcloudClient } from '@dcloud/sdk';
const client = new DcloudClient();
const result = await client.ci.settings.set();from dcloud import Client
client = Client()
result = client.ci.settings.set()Generated from the API description, the same one the API checks requests against and the CLI is built from. MCP tool: dcloud_ci_settings_set.