Skip to main content
DELETE
/
v5
/
evaluation-dashboards
/
{dashboard_id}
Delete Evaluation Dashboard
curl --request DELETE \
  --url https://api.egp.scale.com/v5/evaluation-dashboards/{dashboard_id} \
  --header 'x-api-key: <api-key>'
{
  "id": "<string>",
  "created_by": {
    "id": "<string>",
    "type": "user",
    "object": "identity"
  },
  "tags": [
    "<string>"
  ],
  "name": "<string>",
  "account_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "object": "evaluation_dashboard",
  "description": "<string>",
  "evaluation_id": "<string>",
  "evaluation_group_id": "<string>",
  "widget_order": [
    "<string>"
  ],
  "error_message": "<string>",
  "archived_at": "2023-11-07T05:31:56Z",
  "widgets": [
    {
      "id": "<string>",
      "title": "<string>",
      "type": "bar",
      "account_id": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "object": "evaluation_dashboard_widget",
      "query": {
        "select": [
          {
            "expression": {
              "column": "<string>",
              "type": "COLUMN"
            },
            "alias": "<string>"
          }
        ],
        "filter": {
          "conditions": [
            {
              "column": "<string>",
              "operator": "=",
              "value": "<unknown>"
            }
          ],
          "logicalOperators": [
            "AND"
          ]
        },
        "groupBy": [
          "<string>"
        ],
        "orderBy": [
          {
            "column": "<string>",
            "direction": "ASC"
          }
        ],
        "limit": 2
      },
      "config": {},
      "archived_at": "2023-11-07T05:31:56Z"
    }
  ],
  "widget_results": [
    {
      "id": "<string>",
      "widget_id": "<string>",
      "computation_status": "pending",
      "account_id": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "object": "evaluation_dashboard_widget_result",
      "evaluation_id": "<string>",
      "evaluation_group_id": "<string>",
      "computed_result": {},
      "error_message": "<string>",
      "computation_job_id": "<string>",
      "computed_at": "2023-11-07T05:31:56Z",
      "widget": {
        "id": "<string>",
        "title": "<string>",
        "type": "bar",
        "account_id": "<string>",
        "created_at": "2023-11-07T05:31:56Z",
        "object": "evaluation_dashboard_widget",
        "query": {
          "select": [
            {
              "expression": {
                "column": "<string>",
                "type": "COLUMN"
              },
              "alias": "<string>"
            }
          ],
          "filter": {
            "conditions": [
              {
                "column": "<string>",
                "operator": "=",
                "value": "<unknown>"
              }
            ],
            "logicalOperators": [
              "AND"
            ]
          },
          "groupBy": [
            "<string>"
          ],
          "orderBy": [
            {
              "column": "<string>",
              "direction": "ASC"
            }
          ],
          "limit": 2
        },
        "config": {},
        "archived_at": "2023-11-07T05:31:56Z"
      }
    }
  ]
}

Authorizations

x-api-key
string
header
required

Headers

x-selected-account-id
string | null

Path Parameters

dashboard_id
string
required

Response

Successful Response

id
string
required

Unique identifier of the dashboard

created_by
Identity · object
required

The identity that created the entity.

tags
string[]
required

The tags associated with the entity

name
string
required

Dashboard name

account_id
string
required

Account that owns this dashboard

created_at
string<date-time>
required

When the dashboard was created

updated_at
string<date-time>
required

When the dashboard was last updated

object
string
default:evaluation_dashboard
Allowed value: "evaluation_dashboard"
description
string

Dashboard description

evaluation_id
string

Evaluation ID

evaluation_group_id
string

Evaluation group ID

widget_order
string[]

Ordered array of widget IDs

error_message
string

Error message if computation failed

archived_at
string<date-time>

When the dashboard was archived (soft-deleted)

widgets
Widgets · object[]

Widgets associated with this dashboard. Populated with 'widgets' view.

widget_results
Widget Results · object[]

Widget results for this dashboard. Populated with 'widget_results' view.