oneAI icon

oneAI

Interact with the oneAI API

Dataset → Import CSV

AI-generated

Summary

Import CSV data from a binary file into a specified dataset table within a given space, optionally creating the table if it does not exist.

Inputs

  • Space ID (required) — The ID of the space holding the dataset to import into.
  • Table Name (required) — The name of the dataset table to append the CSV rows to.
  • Binary Property (required) — The name of the binary property containing the CSV file to import (defaults to 'data').
  • Create Table if Missing — Whether to create the dataset table if it does not exist. When enabled, a new table with VARCHAR columns from the CSV header is created; otherwise, the operation fails if the table is missing.

Output shape

a single JSON object representing the import result as returned by the One AI API

If 'Create Table if Missing' is false and the table does not exist, the node errors explicitly to avoid implicit creation of shadow tables. The response includes success confirmation or error details from the API.

Links

Discussion