Skip to main content
PUT
/
v1
/
tables
/
{table_id}
Replace Table
curl --request PUT \
  --url https://api.retab.com/v1/tables/{table_id} \
  --header 'Api-Key: <api-key>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'file=<string>' \
  --form 'column_schema_overrides=<string>'
{
  "tables": []
}

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.

Replace the full CSV backing a table. This is the only content update operation for tables.
Python
tables = client.tables.replace(table_id="workflow_table_123", file="./carriers.csv")
TypeScript
const tables = await client.tables.replace("workflow_table_123", "./carriers.csv");
Go
tables, err := client.Tables.Replace(ctx, "workflow_table_123", &retab.TablesReplaceParams{File: "./carriers.csv"})
Java
// Replace the full CSV backing the table.
cURL
curl -X PUT https://api.retab.com/v1/tables/workflow_table_123 \
  -H "Api-Key: $RETAB_API_KEY" \
  -F "file=@./carriers.csv"

Authorizations

Api-Key
string
header
required

Path Parameters

table_id
string
required

Body

multipart/form-data
file
string
required
column_schema_overrides
string | null

Response

Successful Response

tables
WorkflowTable · object[]