v1

Returns the Spaces of your organization as a tree. Use their ids wherever a route or filter takes a Space id. A call with an API key sees every Space; an MCP connection sees only the Spaces its member can use or manage.

get/v1/spaces

Request

  • Base URL
    https://api.datadive.tools
  • URL
    https://api.datadive.tools/v1/spaces
  • Auth
    API key in header x-api-key

Response

Example response

{
  "data": [
    {
      "id": 101,
      "name": "Pet Friends",
      "path": "Pet Friends",
      "parentId": null,
      "children": [
        {
          "id": 102,
          "name": "Dog Hats",
          "path": "Pet Friends/Dog Hats",
          "parentId": 101,
          "children": []
        }
      ]
    }
  ]
}

Changes