POST
/
v5
/
datasets
curl --request POST \
  --url https://api.egp.scale.com/v5/datasets \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "name": "<string>",
  "description": "<string>",
  "tags": [
    "<string>"
  ],
  "data": [
    {}
  ]
}'
{
  "id": "<string>",
  "object": "dataset",
  "name": "<string>",
  "description": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "created_by_user_id": "<string>",
  "archived_at": "2023-11-07T05:31:56Z",
  "tags": [
    "<string>"
  ],
  "current_version_num": 123
}

Authorizations

x-api-key
string
header
required

Body

application/json
name
string
required
data
object[]
required

Items to be included in the dataset

description
string
tags
string[]

The tags associated with the entity

Response

200
application/json
Successful Response
id
string
required
name
string
required
created_at
string
required
created_by_user_id
string
required
tags
string[]
required

The tags associated with the entity

current_version_num
integer
required
object
enum<string>
default:dataset
Available options:
dataset
description
string
archived_at
string