---
title: "Batch insert rows"
method: POST
path: "/external/v1/table/{table_uuid}/rows"
tags: ["Table"]
---

# Batch insert rows

`POST /external/v1/table/{table_uuid}/rows`

## Request

- Base URL: `https://api.databar.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.databar.ai/external/v1/table/{table_uuid}/rows`
- Auth: API key in header `x-apikey`

## Path parameters

- `table_uuid` string, uuid, required

## Request body

- BatchInsertIn
  - `rows` BatchInsertRowIn[], required
    - `fields` object, required: Column values keyed by human-readable name.
  - `options` InsertOptions
    - `allow_new_columns` boolean
    - `dedupe` DedupeOptions
      - `enabled` boolean
      - `keys` string[]
  - `return_rows` boolean

## Response `200`

OK

- BatchInsertOut
  - `results` BatchInsertResult[], required
    - `index` integer, required
    - `id` string, nullable
    - `action` string, required
    - `row_data` object, nullable

---

[API](https://skmtc.dev/databar/apis/external-api.md) - [All operations](https://skmtc.dev/databar/apis/external-api/llms.txt) - [OpenAPI document](https://skmtc.dev/databar/apis/external-api/revisions/efe15f8bb9bb?raw)
