> ## Documentation Index
> Fetch the complete documentation index at: https://strattumai.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# List user-editable column metadata for a table

> Returns persisted column descriptions for a given table.

- **Raw**: `layer=raw&connector=postgres&table=customers`
- **Clean**: `layer=clean&table=dim_clientes`



## OpenAPI

````yaml /api-reference/catalog-api.json get /catalog/columns
openapi: 3.1.0
info:
  title: Strattum Catalog API
  description: Expõe a estrutura do data lake — camadas, conectores e tabelas.
  version: 0.1.0
servers: []
security: []
paths:
  /catalog/columns:
    get:
      tags:
        - catalog
      summary: List user-editable column metadata for a table
      description: |-
        Returns persisted column descriptions for a given table.

        - **Raw**: `layer=raw&connector=postgres&table=customers`
        - **Clean**: `layer=clean&table=dim_clientes`
      operationId: get_column_metadata_catalog_columns_get
      parameters:
        - name: layer
          in: query
          required: true
          schema:
            type: string
            pattern: ^(raw|clean)$
            title: Layer
        - name: table
          in: query
          required: true
          schema:
            type: string
            title: Table
        - name: connector
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Connector
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ColumnMetadataResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ColumnMetadataResponse:
      properties:
        columns:
          items:
            $ref: '#/components/schemas/ColumnMetadataItem'
          type: array
          title: Columns
      type: object
      required:
        - columns
      title: ColumnMetadataResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ColumnMetadataItem:
      properties:
        column:
          type: string
          title: Column
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
      type: object
      required:
        - column
      title: ColumnMetadataItem
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````