diff --git a/reference/datasets.mdx b/reference/datasets.mdx index aaf61d6..d019716 100644 --- a/reference/datasets.mdx +++ b/reference/datasets.mdx @@ -70,11 +70,13 @@ In most cases, you can use `_time` and `_sysTime` interchangeably. The differenc ## Create dataset -To create a dataset, follow these steps: +To create a dataset using the Axiom app, follow these steps: 1. Click Settings icon **Settings > Datasets**. -2. Click **New dataset**. -3. Name the dataset, and then click **Add**. +1. Click **New dataset**. +1. Name the dataset, and then click **Add**. + +To create a dataset using the Axiom API, send a POST request to the [datasets endpoint](https://axiom.co/docs/restapi/endpoints/createDataset). Dataset names are 1 to 128 characters in length. They only contain ASCII alphanumeric characters and the hyphen (`-`) character. diff --git a/restapi/introduction.mdx b/restapi/introduction.mdx index 6ccaf34..265798d 100644 --- a/restapi/introduction.mdx +++ b/restapi/introduction.mdx @@ -44,7 +44,7 @@ Datasets are required to send, query, and retrieve requests. Datasets are a coll You will need to create or use an existing Dataset to get started with Axiom REST API. -See [Creating a Dataset](/reference/datasets) to get started. +See [Creating a Dataset](/reference/datasets#create-dataset) to get started. ## Authentication diff --git a/snippets/minimal-prerequisites.mdx b/snippets/minimal-prerequisites.mdx index 0f0fb65..3b6780c 100644 --- a/snippets/minimal-prerequisites.mdx +++ b/snippets/minimal-prerequisites.mdx @@ -1,4 +1,4 @@ ## Prerequisites - [Create an Axiom account](https://app.axiom.co/register). -- [Create a dataset in Axiom](/reference/datasets) where you send your data. \ No newline at end of file +- [Create a dataset in Axiom](/reference/datasets#create-dataset) where you send your data. \ No newline at end of file diff --git a/snippets/standard-prerequisites.mdx b/snippets/standard-prerequisites.mdx index 8e39a14..d2312a4 100644 --- a/snippets/standard-prerequisites.mdx +++ b/snippets/standard-prerequisites.mdx @@ -1,5 +1,5 @@ ## Prerequisites - [Create an Axiom account](https://app.axiom.co/register). -- [Create a dataset in Axiom](/reference/datasets) where you send your data. +- [Create a dataset in Axiom](/reference/datasets#create-dataset) where you send your data. - [Create an API token in Axiom](/reference/tokens) with permissions to update the dataset you have created. \ No newline at end of file