Write
Write records to a table.
Inserts or updates records in the specified target table. Supports batch inserts, upserts with match columns, default value functions (DATETIME_NOW, UUID4), and optional dry-run validation. A job execution is created automatically if one is not provided.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
target_name
The name of the table to write to.
target_type
The type of target. Currently ‘table’ or ‘core-table’.
data
List of record dicts to write.
mode
Write mode (e.g. ‘create’, ‘create-or-update’).
batch_insert_ok
If True, allow batch insert of multiple records.
params_to_match_for_update
Column names to match on when updating existing records.
defaults
Map of field names to default function names (e.g. ‘DATETIME_NOW’, ‘UUID4’).
job_execution_id
Existing job execution ID to associate with this write. If omitted, a new one is created.
job_name
Name for the auto-created job. Defaults to ‘Off-Platform Manual Job’.
collect_output
If True, return the written records in the response.
dry_run
If True, resolve references, check table and column validity, and return the execution plan without committing changes.
Response
OK
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error