{"components":{"responses":{},"schemas":{"BadRequestResponse":{"example":{"error":"The time format is incorrect"},"properties":{"error":{"description":"Error message","type":"string"}},"title":"BadRequestResponse","type":"object"},"CommonMetadata":{"description":"Properties common to all Metadata types","properties":{"description":{"example":"MEAN INDICATED PRESS NO.1 CYL","type":"string"},"mapsTo":{"additionalProperties":{"type":"string"},"example":{"jsmea":"IMO1000000/jsmea_mac/MainEngine/Cylinder7/MeanIndication//Press/","raalabs":"IMO1000000/ME CylinderMeanIndicatedPress_7"},"type":"object"},"name":{"example":"MC00470_01","type":"string"},"rangeHigh":{"example":30,"type":"integer"},"rangeLow":{"example":-2,"type":"integer"},"scale":{"example":1,"type":"number"},"source":{"type":"string"},"timeSeriesId":{"format":"uuid","type":"string"},"uom":{"example":"bar","type":"string"},"vesselImo":{"example":"1000000","type":"string"},"vesselName":{"example":"The Flying Dutchman","type":"string"}},"title":"CommonMetadata","type":"object"},"IDMetadata":{"allOf":[{"$ref":"#/components/schemas/CommonMetadata"}],"description":"Metadata from the Raalabs domain","example":{"ba529839-8179-40e2-b3fb-5da01a8d76e8":{"description":"Open door #0","mapsTo":{"jsmea":"IMO1000001/jsmea_mac/MainEngine/Fuel/Input/Inlet/Energy/","raalabs":"IMO1000001/ME FuelEnergy_0"},"name":"BEEF0","rangeHigh":0.0,"rangeLow":-1.0,"scale":1.0,"source":"Matrix","timeSeriesId":"ba529839-8179-40e2-b3fb-5da01a8d76e8","uom":"Joule","vesselImo":"1000001","vesselName":"Blue Whale"},"e8317666-77f2-4185-ae48-847af57563db":{"description":"Open door #1","mapsTo":{"jsmea":"IMO1000001/jsmea_mac/MainEngine/Fuel/Input/Inlet/Energy/","raalabs":"IMO1000001/ME FuelEnergy_1"},"name":"BEEF1","rangeHigh":1.0,"rangeLow":-1.0,"scale":1.0,"source":"Matrix","timeSeriesId":"e8317666-77f2-4185-ae48-847af57563db","uom":"Joule","vesselImo":"1000001","vesselName":"Blue Whale"}},"title":"IDMetadata","type":"object"},"IdStatistics":{"description":"Statistics response from the ID domain","example":[{"00000000-0000-4000-8000-000000000000:avg":1.2499918981481482,"timestamp":"2025-01-01T00:00:00.000000Z"},{"00000000-0000-4000-8000-000000000000:min":0.1,"timestamp":"2025-01-01T00:00:00.000000Z"},{"00000000-0000-4000-8000-000000000000:max":1.5,"timestamp":"2025-01-01T00:00:00.000000Z"}],"items":{"$ref":"#/components/schemas/Statistics"},"title":"IdStatistics","type":"array"},"IdTimeseries":{"example":[{"id":"ba529839-8179-40e2-b3fb-5da01a8d76e8","timestamp":"2025-01-01T00:00:00.000000Z","value":0.5},{"id":"e8317666-77f2-4185-ae48-847af57563db","timestamp":"2025-01-01T00:00:10.000000Z","value":1.5}],"items":{"$ref":"#/components/schemas/Measurement"},"title":"IdTimeseries","type":"array"},"InternalServerErrorResponse":{"example":{"error":"Failed to fetch data"},"properties":{"error":{"description":"Error message","type":"string"}},"title":"InternalServerErrorResponse","type":"object"},"JsmeaMetadata":{"allOf":[{"$ref":"#/components/schemas/CommonMetadata"}],"example":{"IMO1000003/jsmea_nav/PositioningSystem/GPS///Latitude/":{"description":"SHIP POSITION (LATITUDE)","mapsTo":{"jsmea":"IMO1000003/jsmea_nav/PositioningSystem/GPS///Latitude/","raalabs":"IMO1000003/GPS_LAT"},"name":"Latitude","rangeHigh":90.0,"rangeLow":-90.0,"scale":1.0,"source":"FurunoVDR","timeSeriesId":"11000001-0000-0000-0000-000000000001","uom":"deg","vesselImo":"1000003","vesselName":"Flying Dutchman"},"IMO1000003/jsmea_nav/PositioningSystem/GPS///Longitude/":{"description":"SHIP POSITION (LONGITUDE)","mapsTo":{"jsmea":"IMO1000003/jsmea_nav/PositioningSystem/GPS///Longitude/","raalabs":"IMO1000003/GPS_LONG"},"name":"Longitude","rangeHigh":180.0,"rangeLow":-180.0,"scale":1.0,"source":"FurunoVDR","timeSeriesId":"11000001-0000-0000-0000-000000000000","uom":"deg","vesselImo":"1000003","vesselName":"Flying Dutchman"}},"title":"JsmeaMetadata","type":"object"},"JsmeaStatistics":{"description":"Statistics response from the JSMEA domain. If multiple time series were matched by the query (e.g., using a wildcard expression), each aggregation result object may contain multiple different {id/Aggregation} fields, one for each series.","example":[{"IMO1000017/jsmea_mac/MainEngine/Fuel/Input/Inlet/Energy//Avg":3042.1666666666665,"timestamp":"2025-01-01T00:00:00.000000Z"},{"IMO1000017/jsmea_mac/MainEngine/Fuel/Input/Inlet/Energy//Min":1,"timestamp":"2025-01-01T00:00:00.000000Z"},{"IMO1000017/jsmea_mac/MainEngine/Fuel/Input/Inlet/Energy//Max":23467,"timestamp":"2025-01-01T00:00:00.000000Z"}],"items":{"$ref":"#/components/schemas/Statistics"},"title":"JsmeaStatistics","type":"array"},"JsmeaTimeseries":{"example":[{"id":"IMO1000003/jsmea_nav/PositioningSystem/GPS///Longitude/","timestamp":"2025-06-12T07:42:03.361000Z","value":120.225685},{"id":"IMO1000003/jsmea_nav/PositioningSystem/GPS///Latitude/","timestamp":"2025-06-12T07:42:03.361000Z","value":36.008892}],"items":{"$ref":"#/components/schemas/Measurement"},"title":"JsmeaTimeseries","type":"array"},"Measurement":{"example":{"id":"1f54b7eb-fbb5-438b-9ad3-7c7cf13ab7fe","timestamp":"2025-02-10T10:00:00.500000Z","value":-89.4343434},"properties":{"id":{"format":"uuid","type":"string"},"timestamp":{"format":"date-time","type":"string"},"value":{"type":"number"}},"title":"Measurement","type":"object"},"MeasurementBatchQueryRequest":{"description":"Array of domain/expression query strings","example":["raalabs/IMO1000001/ME*","id/00000000-0000-4000-8000-000000000000"],"items":{"type":"string"},"minItems":1,"title":"MeasurementBatchQueryRequest","type":"array"},"MeasurementBatchQueryResponse":{"example":[{"id":"00000000-0000-4000-8000-000000000000","timestamp":"2025-01-01T00:00:03.000000Z","value":1.5},{"id":"IMO1000001/ME FuelEnergy_0","timestamp":"2025-01-01T12:00:01.000000Z","value":0.001}],"items":{"$ref":"#/components/schemas/Measurement"},"title":"MeasurementBatchQueryResponse","type":"array"},"NotFoundErrorresponse":{"example":{"error":"Not Found"},"properties":{"error":{"description":"Error message","type":"string"}},"title":"NotFoundErrorresponse","type":"object"},"RaalabsMetadata":{"allOf":[{"$ref":"#/components/schemas/CommonMetadata"}],"description":"Metadata from the Raalabs domain","example":{"IMO1000001/ME FuelEnergy_0":{"description":"Open door #0","mapsTo":{"jsmea":"IMO1000001/jsmea_mac/MainEngine/Fuel/Input/Inlet/Energy/","raalabs":"IMO1000001/ME FuelEnergy_0"},"name":"BEEF0","rangeHigh":0.0,"rangeLow":-1.0,"scale":1.0,"source":"Matrix","timeSeriesId":"11000001-0000-0000-0000-000000000000","uom":"Joule","vesselImo":"1000001","vesselName":"Blue Whale"},"IMO1000001/ME FuelEnergy_1":{"description":"Open door #1","mapsTo":{"jsmea":"IMO1000001/jsmea_mac/MainEngine/Fuel/Input/Inlet/Energy/","raalabs":"IMO1000001/ME FuelEnergy_1"},"name":"BEEF1","rangeHigh":1.0,"rangeLow":-1.0,"scale":1.0,"source":"Matrix","timeSeriesId":"11000001-0000-0000-0000-000000000001","uom":"Joule","vesselImo":"1000001","vesselName":"Blue Whale"}},"title":"RaalabsMetadata","type":"object"},"RaalabsStatistics":{"description":"Statistics response from the Raalabs domain. If multiple time series were matched by the query (e.g., using a wildcard expression), each aggregation result object may contain multiple different {id/Aggregation} fields, one for each series.","example":[{"IMO1000001/ME ShaftPower/Avg":13.12,"timestamp":"2025-09-10T09:00:00.000000Z"},{"IMO1000001/ME ShaftPower/Max":15.47,"timestamp":"2025-09-10T09:00:00.000000Z"},{"IMO1000001/ME ShaftPower/Min":10.85,"timestamp":"2025-09-10T09:00:00.000000Z"},{"IMO1000001/ME ShaftPower/Count":3600,"timestamp":"2025-09-10T09:00:00.000000Z"}],"items":{"$ref":"#/components/schemas/Statistics"},"title":"RaalabsStatistics","type":"array"},"RaalabsTimeseries":{"example":[{"id":"IMO1000001/ME FuelEnergy_0","timestamp":"2025-01-01T00:00:01.000000Z","value":0.001}],"items":{"$ref":"#/components/schemas/Measurement"},"title":"RaalabsTimeseries","type":"array"},"Statistics":{"additionalProperties":{"description":"Property containing the aggregated value","oneOf":[{"type":"number"},{"format":"date-time","type":"string"}]},"properties":{"timestamp":{"description":"The timestamp for this aggregation window","format":"date-time","type":"string"}},"title":"Statistics","type":"object"},"StatisticsBatchQueryRequest":{"description":"","example":["raalabs/IMO1000001/ME FuelEnergy_1","id/00000000-0000-4000-8000-000000000000"],"items":{"type":"string"},"minItems":1,"title":"StatisticsBatchQueryRequest","type":"array"},"StatisticsBatchQueryResponse":{"example":[{"IMO1000017/ME FuelEnergy_1/Avg":3042.1666666666665,"timestamp":"2025-01-01T00:00:00.000000Z"},{"IMO1000017/ME FuelEnergy_1/Min":1,"timestamp":"2025-01-01T00:00:00.000000Z"},{"IMO1000017/ME FuelEnergy_1/Max":23467,"timestamp":"2025-01-01T00:00:00.000000Z"},{"00000000-0000-4000-8000-000000000000:avg":1.2499918981481482,"timestamp":"2025-01-01T00:00:00.000000Z"},{"00000000-0000-4000-8000-000000000000:min":0.1,"timestamp":"2025-01-01T00:00:00.000000Z"},{"00000000-0000-4000-8000-000000000000:max":1.5,"timestamp":"2025-01-01T00:00:00.000000Z"}],"items":{"$ref":"#/components/schemas/Statistics"},"title":"StatisticsBatchQueryResponse","type":"array"},"UnauthorizedErrorResponse":{"example":{"error":"Unauthorized"},"properties":{"error":{"description":"Error message","type":"string"}},"title":"UnauthorizedErrorResponse","type":"object"},"Vis38Metadata":{"example":[{"IMO1000005/913/S130.1-2/S121/sec/406i/H233/meta/qty-power":{"description":"NO.2 ESS FAN INV.POWER","mapsTo":{"jsmea":"IMO1000005/jsmea_mac/VentilationFan/EngineRoomFan2/Electric//Power/","maker":"IMO1000005/Aconis/45415","raalabs":"IMO1000005/EngineRoomVentilationFanPower_2","vis-3-8a":"IMO1000005/913/S130.1-2/S121/sec/406i/H233/meta/qty-power"},"name":"45415","rangeHigh":9999999,"rangeLow":0,"scale":1,"source":"Aconis","timeSeriesId":"1a33e823-442b-4746-8c1f-c00382e4a282","uom":"","vesselImo":"1000005","vesselName":"Happy Wanderer"}}],"items":{"properties":{"id":{"format":"uuid","type":"string"},"imo":{"type":"integer"},"vis_path":{"type":"string"}},"type":"object"},"title":"Vis38Metadata","type":"array"},"Vis38Statistics":{"description":"Statistics response from the Vis38 domain. If multiple time series were matched by the query (e.g., using a wildcard expression), each aggregation result object may contain multiple different {id/Aggregation} fields, one for each series.","example":[{"IMO1000005/913/S130.1-2/S121/sec/406i/H233/meta/qty-power/calc-mean.time.weighted":13.12,"timestamp":"2025-09-10T09:00:00.000000Z"},{"IMO1000005/913/S130.1-2/S121/sec/406i/H233/meta/qty-power/calc-maximum":15.47,"timestamp":"2025-09-10T09:00:00.000000Z"},{"IMO1000005/913/S130.1-2/S121/sec/406i/H233/meta/qty-power/calc-minimum":10.85,"timestamp":"2025-09-10T09:00:00.000000Z"},{"IMO1000005/913/S130.1-2/S121/sec/406i/H233/meta/qty-power/calc-count":3600,"timestamp":"2025-09-10T09:00:00.000000Z"}],"items":{"$ref":"#/components/schemas/Statistics"},"title":"Vis38Statistics","type":"array"},"Vis38Timeseries":{"example":[{"id":"IMO1000001/913/S130.1-2/S121/sec/406i/H233/meta/qty-power","timestamp":"2025-01-01T00:00:01.000000Z","value":50.5}],"items":{"$ref":"#/components/schemas/Measurement"},"title":"Vis38Timeseries","type":"array"}},"securitySchemes":{"authorization":{"scheme":"bearer","type":"http"}}},"info":{"description":"The Raa Labs Time Series API provides endpoints to access time series measurements, metadata, and aggregated statistics.","title":"Raa Labs Time Series API","version":"2025-10-31"},"openapi":"3.0.0","paths":{"/measurements/id/{ids}":{"get":{"callbacks":{},"deprecated":false,"operationId":"get_measurements_id","parameters":[{"description":"A comma-separated list of one or more GUIDs","example":"ba529839-8179-40e2-b3fb-5da01a8d76e8,e8317666-77f2-4185-ae48-847af57563db","in":"path","name":"ids","required":false,"schema":{"type":"string"}},{"description":"From date-time","example":"2025-01-01T00:00:00.000000Z","in":"query","name":"from","schema":{"format":"date-time","type":"string"}},{"description":"To date-time","example":"2025-01-01T00:00:10.000000Z","in":"query","name":"to","schema":{"format":"date-time","type":"string"}},{"description":"From epoch. ex: 0","in":"query","name":"from_epoch","schema":{"type":"integer"}},{"description":"To epoch. ex: 100000","in":"query","name":"to_epoch","schema":{"type":"integer"}},{"description":"Since returns data going back. ex: '1day' from now","in":"query","name":"since","schema":{"type":"string"}},{"description":"Last returns data going back. ex: '1day' from the last full day","in":"query","name":"last","schema":{"type":"string"}},{"description":"Sets the year for which data should be retrieved. ex: 2025","in":"query","name":"year","schema":{"type":"number"}},{"description":"Sets the month for which data should be retrieved. ex: 8","in":"query","name":"month","schema":{"type":"number"}},{"description":"Sets the day for which data should be retrieved. ex: 1","in":"query","name":"day","schema":{"type":"number"}},{"description":"Desired output format of the data. You can also specify the response format via the HTTP Accept Header instead of the format query parameter.","in":"query","name":"format","schema":{"default":"json","enum":["json","ndjson","parquet"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"example":[{"id":"ba529839-8179-40e2-b3fb-5da01a8d76e8","timestamp":"2025-01-01T00:00:00.000000Z","value":0.5},{"id":"e8317666-77f2-4185-ae48-847af57563db","timestamp":"2025-01-01T00:00:10.000000Z","value":1.5}],"schema":{"$ref":"#/components/schemas/IdTimeseries"}},"application/vnd.apache.parquet":{"example":"No examples available for binary data","schema":{"$ref":"#/components/schemas/IdTimeseries"}},"application/x-ndjson":{"example":"{\"id\":\"ba529839-8179-40e2-b3fb-5da01a8d76e8\",\"timestamp\":\"2025-01-01T00:00:00.000000Z\",\"value\":0.5}\n{\"id\":\"e8317666-77f2-4185-ae48-847af57563db\",\"timestamp\":\"2025-01-01T00:00:10.000000Z\",\"value\":1.5}","schema":{"$ref":"#/components/schemas/IdTimeseries"}}},"description":"All data points for the times series within the requested time range.","headers":{"api-version":{"description":"API version","example":"2025-10-31","required":true,"schema":{"example":"2025-10-31","type":"string"},"style":"simple"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorResponse"}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorresponse"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}},"description":"Internal Server Error"}},"summary":"Get measurements from the id domain","tags":["Measurements"]}},"/measurements/jsmea/{imo_number}/{naming_rule}/{category}/{sub_category}/{content}/{position}/{item}/{modifier}":{"get":{"callbacks":{},"deprecated":false,"operationId":"get_measurements_jsmea","parameters":[{"description":"The IMO number of the vessel to retrieve from","example":"IMO1000002","in":"path","name":"imo_number","required":false,"schema":{"type":"string"}},{"description":"The naming rule to use for retrieval","example":"jsmea_mac","in":"path","name":"naming_rule","required":false,"schema":{"type":"string"}},{"description":"The category to retrieve from","example":"MainEngine","in":"path","name":"category","required":false,"schema":{"type":"string"}},{"description":"The sub category to retrieve from","example":"Fuel","in":"path","name":"sub_category","required":false,"schema":{"type":"string"}},{"description":"The content to retrieve from","example":"Input","in":"path","name":"content","required":false,"schema":{"type":"string"}},{"description":"The position to retrieve from","example":"Inlet","in":"path","name":"position","required":false,"schema":{"type":"string"}},{"description":"The item to retrieve from","example":"Energy","in":"path","name":"item","required":false,"schema":{"type":"string"}},{"description":"The modifier to retrieve from","example":"","in":"path","name":"modifier","required":false,"schema":{"type":"string"}},{"description":"From date-time","example":"2025-01-01T00:00:00.000000Z","in":"query","name":"from","schema":{"format":"date-time","type":"string"}},{"description":"To date-time","example":"2025-01-01T00:00:10.000000Z","in":"query","name":"to","schema":{"format":"date-time","type":"string"}},{"description":"From epoch. ex: 0","in":"query","name":"from_epoch","schema":{"type":"integer"}},{"description":"To epoch. ex: 100000","in":"query","name":"to_epoch","schema":{"type":"integer"}},{"description":"Since returns data going back. ex: '1day' from now","in":"query","name":"since","schema":{"type":"string"}},{"description":"Last returns data going back. ex: '1day' from the last full day","in":"query","name":"last","schema":{"type":"string"}},{"description":"Sets the year for which data should be retrieved. ex: 2025","in":"query","name":"year","schema":{"type":"number"}},{"description":"Sets the month for which data should be retrieved. ex: 8","in":"query","name":"month","schema":{"type":"number"}},{"description":"Sets the day for which data should be retrieved. ex: 1","in":"query","name":"day","schema":{"type":"number"}},{"description":"Desired output format of the data. You can also specify the response format via the HTTP Accept Header instead of the format query parameter.","in":"query","name":"format","schema":{"default":"json","enum":["json","ndjson","parquet"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"example":[{"id":"IMO1000003/jsmea_nav/PositioningSystem/GPS///Longitude/","timestamp":"2025-06-12T07:42:03.361000Z","value":120.225685},{"id":"IMO1000003/jsmea_nav/PositioningSystem/GPS///Latitude/","timestamp":"2025-06-12T07:42:03.361000Z","value":36.008892}],"schema":{"$ref":"#/components/schemas/JsmeaTimeseries"}},"application/vnd.apache.parquet":{"example":"No examples available for binary data","schema":{"$ref":"#/components/schemas/JsmeaTimeseries"}},"application/x-ndjson":{"example":"{\"id\":\"IMO1000003/jsmea_nav/PositioningSystem/GPS///Longitude/\",\"timestamp\":\"2025-06-12T07:42:03.361000Z\",\"value\":120.225685}\n{\"id\":\"IMO1000003/jsmea_nav/PositioningSystem/GPS///Latitude/\",\"timestamp\":\"2025-06-12T07:42:03.361000Z\",\"value\":36.008892}","schema":{"$ref":"#/components/schemas/JsmeaTimeseries"}}},"description":"Response from the route","headers":{"api-version":{"description":"API version","example":"2025-10-31","required":true,"schema":{"example":"2025-10-31","type":"string"},"style":"simple"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorResponse"}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorresponse"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}},"description":"Internal Server Error"}},"summary":"Get measurement data from the jsmea domain","tags":["Measurements"]}},"/measurements/query":{"post":{"callbacks":{},"deprecated":false,"description":"Used to retrieve data for multiple queries in one request (you provide a list of domain/expression queries in the JSON body).","operationId":"get_measurements_post","parameters":[{"description":"From date-time","example":"2025-01-01T00:00:00.000000Z","in":"query","name":"from","schema":{"format":"date-time","type":"string"}},{"description":"To date-time","example":"2025-01-01T00:00:10.000000Z","in":"query","name":"to","schema":{"format":"date-time","type":"string"}},{"description":"From epoch. ex: 0","in":"query","name":"from_epoch","schema":{"type":"integer"}},{"description":"To epoch. ex: 100000","in":"query","name":"to_epoch","schema":{"type":"integer"}},{"description":"Since returns data going back. ex: '1day' from now","in":"query","name":"since","schema":{"type":"string"}},{"description":"Last returns data going back. ex: '1day' from the last full day","in":"query","name":"last","schema":{"type":"string"}},{"description":"Sets the year for which data should be retrieved. ex: 2025","in":"query","name":"year","schema":{"type":"number"}},{"description":"Sets the month for which data should be retrieved. ex: 8","in":"query","name":"month","schema":{"type":"number"}},{"description":"Sets the day for which data should be retrieved. ex: 1","in":"query","name":"day","schema":{"type":"number"}},{"description":"Desired output format of the data. You can also specify the response format via the HTTP Accept Header instead of the format query parameter.","in":"query","name":"format","schema":{"default":"json","enum":["json","ndjson","parquet"],"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeasurementBatchQueryRequest"}}},"description":"Batch measurement query request","required":true},"responses":{"200":{"content":{"application/json":{"example":[{"id":"00000000-0000-4000-8000-000000000000","timestamp":"2025-01-01T00:00:03.000000Z","value":1.5},{"id":"IMO1000001/ME FuelEnergy_0","timestamp":"2025-01-01T12:00:01.000000Z","value":0.001}],"schema":{"$ref":"#/components/schemas/MeasurementBatchQueryResponse"}},"application/vnd.apache.parquet":{"example":"No examples available for binary data","schema":{"$ref":"#/components/schemas/MeasurementBatchQueryResponse"}},"application/x-ndjson":{"example":"{\"id\":\"00000000-0000-4000-8000-000000000000\",\"timestamp\":\"2025-01-01T00:00:03.000000Z\",\"value\":1.5}\n{\"id\":\"IMO1000001/ME FuelEnergy_0\",\"timestamp\":\"2025-01-01T12:00:01.000000Z\",\"value\":0.001}","schema":{"$ref":"#/components/schemas/MeasurementBatchQueryResponse"}}},"description":"Batch measurement data","headers":{"api-version":{"description":"API version","example":"2025-10-31","required":true,"schema":{"example":"2025-10-31","type":"string"},"style":"simple"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorResponse"}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorresponse"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}},"description":"Internal Server Error"}},"summary":"Retrieve data from multiple queries","tags":["Measurements"]}},"/measurements/raalabs/{imo_number}/{tag_name}":{"get":{"callbacks":{},"deprecated":false,"operationId":"get_measurements_raalabs","parameters":[{"description":"The IMO number of the vessel","example":"IMO1000001","in":"path","name":"imo_number","required":false,"schema":{"type":"string"}},{"description":"Short descriptive tag name","example":"ME FuelEnergy*","in":"path","name":"tag_name","required":false,"schema":{"type":"string"}},{"description":"From date-time","example":"2025-01-01T00:00:00.000000Z","in":"query","name":"from","schema":{"format":"date-time","type":"string"}},{"description":"To date-time","example":"2025-01-01T00:00:10.000000Z","in":"query","name":"to","schema":{"format":"date-time","type":"string"}},{"description":"From epoch. ex: 0","in":"query","name":"from_epoch","schema":{"type":"integer"}},{"description":"To epoch. ex: 100000","in":"query","name":"to_epoch","schema":{"type":"integer"}},{"description":"Since returns data going back. ex: '1day' from now","in":"query","name":"since","schema":{"type":"string"}},{"description":"Last returns data going back. ex: '1day' from the last full day","in":"query","name":"last","schema":{"type":"string"}},{"description":"Sets the year for which data should be retrieved. ex: 2025","in":"query","name":"year","schema":{"type":"number"}},{"description":"Sets the month for which data should be retrieved. ex: 8","in":"query","name":"month","schema":{"type":"number"}},{"description":"Sets the day for which data should be retrieved. ex: 1","in":"query","name":"day","schema":{"type":"number"}},{"description":"Desired output format of the data. You can also specify the response format via the HTTP Accept Header instead of the format query parameter.","in":"query","name":"format","schema":{"default":"json","enum":["json","ndjson","parquet"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"example":[{"id":"IMO1000001/ME FuelEnergy_0","timestamp":"2025-01-01T00:00:01.000000Z","value":0.001}],"schema":{"$ref":"#/components/schemas/RaalabsTimeseries"}},"application/vnd.apache.parquet":{"example":"No examples available for binary data","schema":{"$ref":"#/components/schemas/RaalabsTimeseries"}},"application/x-ndjson":{"example":"{\"id\":\"IMO1000001/ME FuelEnergy_0\",\"timestamp\":\"2025-01-01T00:00:01.000000Z\",\"value\":0.001}","schema":{"$ref":"#/components/schemas/RaalabsTimeseries"}}},"description":"Response from the route","headers":{"api-version":{"description":"API version","example":"2025-10-31","required":true,"schema":{"example":"2025-10-31","type":"string"},"style":"simple"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorResponse"}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorresponse"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}},"description":"Internal Server Error"}},"summary":"Get measurement data from the raalabs domain","tags":["Measurements"]}},"/measurements/vis-3-8a/{imo_number}/{primary_item_vis_path}/sec/{secondary_item_vis_path}/meta/{metadata}":{"get":{"callbacks":{},"deprecated":false,"operationId":"get_measurements_vis38","parameters":[{"description":"The IMO number of the vessel to retrieve from","example":"IMO1000001","in":"path","name":"imo_number","required":false,"schema":{"type":"string"}},{"description":"Primary item VIS path","example":"913/S130.1-2/S121","in":"path","name":"primary_item_vis_path","required":false,"schema":{"type":"string"}},{"description":"Secondary item VIS path","example":"406i/H233","in":"path","name":"secondary_item_vis_path","required":false,"schema":{"type":"string"}},{"description":"Metadata","example":"qty-power","in":"path","name":"metadata","required":false,"schema":{"type":"string"}},{"description":"From date-time","example":"2025-01-01T00:00:00.000000Z","in":"query","name":"from","schema":{"format":"date-time","type":"string"}},{"description":"To date-time","example":"2025-01-01T00:00:10.000000Z","in":"query","name":"to","schema":{"format":"date-time","type":"string"}},{"description":"From epoch. ex: 0","in":"query","name":"from_epoch","schema":{"type":"integer"}},{"description":"To epoch. ex: 100000","in":"query","name":"to_epoch","schema":{"type":"integer"}},{"description":"Since returns data going back. ex: '1day' from now","in":"query","name":"since","schema":{"type":"string"}},{"description":"Last returns data going back. ex: '1day' from the last full day","in":"query","name":"last","schema":{"type":"string"}},{"description":"Sets the year for which data should be retrieved. ex: 2025","in":"query","name":"year","schema":{"type":"number"}},{"description":"Sets the month for which data should be retrieved. ex: 8","in":"query","name":"month","schema":{"type":"number"}},{"description":"Sets the day for which data should be retrieved. ex: 1","in":"query","name":"day","schema":{"type":"number"}},{"description":"Desired output format of the data. You can also specify the response format via the HTTP Accept Header instead of the format query parameter.","in":"query","name":"format","schema":{"default":"json","enum":["json","ndjson","parquet"],"type":"string"}},{"description":"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.","in":"query","name":"verbose","required":false,"schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"example":[{"id":"IMO1000001/913/S130.1-2/S121/sec/406i/H233/meta/qty-power","timestamp":"2025-01-01T00:00:01.000000Z","value":50.5}],"schema":{"$ref":"#/components/schemas/Vis38Timeseries"}},"application/vnd.apache.parquet":{"example":"No examples available for binary data","schema":{"$ref":"#/components/schemas/Vis38Timeseries"}},"application/x-ndjson":{"example":"{\"id\":\"IMO1000001/913/S130.1-2/S121/sec/406i/H233/meta/qty-power\",\"timestamp\":\"2025-01-01T00:00:01.000000Z\",\"value\":50.5}","schema":{"$ref":"#/components/schemas/Vis38Timeseries"}}},"description":"Response from the route","headers":{"api-version":{"description":"API version","example":"2025-10-31","required":true,"schema":{"example":"2025-10-31","type":"string"},"style":"simple"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorResponse"}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorresponse"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}},"description":"Internal Server Error"}},"summary":"Get measurement data from the vis-3-8a domain","tags":["Measurements"]}},"/metadata/id/{ids}":{"get":{"callbacks":{},"deprecated":false,"operationId":"get_metadata_id","parameters":[{"description":"A comma-separated list of one or more GUIDs","example":"ba529839-8179-40e2-b3fb-5da01a8d76e8,e8317666-77f2-4185-ae48-847af57563db","in":"path","name":"ids","required":false,"schema":{"type":"string"}},{"description":"Desired output format of the data. You can also specify the response format via the HTTP Accept Header instead of the format query parameter.","in":"query","name":"format","schema":{"default":"json","enum":["json"],"type":"string"}},{"description":"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.","in":"query","name":"verbose","required":false,"schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"example":{"ba529839-8179-40e2-b3fb-5da01a8d76e8":{"description":"Open door #0","mapsTo":{"jsmea":"IMO1000001/jsmea_mac/MainEngine/Fuel/Input/Inlet/Energy/","raalabs":"IMO1000001/ME FuelEnergy_0"},"name":"BEEF0","rangeHigh":0.0,"rangeLow":-1.0,"scale":1.0,"source":"Matrix","timeSeriesId":"ba529839-8179-40e2-b3fb-5da01a8d76e8","uom":"Joule","vesselImo":"1000001","vesselName":"Blue Whale"},"e8317666-77f2-4185-ae48-847af57563db":{"description":"Open door #1","mapsTo":{"jsmea":"IMO1000001/jsmea_mac/MainEngine/Fuel/Input/Inlet/Energy/","raalabs":"IMO1000001/ME FuelEnergy_1"},"name":"BEEF1","rangeHigh":1.0,"rangeLow":-1.0,"scale":1.0,"source":"Matrix","timeSeriesId":"e8317666-77f2-4185-ae48-847af57563db","uom":"Joule","vesselImo":"1000001","vesselName":"Blue Whale"}},"schema":{"$ref":"#/components/schemas/IDMetadata"}}},"description":"Response from the route","headers":{"api-version":{"description":"API version","example":"2025-10-31","required":true,"schema":{"example":"2025-10-31","type":"string"},"style":"simple"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorResponse"}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorresponse"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}},"description":"Internal Server Error"}},"summary":"Get metadata from the id domain","tags":["Metadata"]}},"/metadata/jsmea/{imo_number}/{naming_rule}/{category}/{sub_category}/{content}/{position}/{item}/{modifier}":{"get":{"callbacks":{},"deprecated":false,"description":"Get metadata from the jsmea domain","operationId":"get_metadata_jsmea","parameters":[{"description":"The IMO number of the vessel to retrieve from","example":"IMO1000002","in":"path","name":"imo_number","required":false,"schema":{"type":"string"}},{"description":"The naming rule to use for retrieval","example":"jsmea_mac","in":"path","name":"naming_rule","required":false,"schema":{"type":"string"}},{"description":"The category to retrieve from","example":"MainEngine","in":"path","name":"category","required":false,"schema":{"type":"string"}},{"description":"The sub category to retrieve from","example":"Fuel","in":"path","name":"sub_category","required":false,"schema":{"type":"string"}},{"description":"The content to retrieve from","example":"Input","in":"path","name":"content","required":false,"schema":{"type":"string"}},{"description":"The position to retrieve from","example":"Inlet","in":"path","name":"position","required":false,"schema":{"type":"string"}},{"description":"The item to retrieve from","example":"Energy","in":"path","name":"item","required":false,"schema":{"type":"string"}},{"description":"The modifier to retrieve from","example":"","in":"path","name":"modifier","required":false,"schema":{"type":"string"}},{"description":"Desired output format of the data. You can also specify the response format via the HTTP Accept Header instead of the format query parameter.","in":"query","name":"format","schema":{"default":"json","enum":["json"],"type":"string"}},{"description":"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.","in":"query","name":"verbose","required":false,"schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"example":{"IMO1000003/jsmea_nav/PositioningSystem/GPS///Latitude/":{"description":"SHIP POSITION (LATITUDE)","mapsTo":{"jsmea":"IMO1000003/jsmea_nav/PositioningSystem/GPS///Latitude/","raalabs":"IMO1000003/GPS_LAT"},"name":"Latitude","rangeHigh":90.0,"rangeLow":-90.0,"scale":1.0,"source":"FurunoVDR","timeSeriesId":"11000001-0000-0000-0000-000000000001","uom":"deg","vesselImo":"1000003","vesselName":"Flying Dutchman"},"IMO1000003/jsmea_nav/PositioningSystem/GPS///Longitude/":{"description":"SHIP POSITION (LONGITUDE)","mapsTo":{"jsmea":"IMO1000003/jsmea_nav/PositioningSystem/GPS///Longitude/","raalabs":"IMO1000003/GPS_LONG"},"name":"Longitude","rangeHigh":180.0,"rangeLow":-180.0,"scale":1.0,"source":"FurunoVDR","timeSeriesId":"11000001-0000-0000-0000-000000000000","uom":"deg","vesselImo":"1000003","vesselName":"Flying Dutchman"}},"schema":{"$ref":"#/components/schemas/JsmeaMetadata"}}},"description":"Response from the route","headers":{"api-version":{"description":"API version","example":"2025-10-31","required":true,"schema":{"example":"2025-10-31","type":"string"},"style":"simple"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorResponse"}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorresponse"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}},"description":"Internal Server Error"}},"summary":"Get metadata from the jsmea domain","tags":["Metadata"]}},"/metadata/raalabs/{imo_number}/{tag_name}":{"get":{"callbacks":{},"deprecated":false,"operationId":"get_metadata_raalabs","parameters":[{"description":"The IMO number of the vessel","example":"IMO1000001","in":"path","name":"imo_number","required":false,"schema":{"type":"string"}},{"description":"Short descriptive tag name","example":"ME FuelEnergy*","in":"path","name":"tag_name","required":false,"schema":{"type":"string"}},{"description":"Desired output format of the data. You can also specify the response format via the HTTP Accept Header instead of the format query parameter.","in":"query","name":"format","schema":{"default":"json","enum":["json"],"type":"string"}},{"description":"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.","in":"query","name":"verbose","required":false,"schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"example":{"IMO1000001/ME FuelEnergy_0":{"description":"Open door #0","mapsTo":{"jsmea":"IMO1000001/jsmea_mac/MainEngine/Fuel/Input/Inlet/Energy/","raalabs":"IMO1000001/ME FuelEnergy_0"},"name":"BEEF0","rangeHigh":0.0,"rangeLow":-1.0,"scale":1.0,"source":"Matrix","timeSeriesId":"11000001-0000-0000-0000-000000000000","uom":"Joule","vesselImo":"1000001","vesselName":"Blue Whale"},"IMO1000001/ME FuelEnergy_1":{"description":"Open door #1","mapsTo":{"jsmea":"IMO1000001/jsmea_mac/MainEngine/Fuel/Input/Inlet/Energy/","raalabs":"IMO1000001/ME FuelEnergy_1"},"name":"BEEF1","rangeHigh":1.0,"rangeLow":-1.0,"scale":1.0,"source":"Matrix","timeSeriesId":"11000001-0000-0000-0000-000000000001","uom":"Joule","vesselImo":"1000001","vesselName":"Blue Whale"}},"schema":{"$ref":"#/components/schemas/RaalabsMetadata"}}},"description":"Response from the route","headers":{"api-version":{"description":"API version","example":"2025-10-31","required":true,"schema":{"example":"2025-10-31","type":"string"},"style":"simple"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorResponse"}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorresponse"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}},"description":"Internal Server Error"}},"summary":"Get metadata from the raalabs domain","tags":["Metadata"]}},"/metadata/vis-3-8a/{imo_number}/{primary_item_vis_path}/sec/{secondary_item_vis_path}/meta/{metadata}":{"get":{"callbacks":{},"deprecated":false,"operationId":"get_metadata_vis38","parameters":[{"description":"The IMO number of the vessel to retrieve from","example":"IMO1000001","in":"path","name":"imo_number","required":false,"schema":{"type":"string"}},{"description":"Primary item VIS path","example":"913/S130.1-2/S121","in":"path","name":"primary_item_vis_path","required":false,"schema":{"type":"string"}},{"description":"Secondary item VIS path","example":"406i/H233","in":"path","name":"secondary_item_vis_path","required":false,"schema":{"type":"string"}},{"description":"Metadata","example":"qty-power","in":"path","name":"metadata","required":false,"schema":{"type":"string"}},{"description":"Desired output format of the data. You can also specify the response format via the HTTP Accept Header instead of the format query parameter.","in":"query","name":"format","schema":{"default":"json","enum":["json"],"type":"string"}},{"description":"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.","in":"query","name":"verbose","required":false,"schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"example":[{"IMO1000005/913/S130.1-2/S121/sec/406i/H233/meta/qty-power":{"description":"NO.2 ESS FAN INV.POWER","mapsTo":{"jsmea":"IMO1000005/jsmea_mac/VentilationFan/EngineRoomFan2/Electric//Power/","maker":"IMO1000005/Aconis/45415","raalabs":"IMO1000005/EngineRoomVentilationFanPower_2","vis-3-8a":"IMO1000005/913/S130.1-2/S121/sec/406i/H233/meta/qty-power"},"name":"45415","rangeHigh":9999999,"rangeLow":0,"scale":1,"source":"Aconis","timeSeriesId":"1a33e823-442b-4746-8c1f-c00382e4a282","uom":"","vesselImo":"1000005","vesselName":"Happy Wanderer"}}],"schema":{"$ref":"#/components/schemas/Vis38Metadata"}}},"description":"Response from the route","headers":{"api-version":{"description":"API version","example":"2025-10-31","required":true,"schema":{"example":"2025-10-31","type":"string"},"style":"simple"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorResponse"}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorresponse"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}},"description":"Internal Server Error"}},"summary":"Get metadata from the vis-3-8a domain","tags":["Metadata"]}},"/statistics/id/{ids}":{"get":{"callbacks":{},"deprecated":false,"operationId":"get_statistics_id","parameters":[{"description":"A comma-separated list of one or more GUIDs","example":"ba529839-8179-40e2-b3fb-5da01a8d76e8,e8317666-77f2-4185-ae48-847af57563db","in":"path","name":"ids","required":false,"schema":{"type":"string"}},{"description":"Desired output format of the data. You can also specify the response format via the HTTP Accept Header instead of the format query parameter.","in":"query","name":"format","schema":{"default":"json","enum":["json","ndjson"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"example":[{"00000000-0000-4000-8000-000000000000:avg":1.2499918981481482,"timestamp":"2025-01-01T00:00:00.000000Z"},{"00000000-0000-4000-8000-000000000000:min":0.1,"timestamp":"2025-01-01T00:00:00.000000Z"},{"00000000-0000-4000-8000-000000000000:max":1.5,"timestamp":"2025-01-01T00:00:00.000000Z"}],"schema":{"$ref":"#/components/schemas/IdStatistics"}},"application/x-ndjson":{"example":"{\"00000000-0000-4000-8000-000000000000:avg\":1.2499918981481482,\"timestamp\":\"2025-01-01T00:00:00.000000Z\"}\n{\"00000000-0000-4000-8000-000000000000:min\":0.1,\"timestamp\":\"2025-01-01T00:00:00.000000Z\"}\n{\"00000000-0000-4000-8000-000000000000:max\":1.5,\"timestamp\":\"2025-01-01T00:00:00.000000Z\"}","schema":{"$ref":"#/components/schemas/IdStatistics"}}},"description":"Response from the route","headers":{"api-version":{"description":"API version","example":"2025-10-31","required":true,"schema":{"example":"2025-10-31","type":"string"},"style":"simple"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorResponse"}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorresponse"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}},"description":"Internal Server Error"}},"summary":"Get statistics from the id domain","tags":["Statistics"]}},"/statistics/jsmea/{imo_number}/{naming_rule}/{category}/{sub_category}/{content}/{position}/{item}/{modifier}":{"get":{"callbacks":{},"deprecated":false,"operationId":"get_statistics_jsmea","parameters":[{"description":"The IMO number of the vessel to retrieve from","example":"IMO1000002","in":"path","name":"imo_number","required":false,"schema":{"type":"string"}},{"description":"The naming rule to use for retrieval","example":"jsmea_mac","in":"path","name":"naming_rule","required":false,"schema":{"type":"string"}},{"description":"The category to retrieve from","example":"MainEngine","in":"path","name":"category","required":false,"schema":{"type":"string"}},{"description":"The sub category to retrieve from","example":"Fuel","in":"path","name":"sub_category","required":false,"schema":{"type":"string"}},{"description":"The content to retrieve from","example":"Input","in":"path","name":"content","required":false,"schema":{"type":"string"}},{"description":"The position to retrieve from","example":"Inlet","in":"path","name":"position","required":false,"schema":{"type":"string"}},{"description":"The item to retrieve from","example":"Energy","in":"path","name":"item","required":false,"schema":{"type":"string"}},{"description":"The modifier to retrieve from","example":"","in":"path","name":"modifier","required":false,"schema":{"type":"string"}},{"description":"From date-time","example":"2025-01-01T00:00:00.000000Z","in":"query","name":"from","schema":{"format":"date-time","type":"string"}},{"description":"To date-time","example":"2025-01-01T00:00:10.000000Z","in":"query","name":"to","schema":{"format":"date-time","type":"string"}},{"description":"From epoch. ex: 0","in":"query","name":"from_epoch","schema":{"type":"integer"}},{"description":"To epoch. ex: 100000","in":"query","name":"to_epoch","schema":{"type":"integer"}},{"description":"Since returns data going back. ex: '1day' from now","in":"query","name":"since","schema":{"type":"string"}},{"description":"Last returns data going back. ex: '1day' from the last full day","in":"query","name":"last","schema":{"type":"string"}},{"description":"Sets the year for which data should be retrieved. ex: 2025","in":"query","name":"year","schema":{"type":"number"}},{"description":"Sets the month for which data should be retrieved. ex: 8","in":"query","name":"month","schema":{"type":"number"}},{"description":"Sets the day for which data should be retrieved. ex: 1","in":"query","name":"day","schema":{"type":"number"}},{"description":"A comma-separated list of aggregation functions to compute for each time window. You can request multiple metrics at once. Valid values: avg, count, first_time, first_val, integral, kurtosis, last_time, last_val, max, mean, min, skewness, stddev, sum, var","in":"query","name":"aggregations","schema":{"default":"avg","example":"avg,min,max","type":"string"}},{"description":"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.","in":"query","name":"window","schema":{"default":"1month","example":"1month","type":"string"}},{"description":"Desired output format of the data. You can also specify the response format via the HTTP Accept Header instead of the format query parameter.","in":"query","name":"format","schema":{"default":"json","enum":["json","ndjson"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"example":[{"IMO1000017/jsmea_mac/MainEngine/Fuel/Input/Inlet/Energy//Avg":3042.1666666666665,"timestamp":"2025-01-01T00:00:00.000000Z"},{"IMO1000017/jsmea_mac/MainEngine/Fuel/Input/Inlet/Energy//Min":1,"timestamp":"2025-01-01T00:00:00.000000Z"},{"IMO1000017/jsmea_mac/MainEngine/Fuel/Input/Inlet/Energy//Max":23467,"timestamp":"2025-01-01T00:00:00.000000Z"}],"schema":{"$ref":"#/components/schemas/JsmeaStatistics"}},"application/x-ndjson":{"example":"{\"IMO1000017/jsmea_mac/MainEngine/Fuel/Input/Inlet/Energy//Avg\":3042.1666666666665,\"timestamp\":\"2025-01-01T00:00:00.000000Z\"}\n{\"IMO1000017/jsmea_mac/MainEngine/Fuel/Input/Inlet/Energy//Min\":1,\"timestamp\":\"2025-01-01T00:00:00.000000Z\"}\n{\"IMO1000017/jsmea_mac/MainEngine/Fuel/Input/Inlet/Energy//Max\":23467,\"timestamp\":\"2025-01-01T00:00:00.000000Z\"}","schema":{"$ref":"#/components/schemas/JsmeaStatistics"}}},"description":"Response from the route","headers":{"api-version":{"description":"API version","example":"2025-10-31","required":true,"schema":{"example":"2025-10-31","type":"string"},"style":"simple"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorResponse"}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorresponse"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}},"description":"Internal Server Error"}},"summary":"Get statistics from the jsmea domain","tags":["Statistics"]}},"/statistics/query":{"post":{"callbacks":{},"deprecated":false,"description":"Used to retrieve multiple series in one request (you provide a list of domain/expression queries in the JSON body).","operationId":"get_statistics_post","parameters":[{"description":"From date-time","example":"2025-01-01T00:00:00.000000Z","in":"query","name":"from","schema":{"format":"date-time","type":"string"}},{"description":"To date-time","example":"2025-01-01T00:00:10.000000Z","in":"query","name":"to","schema":{"format":"date-time","type":"string"}},{"description":"From epoch. ex: 0","in":"query","name":"from_epoch","schema":{"type":"integer"}},{"description":"To epoch. ex: 100000","in":"query","name":"to_epoch","schema":{"type":"integer"}},{"description":"Since returns data going back. ex: '1day' from now","in":"query","name":"since","schema":{"type":"string"}},{"description":"Last returns data going back. ex: '1day' from the last full day","in":"query","name":"last","schema":{"type":"string"}},{"description":"Sets the year for which data should be retrieved. ex: 2025","in":"query","name":"year","schema":{"type":"number"}},{"description":"Sets the month for which data should be retrieved. ex: 8","in":"query","name":"month","schema":{"type":"number"}},{"description":"Sets the day for which data should be retrieved. ex: 1","in":"query","name":"day","schema":{"type":"number"}},{"description":"A comma-separated list of aggregation functions to compute for each time window. You can request multiple metrics at once. Valid values: avg, count, first_time, first_val, integral, kurtosis, last_time, last_val, max, mean, min, skewness, stddev, sum, var","in":"query","name":"aggregations","schema":{"default":"avg","example":"avg,min,max","type":"string"}},{"description":"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.","in":"query","name":"window","schema":{"default":"1month","example":"1month","type":"string"}},{"description":"Desired output format of the data. You can also specify the response format via the HTTP Accept Header instead of the format query parameter.","in":"query","name":"format","schema":{"default":"json","enum":["json","ndjson"],"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatisticsBatchQueryRequest"}}},"description":"Batch statistics query request","required":true},"responses":{"200":{"content":{"application/json":{"example":[{"IMO1000017/ME FuelEnergy_1/Avg":3042.1666666666665,"timestamp":"2025-01-01T00:00:00.000000Z"},{"IMO1000017/ME FuelEnergy_1/Min":1,"timestamp":"2025-01-01T00:00:00.000000Z"},{"IMO1000017/ME FuelEnergy_1/Max":23467,"timestamp":"2025-01-01T00:00:00.000000Z"},{"00000000-0000-4000-8000-000000000000:avg":1.2499918981481482,"timestamp":"2025-01-01T00:00:00.000000Z"},{"00000000-0000-4000-8000-000000000000:min":0.1,"timestamp":"2025-01-01T00:00:00.000000Z"},{"00000000-0000-4000-8000-000000000000:max":1.5,"timestamp":"2025-01-01T00:00:00.000000Z"}],"schema":{"$ref":"#/components/schemas/StatisticsBatchQueryResponse"}},"application/x-ndjson":{"example":"{\"IMO1000017/ME FuelEnergy_1/Avg\":3042.1666666666665,\"timestamp\":\"2025-01-01T00:00:00.000000Z\"}\n{\"IMO1000017/ME FuelEnergy_1/Min\":1,\"timestamp\":\"2025-01-01T00:00:00.000000Z\"}\n{\"IMO1000017/ME FuelEnergy_1/Max\":23467,\"timestamp\":\"2025-01-01T00:00:00.000000Z\"}\n{\"00000000-0000-4000-8000-000000000000:avg\":1.2499918981481482,\"timestamp\":\"2025-01-01T00:00:00.000000Z\"}\n{\"00000000-0000-4000-8000-000000000000:min\":0.1,\"timestamp\":\"2025-01-01T00:00:00.000000Z\"}\n{\"00000000-0000-4000-8000-000000000000:max\":1.5,\"timestamp\":\"2025-01-01T00:00:00.000000Z\"}","schema":{"$ref":"#/components/schemas/StatisticsBatchQueryResponse"}}},"description":"Batch statistics data","headers":{"api-version":{"description":"API version","example":"2025-10-31","required":true,"schema":{"example":"2025-10-31","type":"string"},"style":"simple"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorResponse"}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorresponse"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}},"description":"Internal Server Error"}},"summary":"Retrieve multiple series","tags":["Statistics"]}},"/statistics/raalabs/{imo_number}/{tag_name}":{"get":{"callbacks":{},"deprecated":false,"operationId":"get_statistics_raalabs","parameters":[{"description":"The IMO number of the vessel","example":"IMO1000001","in":"path","name":"imo_number","required":false,"schema":{"type":"string"}},{"description":"Short descriptive tag name","example":"ME FuelEnergy*","in":"path","name":"tag_name","required":false,"schema":{"type":"string"}},{"description":"From date-time","example":"2025-01-01T00:00:00.000000Z","in":"query","name":"from","schema":{"format":"date-time","type":"string"}},{"description":"To date-time","example":"2025-01-01T00:00:10.000000Z","in":"query","name":"to","schema":{"format":"date-time","type":"string"}},{"description":"From epoch. ex: 0","in":"query","name":"from_epoch","schema":{"type":"integer"}},{"description":"To epoch. ex: 100000","in":"query","name":"to_epoch","schema":{"type":"integer"}},{"description":"Since returns data going back. ex: '1day' from now","in":"query","name":"since","schema":{"type":"string"}},{"description":"Last returns data going back. ex: '1day' from the last full day","in":"query","name":"last","schema":{"type":"string"}},{"description":"Sets the year for which data should be retrieved. ex: 2025","in":"query","name":"year","schema":{"type":"number"}},{"description":"Sets the month for which data should be retrieved. ex: 8","in":"query","name":"month","schema":{"type":"number"}},{"description":"Sets the day for which data should be retrieved. ex: 1","in":"query","name":"day","schema":{"type":"number"}},{"description":"A comma-separated list of aggregation functions to compute for each time window. You can request multiple metrics at once. Valid values: avg, count, first_time, first_val, integral, kurtosis, last_time, last_val, max, mean, min, skewness, stddev, sum, var","in":"query","name":"aggregations","schema":{"default":"avg","example":"avg,min,max","type":"string"}},{"description":"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.","in":"query","name":"window","schema":{"default":"1month","example":"1month","type":"string"}},{"description":"Desired output format of the data. You can also specify the response format via the HTTP Accept Header instead of the format query parameter.","in":"query","name":"format","schema":{"default":"json","enum":["json","ndjson"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"example":[{"IMO1000001/ME ShaftPower/Avg":13.12,"timestamp":"2025-09-10T09:00:00.000000Z"},{"IMO1000001/ME ShaftPower/Max":15.47,"timestamp":"2025-09-10T09:00:00.000000Z"},{"IMO1000001/ME ShaftPower/Min":10.85,"timestamp":"2025-09-10T09:00:00.000000Z"},{"IMO1000001/ME ShaftPower/Count":3600,"timestamp":"2025-09-10T09:00:00.000000Z"}],"schema":{"$ref":"#/components/schemas/RaalabsStatistics"}},"application/x-ndjson":{"example":"{\"IMO1000001/ME ShaftPower/Avg\":13.12,\"timestamp\":\"2025-09-10T09:00:00.000000Z\"}\n{\"IMO1000001/ME ShaftPower/Max\":15.47,\"timestamp\":\"2025-09-10T09:00:00.000000Z\"}\n{\"IMO1000001/ME ShaftPower/Min\":10.85,\"timestamp\":\"2025-09-10T09:00:00.000000Z\"}\n{\"IMO1000001/ME ShaftPower/Count\":3600,\"timestamp\":\"2025-09-10T09:00:00.000000Z\"}","schema":{"$ref":"#/components/schemas/RaalabsStatistics"}}},"description":"Response from the route","headers":{"api-version":{"description":"API version","example":"2025-10-31","required":true,"schema":{"example":"2025-10-31","type":"string"},"style":"simple"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorResponse"}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorresponse"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}},"description":"Internal Server Error"}},"summary":"Get statistics from the raalabs domain","tags":["Statistics"]}},"/statistics/vis-3-8a/{imo_number}/{primary_item_vis_path}/sec/{secondary_item_vis_path}/meta/{metadata}":{"get":{"callbacks":{},"deprecated":false,"operationId":"get_statistics_vis38","parameters":[{"description":"The IMO number of the vessel to retrieve from","example":"IMO1000001","in":"path","name":"imo_number","required":false,"schema":{"type":"string"}},{"description":"Primary item VIS path","example":"913/S130.1-2/S121","in":"path","name":"primary_item_vis_path","required":false,"schema":{"type":"string"}},{"description":"Secondary item VIS path","example":"406i/H233","in":"path","name":"secondary_item_vis_path","required":false,"schema":{"type":"string"}},{"description":"Metadata","example":"qty-power","in":"path","name":"metadata","required":false,"schema":{"type":"string"}},{"description":"From date-time","example":"2025-01-01T00:00:00.000000Z","in":"query","name":"from","schema":{"format":"date-time","type":"string"}},{"description":"To date-time","example":"2025-01-01T00:00:10.000000Z","in":"query","name":"to","schema":{"format":"date-time","type":"string"}},{"description":"From epoch. ex: 0","in":"query","name":"from_epoch","schema":{"type":"integer"}},{"description":"To epoch. ex: 100000","in":"query","name":"to_epoch","schema":{"type":"integer"}},{"description":"Since returns data going back. ex: '1day' from now","in":"query","name":"since","schema":{"type":"string"}},{"description":"Last returns data going back. ex: '1day' from the last full day","in":"query","name":"last","schema":{"type":"string"}},{"description":"Sets the year for which data should be retrieved. ex: 2025","in":"query","name":"year","schema":{"type":"number"}},{"description":"Sets the month for which data should be retrieved. ex: 8","in":"query","name":"month","schema":{"type":"number"}},{"description":"Sets the day for which data should be retrieved. ex: 1","in":"query","name":"day","schema":{"type":"number"}},{"description":"A comma-separated list of aggregation functions to compute for each time window. You can request multiple metrics at once. Valid values: avg, count, first_time, first_val, integral, kurtosis, last_time, last_val, max, mean, min, skewness, stddev, sum, var","in":"query","name":"aggregations","schema":{"default":"avg","example":"avg,min,max","type":"string"}},{"description":"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.","in":"query","name":"window","schema":{"default":"1month","example":"1month","type":"string"}},{"description":"Desired output format of the data. You can also specify the response format via the HTTP Accept Header instead of the format query parameter.","in":"query","name":"format","schema":{"default":"json","enum":["json","ndjson"],"type":"string"}},{"description":"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.","in":"query","name":"verbose","required":false,"schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"example":[{"IMO1000005/913/S130.1-2/S121/sec/406i/H233/meta/qty-power/calc-mean.time.weighted":13.12,"timestamp":"2025-09-10T09:00:00.000000Z"},{"IMO1000005/913/S130.1-2/S121/sec/406i/H233/meta/qty-power/calc-maximum":15.47,"timestamp":"2025-09-10T09:00:00.000000Z"},{"IMO1000005/913/S130.1-2/S121/sec/406i/H233/meta/qty-power/calc-minimum":10.85,"timestamp":"2025-09-10T09:00:00.000000Z"},{"IMO1000005/913/S130.1-2/S121/sec/406i/H233/meta/qty-power/calc-count":3600,"timestamp":"2025-09-10T09:00:00.000000Z"}],"schema":{"$ref":"#/components/schemas/Vis38Statistics"}},"application/x-ndjson":{"example":"{\"IMO1000005/913/S130.1-2/S121/sec/406i/H233/meta/qty-power/calc-mean.time.weighted\":13.12,\"timestamp\":\"2025-09-10T09:00:00.000000Z\"}\n{\"IMO1000005/913/S130.1-2/S121/sec/406i/H233/meta/qty-power/calc-maximum\":15.47,\"timestamp\":\"2025-09-10T09:00:00.000000Z\"}\n{\"IMO1000005/913/S130.1-2/S121/sec/406i/H233/meta/qty-power/calc-minimum\":10.85,\"timestamp\":\"2025-09-10T09:00:00.000000Z\"}\n{\"IMO1000005/913/S130.1-2/S121/sec/406i/H233/meta/qty-power/calc-count\":3600,\"timestamp\":\"2025-09-10T09:00:00.000000Z\"}","schema":{"$ref":"#/components/schemas/Vis38Statistics"}}},"description":"Response from the route","headers":{"api-version":{"description":"API version","example":"2025-10-31","required":true,"schema":{"example":"2025-10-31","type":"string"},"style":"simple"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorResponse"}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorresponse"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}},"description":"Internal Server Error"}},"summary":"Get statistics from the vis-3-8a domain","tags":["Statistics"]}}},"security":[{"authorization":[]}],"servers":[{"description":"API Server","url":"http://localhost:8080","variables":{}}],"tags":[{"description":"The Measurements endpoints provide access to raw sensor data (time series measurements) without any aggregation. Each measurement is an instantaneous reading from a sensor at a given timestamp. This is typically the most commonly used endpoint for retrieving time-series data.","name":"Measurements"},{"description":"The Metadata endpoint provides detailed metadata about time series tags. This includes information such as the human-readable name of the signal, description, units of measure, data source, scaling factor, valid range, and mappings to other naming domains. Use this endpoint to understand what a particular time series represents.","name":"Metadata"},{"description":"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.","name":"Statistics"}]}