Statistics

The Statistics endpoint provides aggregated metrics calculated from time series data, over specified time windows. This allows you to query values such as averages, minima, maxima, counts, standard deviation, etc., instead of raw data points. It is useful for downsampling data or getting summary insights over time intervals.

Get statistics from the id domain

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idsstringOptional

A comma-separated list of one or more GUIDs

Example: ba529839-8179-40e2-b3fb-5da01a8d76e8,e8317666-77f2-4185-ae48-847af57563db
Query parameters
formatstring · enumOptional

Desired output format of the data. You can also specify the response format via the HTTP Accept Header instead of the format query parameter.

Default: jsonPossible values:
Header parameters
x-api-versionstring · enumOptional

API version

Default: 2025-10-31Possible values:
Responses
chevron-right
200

Response from the route

get
/statistics/id/{ids}

Get statistics from the jsmea domain

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
imo_numberstringOptional

The IMO number of the vessel to retrieve from

Example: IMO1000002
naming_rulestringOptional

The naming rule to use for retrieval

Example: jsmea_mac
categorystringOptional

The category to retrieve from

Example: MainEngine
sub_categorystringOptional

The sub category to retrieve from

Example: Fuel
contentstringOptional

The content to retrieve from

Example: Input
positionstringOptional

The position to retrieve from

Example: Inlet
itemstringOptional

The item to retrieve from

Example: Energy
modifierstringOptional

The modifier to retrieve from

Query parameters
fromstring · date-timeOptional

From date-time

Example: 2025-01-01T00:00:00.000000Z
tostring · date-timeOptional

To date-time

Example: 2025-01-01T00:00:10.000000Z
from_epochintegerOptional

From epoch. ex: 0

to_epochintegerOptional

To epoch. ex: 100000

sincestringOptional

Since returns data going back. ex: '1day' from now

laststringOptional

Last returns data going back. ex: '1day' from the last full day

yearnumberOptional

Sets the year for which data should be retrieved. ex: 2025

monthnumberOptional

Sets the month for which data should be retrieved. ex: 8

daynumberOptional

Sets the day for which data should be retrieved. ex: 1

aggregationsstringOptional

A comma-separated list of aggregation functions to compute for each time window. You can request multiple metrics at once. Valid values: min, max, mean, count, sum, stddev, var, skewness, kurtosis, avg, first_val, last_val, integral, first_time, last_time

Default: avgExample: avg,min,max
windowstringOptional

The duration of each aggregation window. This is given as a time interval literal, e.g., 1m (1 minute), 2h (2 hours), 2d (2 days), etc. All data within each window will be used to calculate the aggregations.

Default: 1monthExample: 1month
formatstring · enumOptional

Desired output format of the data. You can also specify the response format via the HTTP Accept Header instead of the format query parameter.

Default: jsonPossible values:
Header parameters
x-api-versionstring · enumOptional

API version

Default: 2025-10-31Possible values:
Responses
chevron-right
200

Response from the route

get
/statistics/jsmea/{imo_number}/{naming_rule}/{category}/{sub_category}/{content}/{position}/{item}/{modifier}

Retrieve multiple series

post

Used to retrieve multiple series in one request (you provide a list of domain/expression queries in the JSON body).

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
fromstring · date-timeOptional

From date-time

Example: 2025-01-01T00:00:00.000000Z
tostring · date-timeOptional

To date-time

Example: 2025-01-01T00:00:10.000000Z
from_epochintegerOptional

From epoch. ex: 0

to_epochintegerOptional

To epoch. ex: 100000

sincestringOptional

Since returns data going back. ex: '1day' from now

laststringOptional

Last returns data going back. ex: '1day' from the last full day

yearnumberOptional

Sets the year for which data should be retrieved. ex: 2025

monthnumberOptional

Sets the month for which data should be retrieved. ex: 8

daynumberOptional

Sets the day for which data should be retrieved. ex: 1

aggregationsstringOptional

A comma-separated list of aggregation functions to compute for each time window. You can request multiple metrics at once. Valid values: min, max, mean, count, sum, stddev, var, skewness, kurtosis, avg, first_val, last_val, integral, first_time, last_time

Default: avgExample: avg,min,max
windowstringOptional

The duration of each aggregation window. This is given as a time interval literal, e.g., 1m (1 minute), 2h (2 hours), 2d (2 days), etc. All data within each window will be used to calculate the aggregations.

Default: 1monthExample: 1month
formatstring · enumOptional

