Skip to main content
Discussion ongoing

Get state type from timelines via API

Related products:Infra Monitoring - MonitoringInfra Monitoring - API
  • March 2, 2026
  • 2 replies
  • 11 views

Forum|alt.badge.img+5

Hello,

Would it be possible to get the state type (SOFT/HARD) from the timelines retrieved by API ?

For the endpoint : /monitoring/hosts/{host_id}/services/{service_id}/timeline

We would like to get the field "state_type". It is present in /monitoring/services endpoint.

When a service gets critical, we have every tries in the timeline (also in the web interface). Having the state type would allow us sort each event in the timeline.

2 replies

rchauvel
Centreonian
Forum|alt.badge.img+18
  • Centreonian
  • March 6, 2026
NewDiscussion ongoing

rchauvel
Centreonian
Forum|alt.badge.img+18
  • Centreonian
  • March 6, 2026

You’re right that state is missing from the timeline endpoint. Can you please explain your use case for leveraging this endpoint and in what circumstance the state would be helpful?