Skip to main content

Workbooks

📓 Workbooks

Workbooks are interactive documents within a Workspace where you can perform data analysis, visualization, and modeling. You can create multiple workbooks to organize different projects or analyses.

Create Table in Workspace

Initializes a new table within a specific workspace. You can optionally include columns in the same request.

Query Parameters

  • isIncludeColumns (optional): Set to true to return column details in response.

Example cURL

curl --location 'https://{{base_url}}/noCo/api/v2/workspaces/{{workspace_id}}/tables?isIncludeColumns=true' \
--header 'x-auth-token: {{token}}'

Get Table Schema

Retrieves the structure, constraints, and column definitions of a specific table.

Example cURL

curl --location 'https://{{base_url}}/noCo/api/v2/workspaces/{{workspace_id}}/tables/{{table_id}}' \
--header 'x-auth-token: {{token}}'

Get Table Data

Fetches rows from a table with support for complex filtering, sorting, and pagination.

Request Body (JSON)

FieldTypeRequiredDescriptionExample
requestPageDetailsobjectNoPagination settings (pageNumber, pageSize){"pageNumber": 1, "pageSize": 500}
whereClausestringNoSQL-like filter condition. Dates must be in YYYY-MM-DD format.(`first_name` like '%d%' and `years_of_experience` > 4)
sortOptionsarrayNoList of sorting rules[{"columnName": "first_name", "direction": "DESC"}]

Try it out

POSThttps://be.datagol.ai/noCo/api/v2/workspaces/:workspaceId/tables/:tableId/data/external
Request Body (JSON)

Get Row by ID

Retrieves a single record by its internal unique identifier.

Try it out

GEThttps://be.datagol.ai/noCo/api/v2/workspaces/:workspaceId/tables/:tableId/rows/1

📊 Column Data Types

When creating columns, use the following uiDataType values to define the behavior and validation of your data.

uiDataTypeDescriptionExample Value
SINGLE_LINE_TEXTShort text values."Jane Doe"
LONG_TEXTMulti-line text or descriptions."This is a long description..."
NUMBERNumeric values (integer/decimal).1250.50
DATECalendar dates."2025-12-31"
CHECKBOXBoolean true/false values.true
FORMULACalculated values using SQL syntax.price * quantity
SINGLE_SELECTOne value from a predefined list."Active"

Create Column

Adds a new column to a table. Supports various data types including Standard and Formula columns.
{
"uiDataType": "SINGLE_LINE_TEXT",
"uiMetadata": {
"title": "Contact Name"
},
"name": "contact_name"
}

🛠️ How to Enable AI Features

To turn a standard column into an AI-powered one, you must include the settings.aiSettings object in your request:

  • enabled: Set to true to activate AI processing.
  • prompt: The "instruction" for the AI (e.g., "Summarize this row").
  • model: Choose between gpt-4o-mini or gpt-4o.
  • webAccess: (Optional) Set to true if the AI needs to browse the internet to find information.
Note: AI columns automatically re-process whenever the source fields they depend on are updated.

Try it out

POSThttps://be.datagol.ai/noCo/api/v2/workspaces/:workspaceId/tables/:tableId/column
Request Body (JSON)

Update Column

Updates an existing column's definition, such as its title, description, or data type settings.

Request Body (JSON)

{
"name": "updated_column_name",
"uiDataType": "SINGLE_LINE_TEXT",
"uiMetadata": {
"title": "New Column Title"
}
}

Try it out

PUThttps://be.datagol.ai/noCo/api/v2/workspaces/:workspaceId/tables/:tableId/columns/:columnId
Request Body (JSON)

Delete Column

Permanently removes a column and all its associated data from the table.

Try it out

DELETEhttps://be.datagol.ai/noCo/api/v2/workspaces/:workspaceId/tables/:tableId/columns/:columnId

Add Row to Workbook

Inserts a new record into the specified table.

Request Body (JSON)

{
"cellValues": {
"name": "Sample Project",
"status": "In Progress",
"priority": "High"
}
}

Update Existing Row

Updates an existing record. You must provide the row id along with the new cellValues.

Request Body (JSON)

{
"id": 1,
"cellValues": {
"name": "Updated Project Name"
}
}

Try it out

PUThttps://be.datagol.ai/noCo/api/v2/workspaces/:workspaceId/tables/:tableId/rows
Request Body (JSON)

Delete Rows

Deletes one or more rows from a specific table within a workspace.

Request Body (JSON)

FieldTypeRequiredDescriptionExample
rowIdsarrayYesList of internal row IDs to delete[5, 4, 3]

Example Request

{
"rowIds": [5, 4, 3]
}

Was this helpful?