---
title: "Returns style settings for the given project"
method: GET
path: "/gdc/projects/{projectId}/styleSettings"
tags: ["style-settings"]
---

# Returns style settings for the given project

`GET /gdc/projects/{projectId}/styleSettings`

## Request

- Base URL: `https://secure.gooddata.com`
- URL: `https://secure.gooddata.com/gdc/projects/{projectId}/styleSettings`
- Auth: none declared. Required headers: `Accept`

## Path parameters

- `projectId` string, required

## Headers

- `Accept` string, required

## Response `200`

Custom style settings were successfully retrieved in case they exist for the given project. In case they do not exist and `MediaType.TEXT_HTML` is set as `accept` in the header to render gray pages a message informing about their absence is returned.

- StyleSettings
  - `styleSettings` object, required
    - `chartPalette` ChartPalette[], required
      - `guid` string, required: Palette id
      - `fill` object, required: RGB encoded fill color
        - `r` integer, required: Intensity of red
        - `g` integer, required: Intensity of green
        - `b` integer, required: Intensity of blue
    - `chartFont` object: Font
      - `family` string, required: Font family

## Other responses

- `204`: No custom settings were found for this project.
- `403`: The API call failed because you are not a member of the given project or you do not have permission to change the style (`canSetStyle`).
- `404`: The API call failed because the project for which you have requested style settings does not exist.
- `default`: Common error

---

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