Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add info about creating datasets with API #181

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions reference/datasets.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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 <img src="/doc-assets/icons/settings.svg" className="inline-icon" alt="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.

Expand Down
2 changes: 1 addition & 1 deletion restapi/introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion snippets/minimal-prerequisites.mdx
Original file line number Diff line number Diff line change
@@ -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.
- [Create a dataset in Axiom](/reference/datasets#create-dataset) where you send your data.
2 changes: 1 addition & 1 deletion snippets/standard-prerequisites.mdx
Original file line number Diff line number Diff line change
@@ -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.