GET
/
sources
/
{source_id}
/
tables
/
{table_id}
curl --request GET \
  --url https://app.getcensus.com/api/v1/sources/{source_id}/tables/{table_id} \
  --header 'Authorization: Bearer <token>'
{
  "status": "created",
  "data": {
    "type": "table",
    "id": 18,
    "table_catalog": "public",
    "table_schema": "production",
    "table_name": "users",
    "columns": [
      {
        "name": "user_id",
        "type": "character varying (256)"
      },
      {
        "name": "full_name",
        "type": "character varying (256)"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer token for the current workspace. Can be retrieved from the Workspace's settings page.

Path Parameters

source_id
integer
required

ID of the source

table_id
integer
required

ID of the table

Response

200 - application/json
Successfully retrieved the table
status
enum<string>

Outcome of the operation.

Available options:
success,
updated,
created,
not_found,
error
Example:

"created"

data
object