Athena
Columns

Describe columns for a given table

GET
/schema/columns

Query Parameters

table_name*string

Postgres table name to describe

table_schema?string

Optional schema name; when provided, restricts columns to this schema

Header Parameters

X-Athena-Client*string
X-API-Key?string

Optional API key (also apikey, X-Athena-Key, Authorization Bearer)

Response Body

application/json

curl -X GET "https://athena-cluster.com/schema/columns?table_name=string" \  -H "X-Athena-Client: string"
{
  "columns": [
    {
      "column_name": "string",
      "data_type": "string",
      "column_default": "string",
      "is_nullable": "string"
    }
  ]
}
Empty
Empty