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 totrueto 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)
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
requestPageDetails | object | No | Pagination settings (pageNumber, pageSize) | {"pageNumber": 1, "pageSize": 500} |
whereClause | string | No | SQL-like filter condition. Dates must be in YYYY-MM-DD format. | (`first_name` like '%d%' and `years_of_experience` > 4) |
sortOptions | array | No | List of sorting rules | [{"columnName": "first_name", "direction": "DESC"}] |
Try it out
POST
https://be.datagol.ai/noCo/api/v2/workspaces/:workspaceId/tables/:tableId/data/externalRequest Body (JSON)
Get Row by ID
Retrieves a single record by its internal unique identifier.
Try it out
GET
https://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.
uiDataType | Description | Example Value |
|---|---|---|
SINGLE_LINE_TEXT | Short text values. | "Jane Doe" |
LONG_TEXT | Multi-line text or descriptions. | "This is a long description..." |
NUMBER | Numeric values (integer/decimal). | 1250.50 |
DATE | Calendar dates. | "2025-12-31" |
CHECKBOX | Boolean true/false values. | true |
FORMULA | Calculated values using SQL syntax. | price * quantity |
SINGLE_SELECT | One value from a predefined list. | "Active" |
Create Column
Adds a new column to a table. Supports various data types including Standard and Formula columns.
- Standard Column
- Formula Column
- AI Generated Column
{
"uiDataType": "SINGLE_LINE_TEXT",
"uiMetadata": {
"title": "Contact Name"
},
"name": "contact_name"
}
{
"uiDataType": "FORMULA",
"uiMetadata": {
"title": "sample demo formula"
},
"formula": "length(name)",
"formulaType": "SQL",
"name": "sample_demo_formula"
}
{
"uiDataType": "SINGLE_LINE_TEXT",
"name": "ai_summary",
"description": "Auto-generated summary",
"uiMetadata": {
"title": "AI Summary"
},
"required": false,
"settings": {
"aiSettings": {
"enabled": true,
"prompt": "Summarize the 'description' field in 10 words",
"model": "gpt-4o-mini",
"webAccess": false
}
}
}
🛠️ 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
trueto activate AI processing. - prompt: The "instruction" for the AI (e.g., "Summarize this row").
- model: Choose between
gpt-4o-miniorgpt-4o. - webAccess: (Optional) Set to
trueif 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
POST
https://be.datagol.ai/noCo/api/v2/workspaces/:workspaceId/tables/:tableId/columnRequest 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
PUT
https://be.datagol.ai/noCo/api/v2/workspaces/:workspaceId/tables/:tableId/columns/:columnIdRequest Body (JSON)
Delete Column
Permanently removes a column and all its associated data from the table.
Try it out
DELETE
https://be.datagol.ai/noCo/api/v2/workspaces/:workspaceId/tables/:tableId/columns/:columnIdAdd 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
PUT
https://be.datagol.ai/noCo/api/v2/workspaces/:workspaceId/tables/:tableId/rowsRequest Body (JSON)
Delete Rows
Deletes one or more rows from a specific table within a workspace.
Request Body (JSON)
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
rowIds | array | Yes | List of internal row IDs to delete | [5, 4, 3] |
Example Request
{
"rowIds": [5, 4, 3]
}
Was this helpful?