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