What a namespace is
A namespace is a logical container that groups datasets under a shared context. It defines who the data belongs to and where it lives inside your workspace. You can think of a namespace as the digital equivalent of a project or folder. Each user can have multiple namespaces. Within them, datasets can be organized by department, use case, or business function. Namespaces are also used to manage access and visibility. A dataset in a private namespace is visible only to its owner or designated users, while a dataset in a public namespace can be viewed and connected to by anyone on the DataLinks platform. Namespaces can be listed and reviewed using the API:What a dataset is
A dataset is a structured collection of data stored within a namespace. It can contain information that was ingested from a file, a database export, an API feed, or even unstructured text that has been cleaned and structured by DataLinks. Every dataset has:- A dataset name (unique within its namespace)
- A namespace that the dataset sits in
- A visibility level (private or public)
How namespaces and datasets work together
Namespaces organize datasets, and datasets give structure to the data itself. When you create a dataset, you must specify which namespace it belongs to. This ensures that ownership, permissions, and context are always clear. A single namespace might contain several datasets, for example,finance_revenue, finance_expenses, and finance_forecasts.
Namespaces prevent naming conflicts between teams while allowing easy sharing across a shared environment. They also make it possible to apply consistent access controls and data governance rules.
Creating namespaces and datasets
You can create and manage both namespaces and datasets through the web platform or through the API (and SDK).For step-by-step instructions, see How To Create a Namespace and How To Create a Dataset.
Using the web platform
The DataLinks web platform provides a visual interface for creating namespaces and datasets. From the dashboard, you can:- Create a new namespace and set its visibility
- Add datasets within that namespace
- Upload data files directly or start ingestion through the interface
Using the API or SDK
For automated workflows or large-scale operations, the API (and SDK) is the preferred option. The key endpoints include:- POST Create new dataset
- POST Ingest data
- POST Preview
- POST Rename a dataset
- PUT Update infer definition
Managing and maintaining your structure
Over time, you may need to adjust your namespace and dataset configuration. The following endpoints support maintenance and cleanup:- PUT Update dataset sort order
- POST Clear all data for a dataset
- DEL Delete all data and metadata for a dataset (balefire)