Changelog
The changelog lists all new features, resolved issues, and known issues of Cloud API in chronological order.
2025.09.01
Financials
New operations
- Send financial values:
/financials/companies/:companyId/values
2025.06.30
Biology
New operations
- Get lice count:
/biology/companies/:companyId/lice-counts/:liceCountId - Send lice counts:
/biology/companies/:companyId/lice-counts
2025.06.01
Biology
New operations
- Send weight samples:
/biology/biomass/weight-samples
2025.03.01
Biology
New operations
- Register harvest results:
/biology/companies/:companyId/harvest/imports - Get imported harvest:
/biology/companies/:companyId/harvest/imports/:harvestId
2025.01.01
Meta
TimeSeries
Breaking changes
New version 2025-01-01 contains breaking changes and new features.
Breaking changes
Get company (/meta/company)
- Query parameter: name change
$include→include.
Get site (/meta/site)
- Query parameter: name change
$include→include. - Response:
info,sites,units,silos,additionalPropertyValuesare non-nullable now, but appear in response only when explicitly requested viaincludeparameter.
Get raw data (/time-series/retrieve)
- Query parameter: name change
$includeDevice→includeDevice. - Query parameter: name change
$includeMetadata→includeMetadata. - Request:
siteIdsandunitIdsnow useintegeridentifiers instead ofstring. - Request:
pageIndexandpageSizeare now non-nullable. - Request:
feedTypeIdis removed from request payload. - Response:
feedingDetailsis removed from response. - Response:
unitIdis nullable now.
Get available data types (/time-series/retrieve/data-types)
- Request:
companyIds,deviceIds, andsiloIdswere removed. - Request:
siteIdsandunitIdsnow use integer identifiers instead of strings.
Get unit aggregates (/time-series/retrieve/units/aggregate)
- Query parameter: removed
$includeDevice. - Query parameter: name change
$includeInvalid→includeInvalid. - Request:
siteIdsandunitIdsnow useintegeridentifiers instead ofstring. - Request:
fromTimeandtoTimeare now non-nullable. - Request:
companyIds,deviceIds,siloIds, andfeedTypeIdfields were removed. - Response:
devices,latest,invalidReadingsCountare removed from response payload. - Response:
unitIdis nullable now.
Get silo aggregates (/time-series/retrieve/silos/aggregate)
- Query parameter: removed
$includeDevice. - Query parameter: name change
$includeInvalid→includeInvalid. - Request:
siteIdsandsiloIdsnow useintegeridentifiers instead ofstring. - Request:
fromTimeandtoTimeare now non-nullable. - Request:
companyIds,deviceIds,unitIds,dataTypes,depth,depthVarianceandfeedTypeIdfields were removed. - Response:
devices,latest,invalidReadingsCount,averageDepthare removed from response payload.
Changes in Environmental Data Types
The operations below support only new data types. Using old data types might lead to unexpected results:
- Get raw data:
/time-series/retrieve - Get available data types:
/time-series/retrieve/data-types - Get unit aggregates:
/time-series/retrieve/units/aggregate
Supported Environmental Data Types
| Data Type | Description | Unit of Measurement |
|---|---|---|
| water_temperature | Temperature of the water | °C |
| water_oxygen_percentage | Oxygen percentage in the water | % |
| water_oxygen_umol | Oxygen in the water in μmol/l | μmol/l |
| water_oxygen_mg_l | Oxygen in the water in milligrams per liter | mg/l |
| water_salinity | Salinity of the water | PSU |
| sensor_depth | Depth of the sensor | Meters |
| sea_current_east | Sea current east | cm/s |
| sea_current_north | Sea current north | cm/s |
| sea_current_direction | Sea current direction | °M |
| sea_current_absolute_speed | Sea current absolute speed | cm/s |
Support for nullable UnitId
If a data entity does not belong to a specific unit, both request and response will use null instead of 0.
Request body example
{
...
"unitIds": [null, 100],
...
}
The UnitId property in the response now returns null.
The following existing operations are affected by this change:
- Get raw data:
/time-series/retrieve - Get unit aggregates:
/time-series/retrieve/units/aggregate
New operations
- Send environmental data:
/time-series/environment - Send custom data:
/time-series/telemetry
Improvements
Get company (/meta/company)
- Response:
sitesis non-nullable (should be requested viaincluderequest parameter). - Response:
additionalPropertyValuesfield is non-nullable (should be requested viaincluderequest parameter). - Response:
sites[].infoandsites[].info[].timezoneare non-nullable now. - Response:
sites[].unitsandsites[].silosare non-nullable now.
Get site (/meta/site)
- Response:
infoandinfo.timezoneare non-nullable now.
Get raw data /time-series/retrieve
- Response:
valueis non-nullable now. - Response:
siteIdis non-nullable now.
Get unit aggregates (/time-series/retrieve/units/aggregate)
- Response:
itemsis now non-nullable.
Get silo aggregates (/time-series/retrieve/silos/aggregate)
- Response:
itemsis now non-nullable.
Upgrade to 2025-01-01
- Requests must include
Scale-Versionheader with value2025-01-01. - Ensure that you are not using any outdated data types.
oxy_temp→water_temperatureoxy_o2_percent→water_oxygen_percentageoxy_o2_umol→water_oxygen_umoloxy_o2_mg_l→water_oxygen_mg_lsal_salinity→water_salinitysc_abs_speed→sea_current_absolute_speedsc_direction→sea_current_directionsc_north→sea_current_northsc_east→sea_current_eastdepth→sensor_depth
- Handle possible
nullvalues inUnitIdfields in request/responses. - Ensure that you have switched to newer formats of identifiers
siteId: string→siteId: int64unitId: string→unitId: int64siloId: string→siloId: int64siteIds: string[]→siteIds: int64[]unitIds: string[]→unitIds: int64[]siloIds: string[]→siloIds: int64[]
- Ensure you are not using removed fields in request & response.
- Ensure that you are not using removed/renamed query parameters (f.e.
$include).
2023.01.01
TimeSeries
Meta
Breaking changes
New version 2023-01-01 contains breaking changes and new features.
Breaking changes
- New base url is changed to: https://api.scaleaq.com
- New authentication scheme: see Authentication guide for more details.
- New versioning scheme: see Versioning guide for more details.
- Operation URLs changes:
- Get company:
/api/organisation/company→/meta/company - Get site:
/api/organisation/sites/:siteId→/meta/sites/:siteId - Get raw data:
/api/production/iot/get→/time-series/retrieve - Get available data types:
/api/production/aggregate/get-available-data-types→/time-series/retrieve/data-types - Get unit aggregates:
/api/production/aggregate/get/unit→/time-series/retrieve/units/aggregate - Get silo aggregates:
/api/production/aggregate/get/silo→/time-series/retrieve/silos/aggregate
- Get company:
Upgrade to 2023-01-01
- Requests must include
Scale-Versionheader with value2023-01-01. - Switch to new API operation URLs
- Use the new authentication method.
Unversioned
If you're using the legacy API (without a version), it will continue to work for now but will not be documented. Please upgrade to the latest version.