Datasets

Create dataset

Create datasets

post/workspaces/{workspace_id}/projects/{project_id}/datasets

Request

  • Base URL: https://app.mammoth.io/api/v2
  • URL: https://app.mammoth.io/api/v2/workspaces/{workspace_id}/projects/{project_id}/datasets
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-KEY and API key in header X-API-SECRET and API key in header X-WORKSPACE-ID

Path parameters

workspace_idinteger required

Workspace refers to a collection of projects. Workspace ID is unique identifier for workspace.

Example:4
project_idinteger required

Project ID of the workspace

Example:4

Request body

ds_creation_type'clone' | 'cloud' | 'sketch' | 'weburl' required

Dataset Creation Type

folder_resource_idinteger nullable

Folder Resource ID

Example request

{
  "ds_creation_type": "weburl",
  "folder_resource_id": null,
  "dataset_spec": {
    "url": "https://www.google.com"
  }
}

Response

Document created, URL follows

unknown required

Changes

No recorded changes to this operation across all 3 revisions of this API.