16 Jun 2026
05:40 PM
- last edited on
17 Jun 2026
08:04 AM
by
MaciejNeumann
Hello community,
I was looking to pull screenshots for synthetic monitor executions programmatically. Specifically, I was looking to pull the last screenshot for the failed step in a browser synthetic that failed. Then that would get attached to a ticket or otherwise presented to the end user for context without them having to go in and view it in Dynatrace.
I haven't found any suitable features through the API, but maybe I am missing something. I have enabled the new browser monitor experience which did add screenshot and thumbnail URIs into the grail records (ruxit-synth-screencap.s3.amazonaws.com) but these URLs are forbidden because of improper authentication...
So, I am wondering if this is even possible at this moment, and if so, how to do it. Maybe I am just missing something with authentication to those screenshot URIs? Or missing something from the docs?
p.s. our browser monitors run in private locations, and we are using Dynatrace SaaS. Our activegates are on 1.339
Thank you!
Solved! Go to Solution.
18 Jun 2026 12:52 AM
Hi @thale247
As of now, there's no direct API endpoint to download synthetic execution screenshots programmatically. The screenshot URIs you see in Grail records (ruxit-synth-screencap.s3.amazonaws.com) require internal Dynatrace session-based authentication — they won't work with API tokens, which is why you're getting 403 Forbidden.
The Synthetic API returns execution metadata but doesn't expose a screenshot download capability. Those S3 URLs are meant for internal UI rendering only and aren't designed for external programmatic access.
I'd suggest raising this as a product idea/feature request if one doesn't already exist — attaching screenshots to alerting integrations (ServiceNow, webhooks, etc.) would be a valuable addition.
Thanks,
Sujit
Featured Posts