Write rows to dataset table
POST /dataset-tables/{tableId}/rows
Write data to a dataset table. Supports JSON, CSV, Parquet, or Arrow IPC format.
Query Parameters:
mode: Write operation modeappend: Insert new rows without checking for duplicates (fastest)upsert: Insert new rows or update existing rows by primary keyoverwrite: Replace all existing data in the tabledelete: Delete rows by primary key
idempotency_key: Optional key for exactly-once semanticsskip_validation: Skip schema validation (faster but riskier)
Content Types:
application/json: Body is array of row objects (or array of PKs for delete)text/csvorapplication/csv: CSV file with header rowapplication/parquet: Parquet binary fileapplication/vnd.apache.arrow.stream: Body is raw Arrow IPC bytes
CSV/Parquet Requirements:
- Column names matched case-insensitively
- Values automatically coerced to schema types
- Maximum file size: 100MB per request
- For delete mode, full rows accepted (primary key columns extracted automatically)
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Unique identifier of the table to retrieve
Unique identifier of the table to retrieve
Query Parameters
Section titled “Query Parameters ”Write operation mode
Write operation mode
Unique key for exactly-once write semantics
Unique key for exactly-once write semantics
Skip schema validation for faster writes
Skip schema validation for faster writes
Responses
Section titled “ Responses ”Rows written successfully
object
Total number of rows affected by the operation
Number of new rows inserted
Number of existing rows updated
Number of rows deleted
New table version after the operation
Operation duration in milliseconds
Non-fatal warnings encountered during the operation
Object store I/O metrics for billing
object
GET operations (full object fetch) - cache miss
GET operations (full object fetch) - cache hit
Range read operations - cache miss
Range read operations - cache hit
Multi-range read operations - cache miss
Multi-range read operations - cache hit
HEAD (metadata) operations - cache miss
HEAD (metadata) operations - cache hit
LIST operations (directory listing) - cache miss
LIST operations (directory listing) - cache hit
PUT operations (writes are never cached)
DELETE operations
Overall cache hit rate as a percentage (0-100)
Total bytes read from upstream storage (cache miss)
Total bytes read from L2 cache (cache hit)
Total bytes written (PUT operations)
Bad Request - Validation error or invalid input
object
Unauthorized - Authentication required or invalid token
object
Forbidden - Insufficient permissions
object
Not Found - Resource does not exist
object
Payload Too Large - Request body exceeds size limit
object
Internal Server Error - Unexpected server error