For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Folders

post

Create a new folder.

Query parameters
accountIdstringOptional
Body
namestringRequired
Responses
200

Returns the newly created folder's details.

application/json
post/folders
POST /folders HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 15

{
  "name": "text"
}
{
  "resource": {
    "id": "text",
    "created_at": "text",
    "child_count": 1,
    "sub_folders": [
      {
        "id": "text",
        "created_at": "text",
        "child_count": 1,
        "sub_folders": [
          {
            "id": "text",
            "created_at": "text",
            "child_count": 1,
            "sub_folders": "[Circular Reference]",
            "Children": [
              {
                "id": "text",
                "name": "text"
              }
            ],
            "name": "text",
            "type": "ACCOUNT",
            "permission": "core_dashboards_view"
          }
        ],
        "Children": [
          {
            "id": "text",
            "name": "text"
          }
        ],
        "name": "text",
        "type": "ACCOUNT",
        "permission": "core_dashboards_view"
      }
    ],
    "Children": [
      {
        "id": "text",
        "name": "text"
      }
    ],
    "name": "text",
    "type": "ACCOUNT",
    "permission": "core_dashboards_view"
  }
}
get

Get a folder by ID.

Path parameters
folder_idstringRequired
Query parameters
accountIdstringOptional
Responses
200

Returns the folder details.

application/json
get/folders/{folder_id}
GET /folders/{folder_id} HTTP/1.1
Accept: */*
{
  "resource": {
    "id": "text",
    "created_at": "text",
    "child_count": 1,
    "sub_folders": [
      {
        "id": "text",
        "created_at": "text",
        "child_count": 1,
        "sub_folders": [
          {
            "id": "text",
            "created_at": "text",
            "child_count": 1,
            "sub_folders": "[Circular Reference]",
            "Children": [
              {
                "id": "text",
                "name": "text"
              }
            ],
            "name": "text",
            "type": "ACCOUNT",
            "permission": "core_dashboards_view"
          }
        ],
        "Children": [
          {
            "id": "text",
            "name": "text"
          }
        ],
        "name": "text",
        "type": "ACCOUNT",
        "permission": "core_dashboards_view"
      }
    ],
    "Children": [
      {
        "id": "text",
        "name": "text"
      }
    ],
    "name": "text",
    "type": "ACCOUNT",
    "permission": "core_dashboards_view"
  }
}
delete

Delete a folder along with any dashboards it contains.

Path parameters
folder_idstringRequired
Query parameters
accountIdstringOptional
Responses
200

Returns the deleted folder.

application/json
delete/folders/{folder_id}
DELETE /folders/{folder_id} HTTP/1.1
Accept: */*
{
  "resource": {
    "id": "text",
    "created_at": "text",
    "child_count": 1,
    "sub_folders": [
      {
        "id": "text",
        "created_at": "text",
        "child_count": 1,
        "sub_folders": [
          {
            "id": "text",
            "created_at": "text",
            "child_count": 1,
            "sub_folders": "[Circular Reference]",
            "Children": [
              {
                "id": "text",
                "name": "text"
              }
            ],
            "name": "text",
            "type": "ACCOUNT",
            "permission": "core_dashboards_view"
          }
        ],
        "Children": [
          {
            "id": "text",
            "name": "text"
          }
        ],
        "name": "text",
        "type": "ACCOUNT",
        "permission": "core_dashboards_view"
      }
    ],
    "Children": [
      {
        "id": "text",
        "name": "text"
      }
    ],
    "name": "text",
    "type": "ACCOUNT",
    "permission": "core_dashboards_view"
  }
}
patch

Update a folder's name.

Path parameters
folder_idstringRequired
Query parameters
accountIdstringOptional
Body
namestringRequired
Responses
200

Returns the updated folder.

application/json
patch/folders/{folder_id}
PATCH /folders/{folder_id} HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 15

{
  "name": "text"
}
{
  "resource": {
    "id": "text",
    "created_at": "text",
    "child_count": 1,
    "sub_folders": [
      {
        "id": "text",
        "created_at": "text",
        "child_count": 1,
        "sub_folders": [
          {
            "id": "text",
            "created_at": "text",
            "child_count": 1,
            "sub_folders": "[Circular Reference]",
            "Children": [
              {
                "id": "text",
                "name": "text"
              }
            ],
            "name": "text",
            "type": "ACCOUNT",
            "permission": "core_dashboards_view"
          }
        ],
        "Children": [
          {
            "id": "text",
            "name": "text"
          }
        ],
        "name": "text",
        "type": "ACCOUNT",
        "permission": "core_dashboards_view"
      }
    ],
    "Children": [
      {
        "id": "text",
        "name": "text"
      }
    ],
    "name": "text",
    "type": "ACCOUNT",
    "permission": "core_dashboards_view"
  }
}

Last updated

Was this helpful?