Submit measurement query
const url = 'https://example.com/api/v1.25f/measurements';const options = { method: 'POST', headers: {Authorization: '<Authorization>', 'Content-Type': 'application/json'}, body: '{"type":"timeseries","device_ids":[210404],"metric_ids":[4007],"time_from":"2026-01-15T10:00:00Z","time_to":"2026-01-15T10:15:00Z"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1.25f/measurements \ --header 'Authorization: <Authorization>' \ --header 'Content-Type: application/json' \ --data '{ "type": "timeseries", "device_ids": [ 210404 ], "metric_ids": [ 4007 ], "time_from": "2026-01-15T10:00:00Z", "time_to": "2026-01-15T10:15:00Z" }'Submit a timeseries measurement query for async execution. Returns immediately
with query_id. When quality_filter is omitted, the API defaults to ok.
Short windows such as 5, 15, or 30 minutes are supported.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”object
Query type discriminator
Device IDs to query
Metric IDs to query
Start of time range (inclusive), RFC3339 Zulu. Short windows such as 5, 15, or 30 minutes are allowed.
End of time range (inclusive), RFC3339 Zulu. Short windows such as 5, 15, or 30 minutes are allowed.
Filter to a specific phase.
1,2,3: normal customer-facing electrical phases4: legacy redundant raw-data channel for some Gridlink and Gridmate metrics- omitted: returns phases
1,2, and3, plus non-phased rows with emptyphasevalues
Filter to a specific channel.
"": empty-channel metrics- omitted or null: returns all channels as separate rows
- provided values are matched with direct equality
Filter by quality status.
okis the default and is recommended for business calculationsnot-okis useful for debugging or data-quality investigationsallreturns both good and bad rows
Examples
Query a short counter window with default quality handling
{ "type": "timeseries", "device_ids": [ 210404 ], "metric_ids": [ 4007 ], "time_from": "2026-01-15T10:00:00Z", "time_to": "2026-01-15T10:15:00Z"}Query one electrical phase explicitly
{ "type": "timeseries", "device_ids": [ 210404 ], "metric_ids": [ 4001 ], "time_from": "2026-01-15T10:00:00Z", "time_to": "2026-01-15T10:30:00Z", "phase_filter": 1, "channel_filter": "", "quality_filter": "ok"}Responses
Section titled “Responses”Query submitted successfully
object
Unique query identifier for status checking and result retrieval
Examples
Example submission response
{ "query_id": "0196291a-0931-7d5d-8b7d-4f0d6c0f1a2b"}default
Section titled “default”Error response with details
object
Description of the error
Parent error if this is a nested error
Examples
Invalid time range error
{ "error": "time_to must be after time_from"}Unauthorized access error
{ "error": "invalid token"}