> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mobilerun.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Redirect to a freshly signed screenshot URL

> Redirects (302) to a freshly signed, time-limited image URL for a screenshot captured during this execution. Owner-gated: 404 if the execution or the screenshot does not belong to the caller.



## OpenAPI

````yaml /api-reference/workflows.yaml get /executions/{executionId}/screenshots/{screenshotId}
openapi: 3.1.0
info:
  title: Workflows
  version: v1
servers:
  - description: Droidrun Cloud API
    url: https://api.mobilerun.ai/v1
security:
  - bearerAuth: []
paths:
  /executions/{executionId}/screenshots/{screenshotId}:
    get:
      tags:
        - Executions
      summary: Redirect to a freshly signed screenshot URL
      description: >-
        Redirects (302) to a freshly signed, time-limited image URL for a
        screenshot captured during this execution. Owner-gated: 404 if the
        execution or the screenshot does not belong to the caller.
      operationId: getExecutionScreenshot
      parameters:
        - in: path
          name: executionId
          required: true
          schema:
            format: uuid
            type: string
        - in: path
          name: screenshotId
          required: true
          schema:
            format: uuid
            type: string
      responses:
        '302':
          description: Redirect to the signed screenshot image URL
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorEnvelope'
          description: Not Found
      x-codeSamples:
        - lang: JavaScript
          source: >-
            import Mobilerun from '@mobilerun/sdk';


            const client = new Mobilerun({
              apiKey: process.env['MOBILERUN_CLOUD_API_KEY'], // This is the default and can be omitted
            });


            await
            client.workflows.executions.screenshots.retrieve('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
            {
              executionId: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
            });
        - lang: Python
          source: |-
            import os
            from mobilerun_sdk import Mobilerun

            client = Mobilerun(
                api_key=os.environ.get("MOBILERUN_CLOUD_API_KEY"),  # This is the default and can be omitted
            )
            client.workflows.executions.screenshots.retrieve(
                screenshot_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
                execution_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
            )
components:
  schemas:
    ApiErrorEnvelope:
      properties:
        code:
          type: string
        details: {}
        message:
          type: string
        retryAfterSeconds:
          type: number
        traceId:
          type: string
      required:
        - code
        - message
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: Opaque
      description: Bearer token via Authorization header
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.