---
title: "Get project settings"
method: GET
path: "/project/{provider}/{organization}/{project}/settings"
tags: ["Project"]
---

# Get project settings

`GET /project/{provider}/{organization}/{project}/settings`

## Request

- Base URL: `https://circleci.com/api/v2`
- URL: `https://circleci.com/api/v2/project/{provider}/{organization}/{project}/settings`
- Auth: one of:
  - API key in header `Circle-Token`
  - HTTP bearer
  - HTTP basic
  - API key in query parameter `circle-token`

Returns a list of the advanced settings for a CircleCI project, whether enabled (true) or not (false).

## Response `200`

Successful response.

- ProjectSettings
  - `advanced` object
    - `autocancel_builds` boolean: Except for the default branch, cancel running pipelines on a branch when a new pipeline starts on that branch.
    - `build_fork_prs` boolean: Run builds for pull requests from forks.
    - `build_prs_only` boolean: Once enabled, we will only build branches that have associated pull requests open.
    - `disable_ssh` boolean: When set to true, job re-runs with SSH debugging access will be disabled for the project.
    - `forks_receive_secret_env_vars` boolean: Run builds for forked pull requests with this project's configuration, environment variables, and secrets.
    - `oss` boolean: Free and Open Source. Enabling this grants additional credits, and lets others see your builds, both through the web UI and the API.
    - `set_github_status` boolean: Report the status of every pushed commit to GitHub's status API. Updates reported per job.
    - `setup_workflows` boolean: Enabling allows you to conditionally trigger configurations outside of the primary `.circleci` parent directory.
    - `write_settings_requires_admin` boolean: Whether updating these settings requires a user to be an organization administrator. When disabled, updating settings can be done by any member.
    - `pr_only_branch_overrides` string[]: This field is used in conjunction with the `build_prs_only`, it allows you to specify a list of branches that will always triger a build. The value passed will overwrite the existing value.

## Other responses

- `401`: Credentials provided are invalid.
- `403`: None or insufficient credentials provided.
- `404`: Insufficient credentials for a private project, OR the organization, project, or repository does not exist.
- `429`: API rate limits exceeded.
- `500`: Internal server error.

---

[API](https://skmtc.dev/circleci/apis/circleci-api.md) - [All operations](https://skmtc.dev/circleci/apis/circleci-api/llms.txt) - [OpenAPI document](https://skmtc.dev/circleci/apis/circleci-api/revisions/b9c0e0c24058?raw)
