Skip to main content
GET
/
v1
/
tables
/
{table_id}
/
schema
Table.Get Schema
curl --request GET \
  --url https://api.retab.com/v1/tables/{table_id}/schema \
  --header 'Authorization: Bearer <token>'
{
  "table_id": "<string>",
  "columns": []
}
Return the column schema for a CSV-backed table.
Python
schema = client.tables.schema(table_id="tbl_123")
TypeScript
const schema = await client.tables.schema("tbl_123");
Go
schema, err := client.Tables.Schema(ctx, "tbl_123")
Java
// Get table schema with the Retab Java client.
cURL
curl https://api.retab.com/v1/tables/tbl_123/schema \
  -H "Authorization: Bearer $RETAB_API_KEY"

Authorizations

Authorization
string
header
required

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

Path Parameters

table_id
string
required

Response

Successful Response

table_id
string
required
columns
WorkflowTableColumn · object[]