cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Dynatrace api has limit on the number of data retrieved

elizawang
Visitor

We want to use dynatrace api to retrieve problems and comments data from dynatrace. But if we add the recentComments field, the limit on the number of retrieved items is too small, allowing only 10 items to be fetched at once. Is there have any way can break this limitation? Our header is: params = { "fields":"recentComments", "from": from_time.isoformat(timespec="milliseconds"), "to": to_time.isoformat(timespec="milliseconds"), }

2 REPLIES 2

GosiaMurawska
Community Team
Community Team

Hi, @elizawang! Have you managed to find the answer to your question? It would be great if you share it with the Community 🙂

RohitBisht
Dynatrace Advisor
Dynatrace Advisor

Hi @elizawang ,

I think what you are looking for is "pageSize".

RohitBisht_0-1735853664596.png

If you want more data, you may have to iterate using the "nextPageKey" programmatically.
Here is the link to doc:
Problems API v2 - GET problems list — Dynatrace Docs



RB

Featured Posts