Skip to main content
POST
/
metrology
/
stream
/
{data_id}
/
finalize
from atomscale.streaming import TimeseriesStreamer

streamer = TimeseriesStreamer(api_key="YOUR_API_KEY")
streamer.finalize("d290f1ee-6c54-4b01-90e6-d701748f0851")
{
  "data_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
  "processed_data_id": "e3a1b2c3-4567-89ab-cdef-234567890abc"
}
Ends an active metrology streaming session and marks it as complete. Changes the pipeline status from stream_active to success. Once finalized, a stream cannot accept additional data.
data_id
string
required
The data entry UUID for the streaming session

Response

data_id
string
The data ID for the finalized stream
processed_data_id
string
UUID for the processed data entry
from atomscale.streaming import TimeseriesStreamer

streamer = TimeseriesStreamer(api_key="YOUR_API_KEY")
streamer.finalize("d290f1ee-6c54-4b01-90e6-d701748f0851")
{
  "data_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
  "processed_data_id": "e3a1b2c3-4567-89ab-cdef-234567890abc"
}