---
title: "Get Source Table Schema"
method: GET
path: "/v1/source_tables/{table_name}"
tags: ["source_tables"]
---

# Get Source Table Schema

`GET /v1/source_tables/{table_name}`

The table's parquet-footer schema, read on demand.

## Path parameters

- `table_name` string, required

## Response `200`

Successful Response

- SourceTableSchemaResponse
  - `table_name` string, required
  - `columns` FieldDefOutput[], required
    - `name` string, required
    - `datatype` union, required
      - String
        - `kind` 'string'
      - Boolean
        - `kind` 'boolean'
      - CategoricalString
        - `kind` 'categorical_string'
        - `values` string[], required
      - CategoricalInteger
        - `kind` 'categorical_integer'
        - `values` integer[], required
      - Integer
        - `kind` 'integer'
        - `bits` 8 | 16 | 32 | 64, required
        - `signed` boolean
        - `range` RangeInt
          - `min` integer, nullable
          - `max` integer, nullable
      - Real
        - `kind` 'real'
        - `bits` 16 | 32 | 64, required
        - `range` RangeFloat
          - `min` number, nullable
          - `max` number, nullable
      - OuterproductDataframeDatatypeDatetime
        - `kind` 'datetime'

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/outerproduct/apis/outerproduct-api.md) · [All operations](https://skmtc.dev/outerproduct/apis/outerproduct-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/outerproduct/outerproduct-api/revisions/a49cdafe7fba/schema)
