AddRowsData

Outcome of an Add Rows batch.

Properties

row_countintegerrequired

Number of rows accepted and written. Equals `row_ids.length`.

row_idsarray ofrequired

Flat array of newly-assigned row UUIDs, in request order. Rejected rows are not included. Copy directly into Run Rows's `row_ids` to execute.

string <uuid>
rejectedarray ofrequired

Rows the server couldn't accept (e.g. malformed shape, unknown fields). Valid rows in the same batch were still written — this list contains only the failures.

rows_queued_for_runintegerrequired

How many newly-added rows were queued for execution. `0` when `run_after_add: "none"`. `min(10, row_count)` when `"first_10"`. Equal to `row_count` when `"all"`.

Example

AddRowsData example
{
  "row_count": 0,
  "row_ids": [
    "00000000-0000-0000-0000-000000000000"
  ],
  "rejected": [
    {
      "row": {},
      "errors": [
        {
          "field": "email",
          "code": "malformed_row",
          "message": "string"
        }
      ]
    }
  ],
  "rows_queued_for_run": 0
}