Qubitro Documentation
SupportLog inSign Up
  • Documentation
  • Guides
  • Developers
  • Changelog
  • Qubitro REST API
  • API Reference
    • Projects
      • Create Project
      • Retrieve Projects
      • Retrieve Project by ID
      • Delete Project
      • Invite Collaborator
    • Devices
      • Create Device
      • Retrieve Devices
      • Get Device by ID
      • Delete Device
    • Storage
      • Retrieve Device Data
      • Purge Device Data
      • Retrieve Device Data Keys
      • Retrieve Device Data From Storage View
    • Aggregated View
      • Retrieve Aggregated Views
      • Retrieve Aggregated View Data
      • Retrieve Aggregated View Data Keys
      • Purge Aggregated View Data
    • Dashboards
      • Retrieve Dashboards
      • Invite Collaborator
    • Organization
      • Invite Member
      • Retrieve Groups
Powered by GitBook
On this page
Export as PDF
  1. API Reference
  2. Aggregated View

Retrieve Aggregated Views

Allows to retrieve a list of aggregated views.

PreviousAggregated ViewNextRetrieve Aggregated View Data

Last updated 2 months ago

Retrieve Aggregated View Data

get
Authorizations
Path parameters
PROJECT_IDstringRequired
DEVICE_IDstringRequired
AGGREGATED_VIEW_IDstringRequired
Query parameters
pageintegerOptional

REQUIRED (All Data Fetch Operations are Paginated) Type=Number

Example: 1
limitintegerOptional

REQUIRED (Limit per Page) Type=Number

Example: 100
rangestringOptional

REQUIRED (Value Can be Only "all" or "time") Type=string

Example: all
startstringOptional

REQUIRED if "range" is "time" Type=date

endstringOptional
Responses
200
OK
application/json
Responseobject
401
Unauthorized
application/json
403
Forbidden
application/json
get
GET /v2/projects/{PROJECT_ID}/devices/{DEVICE_ID}/aggregated-view/{AGGREGATED_VIEW_ID} HTTP/1.1
Host: {{base_url}}
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "success": true,
  "action": "get device data",
  "status": 200,
  "message": "Aggregated View data retrieved successfully.",
  "data": [
    {
      "key_avg": 10,
      "time": "2025-02-10T00:00:00Z"
    }
  ]
}