oneAI icon

oneAI

Interact with the oneAI API

Dataset → Create

AI-generated

Summary

Create a dataset in the specified OneAI space, defining its table name and column schema. Each column is nullable, and at least one column is required.

Inputs

  • Space ID (required) — ID of the space where the dataset will be created.
  • Table Name (required) — Identifier for the dataset table. Start with a letter or underscore; use only letters, digits, and underscores.
  • Columns (required) — Add at least one column with a name and DuckDB type: BIGINT, BOOLEAN, DATE, DOUBLE, JSON, TIME, TIMESTAMP, TIMESTAMPTZ, UUID, or VARCHAR. Column names follow the same identifier rules as the table name. For JSON columns, pass objects or arrays as JSON values rather than stringified JSON.
  • Description — Optional human-authored description of the dataset.

Output shape

A single record

The source pack shows only the operation signature, not its implementation or response handling, so the returned record's fields are unspecified.

Links

Discussion