# Measurement data streaming

**URL:** <https://community.cumulocity.com/t/measurement-data-streaming/421>\
**Category:** Forum\
**Tags:** cumulocity\
**Created:** [March 10, 2023, 7:58am UTC](https://community.cumulocity.com/t/measurement-data-streaming/421 "2023-03-10T07:58:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hgansmueller](https://avatars.discourse-cdn.com/v4/letter/h/91b2a8/32.png) [@hgansmueller](https://community.cumulocity.com/u/hgansmueller)\
**Post date:** [March 10, 2023, 7:58am UTC](https://community.cumulocity.com/t/measurement-data-streaming/421/1 "2023-03-10T07:58:51Z")

</div>

#### What product/components do you use and which version/fix level are you on?

10.13

#### Is your question related to the free trial, or to a production (customer) instance?

production

Hi all,  
in open API documentation there is a subnav-element “Data streaming”: [https://cumulocity.com/api/10.15.0/#section/Data-streaming](https://cumulocity.com/api/10.15.0/#section/Data-streaming)

> Using stream JSON parsers like [Java JsonParser](http://docs.oracle.com/javaee/7/api/javax/json/stream/JsonParser.html) or [JavaScript Oboe.js](http://oboejs.com/) parsers allows transmitting high data volumes in a single request.

But when I use it, I don´t get more data. It is still limited to 2000 per page. I added " Accept: application/json-stream" to my request header but it seems that nothing change. Where is the difference to a not stream request?

thx for help

greets

Helmut

---

<div class="post-metadata">

**Author:** ![Stefan\_Witschel](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/stefan_witschel/32/31955_2.png) [@Stefan\_Witschel](https://community.cumulocity.com/u/Stefan_Witschel)\
**Post date:** [March 16, 2023, 1:20pm UTC](https://community.cumulocity.com/t/measurement-data-streaming/421/2 "2023-03-16T13:20:34Z")

</div>

Hi Helmut,

this accept header `Accept: application/json-stream` does not change the output format or limitation of 2000 measurements per page. Moreover it changes the behavior the client is receiving the measurements.

When using this header you get a measurement stream, meaning one-by-one and the client does not have to wait for a complete response.  
The" normal" behavior is that it will execute a query on the DB, calculate the response and send the full response to the client when ready → client has to wait until all measurements are retrieved.

Let me know if you have additional questions about it!

Regards  
Stefan

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/system/32/31990_2.png) [@system](https://community.cumulocity.com/u/system)\
**Post date:** [September 12, 2023, 1:20pm UTC](https://community.cumulocity.com/t/measurement-data-streaming/421/3 "2023-09-12T13:20:48Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
