POST
/
datasets
curl --request POST \
  --url https://api.axiom.co/v2/datasets \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "description": "string",
  "name": "string",
  "retentionDays": 30
}'
{
  "created": "2022-07-20T02:35:14.137Z",
  "description": "string",
  "id": "string",
  "name": "string",
  "who": "string"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

referrer
string

Referrer slug

Body

application/json

Response

200
application/json
Created

The response is of type object.