Athena
Constraints

List unique constraints

GET
/schema/constraints

Query Parameters

table_name*string

Postgres table name to inspect for unique constraints

table_schema?string

Optional schema name; defaults to public when omitted

Header Parameters

X-Athena-Client*string

Response Body

application/json

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