Desired output format of the data. You can also specify the response format via the HTTP Accept Header instead of the format query parameter.

Default: jsonPossible values:
Header parameters
x-api-versionstring · enumOptional

API version

Default: 2025-10-31Possible values:
Bodystring[]
string[] · min: 1OptionalExample: ["raalabs/IMO1000001/ME FuelEnergy_1","id/00000000-0000-4000-8000-000000000000"]
Responses
chevron-right
200

Batch statistics data

post
/statistics/query

Get statistics from the raalabs domain

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
imo_numberstringOptional

The IMO number of the vessel

Example: IMO1000001
tag_namestringOptional

Short descriptive tag name

Example: ME FuelEnergy*
Query parameters
fromstring · date-timeOptional

From date-time

Example: 2025-01-01T00:00:00.000000Z
tostring · date-timeOptional

To date-time

Example: 2025-01-01T00:00:10.000000Z
from_epochintegerOptional

From epoch. ex: 0

to_epochintegerOptional

To epoch. ex: 100000

sincestringOptional

Since returns data going back. ex: '1day' from now

laststringOptional

Last returns data going back. ex: '1day' from the last full day

yearnumberOptional

Sets the year for which data should be retrieved. ex: 2025

monthnumberOptional

Sets the month for which data should be retrieved. ex: 8

daynumberOptional

Sets the day for which data should be retrieved. ex: 1

aggregationsstringOptional

A comma-separated list of aggregation functions to compute for each time window. You can request multiple metrics at once. Valid values: min, max, mean, count, sum, stddev, var, skewness, kurtosis, avg, first_val, last_val, integral, first_time, last_time

Default: avgExample: avg,min,max
windowstringOptional

The duration of each aggregation window. This is given as a time interval literal, e.g., 1m (1 minute), 2h (2 hours), 2d (2 days), etc. All data within each window will be used to calculate the aggregations.

Default: 1monthExample: 1month
formatstring · enumOptional

Desired output format of the data. You can also specify the response format via the HTTP Accept Header instead of the format query parameter.

Default: jsonPossible values:
Header parameters
x-api-versionstring · enumOptional

API version

Default: 2025-10-31Possible values:
Responses
chevron-right
200

Response from the route

get
/statistics/raalabs/{imo_number}/{tag_name}

Get statistics from the vis-3-8a domain

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
imo_numberstringOptional

The IMO number of the vessel to retrieve from

Example: IMO1000001
primary_item_vis_pathstringOptional

Primary item VIS path

Example: 913/S130.1-2/S121
secondary_item_vis_pathstringOptional

Secondary item VIS path

Example: 406i/H233
metadatastringOptional

Metadata

Example: qty-power
Query parameters
fromstring · date-timeOptional

From date-time

Example: 2025-01-01T00:00:00.000000Z
tostring · date-timeOptional

To date-time

Example: 2025-01-01T00:00:10.000000Z
from_epochintegerOptional

From epoch. ex: 0

to_epochintegerOptional

To epoch. ex: 100000

sincestringOptional

Since returns data going back. ex: '1day' from now

laststringOptional

Last returns data going back. ex: '1day' from the last full day

yearnumberOptional

Sets the year for which data should be retrieved. ex: 2025

monthnumberOptional

Sets the month for which data should be retrieved. ex: 8

daynumberOptional

Sets the day for which data should be retrieved. ex: 1

aggregationsstringOptional

A comma-separated list of aggregation functions to compute for each time window. You can request multiple metrics at once. Valid values: min, max, mean, count, sum, stddev, var, skewness, kurtosis, avg, first_val, last_val, integral, first_time, last_time

Default: avgExample: avg,min,max
windowstringOptional

The duration of each aggregation window. This is given as a time interval literal, e.g., 1m (1 minute), 2h (2 hours), 2d (2 days), etc. All data within each window will be used to calculate the aggregations.

Default: 1monthExample: 1month
formatstring · enumOptional

Desired output format of the data. You can also specify the response format via the HTTP Accept Header instead of the format query parameter.

Default: jsonPossible values:
verbosebooleanOptional

When true, includes human-readable names for the corresponding VIS path elements in vis-3-8a domainIds. If false (or omitted), regular domainIds are returned.

Default: false
Header parameters
x-api-versionstring · enumOptional

API version

Default: 2025-10-31Possible values:
Responses
chevron-right
200

Response from the route

get
/statistics/vis-3-8a/{imo_number}/{primary_item_vis_path}/sec/{secondary_item_vis_path}/meta/{metadata}

Last updated