Skip to main content
GET
/
projects
/
{projectName}
/
connections
/
{connectionName}
/
schemas
/
{schemaName}
/
tables
/
{tablePath}
Get table details from database
curl --request GET \
  --url https://{organization}.data.credibledata.com/api/v0/projects/{projectName}/connections/{connectionName}/schemas/{schemaName}/tables/{tablePath} \
  --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_-]+$
tablePath
string
required

Full path to the table Path pattern supporting slashes, dots, and dashes

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

Response

Table information

resource
string

Resource path to the table.

source
string

Table source as a JSON string.

columns
object[]

Table fields