# Set a different metric to API poll if synthetic fails or succeeds

**URL:** <https://community.dynatrace.com/t/set-a-different-metric-to-api-poll-if-synthetic-fails-or-succeeds/53907>\
**Category:** Synthetic Monitoring\
**Tags:** synthetic-monitoring, dynatrace-api\
**Created:** [October 28, 2025, 2:17pm UTC](https://community.dynatrace.com/t/set-a-different-metric-to-api-poll-if-synthetic-fails-or-succeeds/53907 "2025-10-28T14:17:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![runatyr](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/runatyr/32/11396_2.png) [@runatyr](https://community.dynatrace.com/u/runatyr)\
**Post date:** [October 28, 2025, 2:17pm UTC](https://community.dynatrace.com/t/set-a-different-metric-to-api-poll-if-synthetic-fails-or-succeeds/53907/1 "2025-10-28T14:17:35Z")

</div>

Hello:

We have several different synthetic checks to run against various websites.

That said, we have a 3rd party Dashboard tool we are looking to leverage for purposes of viewing the results.

We know the 3rd party tool can poll our Dynatrace API to retrieve results.

Ideally, the flow of thinking is this.

1) Run the synthetic in Dynatrace,

2) If the synthetic succeeds, set a value in Dynatrace for that synthetic that can be polled from the 3rd party dashboard with the Dynatrace API.

3)&nbsp;If the synthetic fails, set a different value in Dynatrace for that synthetic that can be polled from the 3rd party dashboard with the Dynatrace API.

**The question I have is. Is this possible? How does one go about recording the results of the individual synthetic check in**

**Dynatrace to be&nbsp; polled through the API?**

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [October 28, 2025, 4:27pm UTC](https://community.dynatrace.com/t/set-a-different-metric-to-api-poll-if-synthetic-fails-or-succeeds/53907/2 "2025-10-28T16:27:13Z")

</div>

Hi,

You can get synthetic monitor status from API:

- [Synthetic monitor executions API v2 - GET basic info of an execution](https://docs.dynatrace.com/docs/shortlink/api-synthetic-v2-monitor-executions-get-execution-basic)
- [Synthetic monitor executions API v2 - GET full info on an execution](https://docs.dynatrace.com/docs/shortlink/api-synthetic-v2-monitor-executions-get-execution-full)

Best regards
