How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Treasure Data Tables API

Manage tables within databases

Treasure Data Tables API is one of 67 APIs that Treasure Data publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Tables. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 16 operations across 16 paths, and defines 17 schemas. It is described by OpenAPI 3.2.0, at version 1.0.

Requests are made against 4 base URLs: https://api.treasuredata.com/v3, https://api.treasuredata.co.jp/v3, https://api.ap02.treasuredata.com/v3, https://api.eu01.treasuredata.com/v3.

16 operations 16 paths 17 schemas 5 GET11 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0
Base URL
https://api.treasuredata.com/v3
Authentication
API Key, HTTP Td1
Resource Areas
1

Authentication & Security 2

Treasure Data Tables API declares 2 security schemes for authenticating requests. An API key is passed in the header as Authorization (TDAuth). It uses HTTP td1 authentication (ApiKeyAuth).

  • TDAuth — Treasure Data API key authentication. Set header value to "TD1 ".

Paths & Operations 16

Across 16 paths, the API surfaces 16 operations — 5 GET, 11 POST. Each is listed below with its method, path, parameters, and response codes.

Tables 16

Manage tables within databases

GET
/table/list/{database_name}
List tables in a database
listTables 1 param → 200401404
GET
/table/show/{database_name}/{table_name}
Get table
getTableByDatabaseNameAndTableName 3 params → 200
POST
/table/delete/{database_name}/{table_name}
Delete table
deleteTable 2 params → 200
POST
/table/create/{database_name}/{table_name}/{table_type}
Create table with specified type
createTableWithTableType 6 params body → 200
POST
/table/create/{database_name}/{table_name}
Create table
createTable 5 params body → 200
POST
/table/update/{database_name}/{table_name}
Update table
updateTable 2 params body → 200
POST
/table/rename/{database_name}/{current_table_name}/{new_table_name}
Rename table
renameTable 3 params → 200
POST
/table/swap/{database_name}/{table_name_1}/{table_name_2}
Swap tables
swapTables 3 params → 200
GET
/table/tail/{database_name}/{table_name}{path_format}
Tail table
tailTable 4 params → 200
GET
/table/distribution/{database_name}/{table_name}
Get table distribution
getTableDistribution 2 params → 200
POST
/table/change_database/{database_name}/{table_name}
Change database
changeTableDatabase 2 params body → 200
POST
/table/transfer/{database_name}/{table_name}
Transfer table to a different account
transferTable 3 params body → 200
POST
/table/append-schema/{database_name}/{table_name}
Append table schema
appendTableSchema 2 params body → 200
POST
/table/update-schema/{database_name}/{table_name}
Update table schema
updateTableSchema 2 params body → 200
GET
/table/deleted
List deleted tables
listDeletedTables 3 params → 200
POST
/table/recover/{table_id}
Recover deleted table
recoverTableById 1 param body → 2004XX5XX

Schemas 17

The contract defines 17 schemas that model the data the API accepts and returns. The most detailed are Table_2 (14 properties), RecoveredTable (12 properties), Database (10 properties), DeletedTable (6 properties). Each schema is shown below with its type and property counts.

Table
object
6 properties
DeletedTablesWithCursor
object
A paginated list of deleted tables
2 properties 2 required
Table_2
object
Table
14 properties 13 required
ColumnSchema
object
3 properties 3 required
TableReference
object
3 properties 3 required
TableSchemaAsString
string
A JSON serialization of the Table Schema
ColumnSchemaAsArray
array
An array with (in order) [name, type, alias, description] of a column. Alias and description are optional.
DateTimeAsString
string
Datetime in custom format (2020-12-31 11:22:33 -0500 or 2020-12-31 11:22:33 UTC for UTC)
Database
object
Database
10 properties 7 required
IdempotentKey
string
TableSchemaAsArray
array
TableId
integer
TransferTableResponse
object
2 properties
RecoveredTable
object
Recovered table; call GET /table/show/{database}/{table} for full details including schema
12 properties 12 required
DeletedTable
object
A deleted recoverable table
6 properties 6 required
DateTimeISO8601
string
Datetime in ISO 8601 format (2020-12-31T11:22:33-05:00 or 2020-12-31T11:22:33Z for UTC)
AnyValue
Can be any value, including null.

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

treasure-data-tables-api-openapi.yml Raw ↑

Other APIs Treasure Data publishes across the network.

Treasure Data Bulk Loads API
Treasure Data User API
Treasure Data System API
Treasure Data Postback API
Treasure Workflow API
Treasure Data Bulk Import API
Treasure Data Bulk Loads API
Treasure Data Connectors API
Treasure Data Databases API
Treasure Data Jobs API
Treasure Data SSO API
Treasure Data System API
Where this information came from

This is an independent, third-party profile of Treasure Data Tables API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.