# tables.getStyles

> List all table styles and the document-level default table style setting.



- Member path: `doc.tables.getStyles(…)`
- Mutates document: no
- Idempotency: `idempotent`
- Supports tracked mode: no
- Supports dry run: no

## Expected result

Returns a TablesGetStylesOutput with the style catalog, explicit default, and effective default.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$defs": {},
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$defs": {},
  "type": "object",
  "properties": {
    "explicitDefaultStyleId": {
      "type": [
        "string",
        "null"
      ]
    },
    "effectiveDefaultStyleId": {
      "type": [
        "string",
        "null"
      ]
    },
    "effectiveDefaultSource": {
      "type": "string"
    },
    "styles": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "basedOn": {
            "type": [
              "string",
              "null"
            ]
          },
          "isDefault": {
            "type": "boolean"
          },
          "isCustom": {
            "type": "boolean"
          },
          "uiPriority": {
            "type": [
              "integer",
              "null"
            ]
          },
          "hidden": {
            "type": "boolean"
          },
          "quickFormat": {
            "type": "boolean"
          },
          "conditionalRegions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false,
        "required": [
          "id",
          "name",
          "basedOn",
          "isDefault",
          "isCustom",
          "uiPriority",
          "hidden",
          "quickFormat",
          "conditionalRegions"
        ]
      }
    }
  },
  "additionalProperties": false,
  "required": [
    "explicitDefaultStyleId",
    "effectiveDefaultStyleId",
    "effectiveDefaultSource",
    "styles"
  ]
}
```

## Pre-apply throws

- None

## Non-applied receipt codes

- None

