Skip to main content
GET
/
projects
/
{projectName}
/
connections
/
{connectionName}
/
schemas
/
{schemaName}
/
tables
List tables in database
curl --request GET \
  --url https://{organization}.data.credibledata.com/api/v0/projects/{projectName}/connections/{connectionName}/schemas/{schemaName}/tables \
  --header 'Authorization: Bearer <token>'
[
  {
    "resource": "<string>",
    "source": "<string>",
    "columns": [
      {
        "name": "<string>",
        "type": "<string>"
      }
    ]
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

projectName
string
required

Name of the project Standard identifier pattern for resource names

Pattern: ^[a-zA-Z0-9_-]+$
connectionName
string
required

Name of the connection Standard identifier pattern for resource names

Pattern: ^[a-zA-Z0-9_-]+$
schemaName
string
required

Name of the schema Standard identifier pattern for resource names

Pattern: ^[a-zA-Z0-9_-]+$

Response

A list of table names available in the specified schema

resource
string

Resource path to the table.

source
string

Table source as a JSON string.

columns
object[]

Table fields