AnalyticsDashboard

The caller's dashboard. Pinning is personal, so a manager and a rep see different tiles over the same space; somebody who has pinned nothing yet gets the built-in set.

GET
/Analytics/dashboard
AuthorizationBearer <token>

JWT Authorization header using Bearer scheme

In: header

Response Body

application/json

curl -X GET "https://test.api.speaknode.com/api/Analytics/dashboard"
{
  "views": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "name": "string",
      "description": "string",
      "visibility": "System",
      "definition": {
        "schema_version": 0,
        "dimensions": [
          {
            "field": "Conversation",
            "metric_key": "string",
            "granularity": "Day",
            "bands": [
              {
                "from": 0,
                "to": 0,
                "label": "string"
              }
            ]
          }
        ],
        "metrics": [
          {
            "key": "string",
            "aggregation": "Count",
            "title": "string"
          }
        ],
        "filters": [
          {
            "operator": "Equals",
            "metric_key": "string",
            "field": "None",
            "values": [
              "string"
            ]
          }
        ],
        "visualization": "Table",
        "period": {
          "kind": "AllTime",
          "last_days": 0,
          "from": "2019-08-24T14:15:22Z",
          "to": "2019-08-24T14:15:22Z"
        },
        "sort_by": "string",
        "sort_descending": true,
        "limit": 0
      },
      "sort_index": 0,
      "can_edit": true,
      "pinned": true,
      "tile_width": 0,
      "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05"
    }
  ]
}