Skip to main content
POST
Submit one or more time series to Luna’s Kalman filter. Set save to true and include a unique_identifier to accumulate historical observations across requests.

Authorizations

X-API-Key
string
header
required

API key for authentication

Path Parameters

account_id
integer
required

The account ID associated with your API key

Body

application/json
results
number<float>[][]
required

A 2D array where each inner list contains time series values

Example:
save
boolean
default:false

Whether to save the results to the database

unique_identifier
string | null

The unique identifier for the data (required when save is true)

Example:

"sensor-001-2024"

Response

Successfully processed the Kalman filter

filtered_data
number<float>[]

The filtered time series values after applying the Kalman filter

raw_state
number<float>[]

The raw state values from the Kalman filter

smooth_state
number<float>[]

The smoothed state values from the Kalman filter

input_data
number<float>[][]

The original input data