ci.settings.get

Show the organization’s job time limit, no-progress guard and maximum

GET /ci/api/settingsIAM ci:GetOrganizationSettingsRead

A job’s time limit is its own `timeout-minutes`, else its repository’s default, else this one, else 360 as on GitHub, never above the maximum (trial 6 h, standard 72 h unless raised). The no-progress guard is the repository’s, else this one, else 30 minutes.

Request syntax

GET /ci/api/settings

Response

200 with jobTimeoutMinutes and stallMinutes (null: the defaults, 360 and 30), maxJobTimeoutMinutes (set for this organization by support; null: the plan’s), effectiveMaxJobTimeoutMinutes, maxSource (operator or plan), quotaTier, defaults and updatedAt.

A JSON response is wrapped as { "success": true, "data": … }; the CLI prints the whole body with --json.

Fields of data

  • jobTimeoutMinutesAlways

    number, may be null

    Default job time limit in minutes; null: 360, as on GitHub
  • stallMinutesAlways

    number, may be null

    No-progress guard in minutes (0: off); null: 30
  • maxJobTimeoutMinutesAlways

    number, may be null

    The maximum set for this organization by support; null: the plan’s
  • effectiveMaxJobTimeoutMinutesAlways

    number

    The longest a job of this organization may run, in minutes
  • maxSourceAlways

    one of operator, plan

    Where that maximum comes from
  • quotaTierAlways

    one of trial, standard

    The organization’s plan
  • defaultsAlways

    object

    What applies when the organization sets nothing
  • defaults.​jobTimeoutMinutesAlways

    number

    360
  • defaults.​stallMinutesAlways

    number

    30
  • updatedAtAlways

    string, 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:GetOrganizationSettings 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 get

Generated from the API description, the same one the API checks requests against and the CLI is built from. MCP tool: dcloud_ci_settings_get.