Changelog
The changelog lists all new features, resolved issues, and known issues of Cloud API in chronological order.
2026.11.05
Biology
Updated operations
- Register harvest results:
/biology/companies/{companyId}/harvest/imports- A harvest from several units can be sent with
unitAllocations, either with one combined list ofharvestItemsor withharvestItemson each unit. - A purchaser can be given for the whole harvest with
purchaser, or per harvest item withpurchaserAllocations. processingPlantalso selects the plant's own API format in Farmer. Acondition.codeorqualityBandthe format does not map is rejected with a 400 that names each value and the items that carry it.- The description now lists every response and error, with examples. The
Locationheader is the address of the imported harvest, andharvestIdcan be at most 50 characters on tenants with the new harvest import. unitAllocations,purchaserandpurchaserAllocationsneed the new harvest import to be enabled for the tenant.- Error responses name the field by its path in the request, for example
harvestItems[0]orunitAllocations[1].unitCode.
- A harvest from several units can be sent with
- Get imported harvest:
/biology/companies/{companyId}/harvest/imports/{harvestId}- The response can contain
unitAllocationsandpurchaser. The description explains how the stored harvest differs from what was sent.
- The response can contain
2026.10.15
Biology
Updated operations
- Send weight samples:
/biology/biomass/weight-samples- Sums of
fractionCountandfractionBiomassinsizeDistributionare accepted when they equal1rounded to 10 decimal places. The stored values are adjusted so the sum is exactly1.
- Sums of
2026.10.14
Biology
New operations
- Send lice counts:
/biology/lice-counts- Sends up to 100 counts per request, one per unit and observation time.
- Each count is stored as one document, identified by
unitIdanddateTime, requiring uniqueness per unit and observation time.
- Get lice counts:
/biology/lice-counts- New endpoint for retrieving lice counts for a site or unit within a time window.
2026.09.14
Biology
New operations
- Get weight samples:
/biology/biomass/weight-samples
Updated operations
- Send weight samples:
/biology/biomass/weight-samples- The operation is now synchronous. A successful response means the data has been validated and stored, instead of only accepted for later processing.
- Each message is stored as one document, identified by
deviceId,unitIdanddateTime. Sending a message with the same identity as an existing document is rejected with422. - Added
400for requests that cannot be parsed or that fail validation of the request body.
2026.05.19
TimeSeries
New operations
- Send feeding data:
/time-series/feeding
Updated operations
- Send environmental data:
/time-series/environment- Added new accepted
dataTypevalues for hatchery and onshore monitoring:water_temperature_raw,ph_inlet,ph_outlet,carbon_dioxide,tan,nitrite_no2_n,nitrate_no3_n,ammonia_calculated,alkalinity,total_gas_pressure,nitrogen_calculated,turbidity,color.
- Added new accepted
2026.04.01
Meta
Updated operations
- Get company:
/meta/company- Added optional query parameter
idto get a specific company. If omitted, the first accessible company is returned. - Added
companyCodeto the response.
- Added optional query parameter
- Get site:
/meta/sites/:siteId- Added
siteCodeto site response. - Added
unitCodeto unit response. - Added
siloCodeto silo response.
- Added
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.