Skip to main content
GET
/
v1
/
tables
/
{table_id}
/
schema
Get Table Schema
curl --request GET \
  --url https://api.retab.com/v1/tables/{table_id}/schema \
  --header 'Api-Key: <api-key>'
{
  "table_id": "<string>",
  "columns": []
}

Documentation Index

Fetch the complete documentation index at: https://docs.retab.com/llms.txt

Use this file to discover all available pages before exploring further.

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 "Api-Key: $RETAB_API_KEY"

Authorizations

Api-Key
string
header
required

Path Parameters

table_id
string
required

Response

Successful Response

table_id
string
required
columns
WorkflowTableColumn · object[]