Version 4.0.25.20 (latest)
Get the columns (and therefore also the tables) in a specific schema
Request
GET
/connections/{connection_name}/columns
Datatype
Description
Request
HTTP Request
path
HTTP Path
Expand HTTP Path definition...
connection_name
string
Name of connection
query
HTTP Query
Expand HTTP Query definition...
database
string
For dialects that support multiple databases, optionally identify which to use
schema_name
string
Name of schema to use.
cache
boolean
True to fetch from cache, false to load fresh
table_limit
integer
limits the tables per schema returned
table_names
string
only fetch columns for a given (comma-separated) list of tables
fields
string
Requested fields.
Response
200: Columns schema for connection
Datatype
Description
(array)
name
lock
string
Schema item name
sql_escaped_name
lock
string
Full name of item
schema_name
lock
string
Name of schema
columns
SchemaColumn
[]
Expand SchemaColumn definition...
name
lock
string
Schema item name
sql_escaped_name
lock
string
Full name of item
schema_name
lock
string
Name of schema
data_type_database
lock
string
SQL dialect data type
data_type
lock
string
Data type
data_type_looker
lock
string
Looker data type
description
lock
string
SQL data type
column_size
lock
integer
Column data size
snippets
Snippet
[]
Expand Snippet definition...
name
lock
string
Name of the snippet
label
lock
string
Label of the snippet
sql
lock
string
SQL text of the snippet
400: Bad Request
Datatype
Description
(object)
message
lock
string
Error details
documentation_url
lock
string
Documentation link
404: Not Found
Datatype
Description
(object)
message
lock
string
Error details
documentation_url
lock
string
Documentation link
422: Validation Error
Datatype
Description
(object)
message
lock
string
Error details
errors
Expand ValidationErrorDetail definition...
field
lock
string
Field with error
code
lock
string
Error code
message
lock
string
Error info message
documentation_url
lock
string
Documentation link
documentation_url
lock
string
Documentation link
429: Too Many Requests
Datatype
Description
(object)
message
lock
string
Error details
documentation_url
lock
string
Documentation link

