Datasets

Get list of datasets

Returns list of datasets in given project. Query parameters can be used to optimize the response.

get/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

project_idinteger required

Project ID of the workspace

Example:4
workspace_idinteger required

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

Example:4

Query parameters

fieldsstring nullable

Fields to be returned in a comma-separated format may include id, name, owner_workspace_id, updated_at.

Example:id,name
idstring

Track multiple dataset ids, comma separated

Example:1,2,3
namestring nullable

Track multiple dataset names, comma separated

Example:ds_name1,ds_name2,ds_name3
created_atstring nullable

Track multiple dataset, which falls under created_at date range

Example:(from:'2023-12-19T09:39:17.628Z',to:'2023-12-26T09:42:43.152Z')
updated_atstring nullable

Track multiple dataset, which falls under updated_at date range

Example:(from:'2023-12-18T09:39:17.628Z',to:'2023-12-17T09:42:43.152Z')
created_bystring nullable

Track multiple dataset created by, comma separated

Example:riya,shriya
source_typestring nullable

Track multiple dataset source type, comma separated

Example:file,cloud,sketch
statusstring nullable

Track multiple dataset status, comma separated

Example:ready,error,processing
limitinteger

Max number of result to return

Example:10
offsetinteger

Distance from the beginning of the list of results

Example:10
sortstring nullable

Sort the datasets based on the fields

Example:(id:asc),(name:asc)

Response

List of datasets

offsetinteger
limitinteger
nextstring required

URI for next page of data

Example response

{
  "datasets": [
    {
      "resource_path": "UuqhmfqdgCEOtQDawjee",
      "id": 2,
      "name": "KJzbFQDbBiagPBxfIuVe",
      "created_at": "2000-06-16T15:12:47.546541",
      "created_by": "DwRRDlwKUpCSMNNSaFWt",
      "updated_by": "POnfVPudaTRnrJfeWvyB",
      "updated_at": null,
      "status": null,
      "status_info": {
        "ready": "clXmMHDYmPYctvUbvneh"
      },
      "get_url": null,
      "data_schema": [
        {
          "c_id": null,
          "c_name": null,
          "c_type": null
        }
      ],
      "stats": {
        "row_count": null,
        "column_count": 1,
        "batch_count": 0,
        "size": "qUYSrPqBileRMYRwIhUI"
      },
      "sources": null,
      "display_info": {
        "format": {
          "TVrhCnktvpVnQYKWPHLr": null
        },
        "sort": null
      },
      "data_url": null,
      "dependencies": {
        "nor": "kevin05@example.org",
        "hotel": "3345216423378988386112451532385908985705869766108313743387539254080726696018500389546862.715",
        "worker": "https://delgado.com/main/main/mainindex.htm",
        "this": "WmKSnbaLaMacwSKeRbZy",
        "word": "QuwsiXxkzlSsUvNlxLon",
        "production": "-34691529580252409273283601927104320457355288129519939442380184818613200.8060003867662616092696713387831812556465222555420",
        "enough": -44.9402508231836,
        "media": -162061103519.655,
        "myself": "SOlwuVWJepHRQfeKKXuT",
        "maintain": "2002-10-28T06:15:21.828104",
        "management": 4779,
        "air": "MlPrLGsyYYKcQMLpFZQP"
      },
      "batch_ids": null,
      "configurations": {
        "television": "XOkcTpvhiJKNJpmKslcf",
        "expect": 8168417107975.58,
        "new": 7167,
        "join": -93502926.637713,
        "simple": 9810,
        "close": "GbBEbbShKpFsnNHWCgcz",
        "father": "-523870854923493289334127708975630466.65169489222495004456322507267447822065",
        "difficult": 4628,
        "check": "2004-01-01T18:13:04.492401",
        "build": "https://strickland.com/blogmain.html",
        "visit": "1999-07-27T03:39:30.639958"
      },
      "description": null,
      "additional_info": null,
      "recipe": null,
      "recipe_edit": {
        "else": "http://www.nicholson.com/main/posts/categoryauthor.html",
        "phone": "rqnhDHGVJqtHJjrtBZfK",
        "southern": "PgwACRtptfmjkaQCyWZj",
        "each": "jennifer25@example.com",
        "life": "AbpCpJcsbJaVwvwfCavO",
        "stock": "aooIdkoQrWCINdYuKdHn",
        "cut": "-18547128758535917595616208706052652141080611743584789204952760712534179037604353738.950474240",
        "happen": "TNlPiNUDAVGUBzkwLSsw"
      }
    }
  ],
  "offset": 8252,
  "limit": 5339,
  "next": "zclZIWeSJwByNaLXEIMb"
}

Changes

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