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

# Get Task Run GIF

> Get the GIF for a specific task run

<RequestExample>
  ```bash theme={null}
  curl --request GET \
    --url 'http://localhost:2003/api/v1/task/task_123/run/gif?runId=run_456' \
    --header 'x-api-key: <your-api-key>'
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  {
    "success": true,
    "data": {
      "status": "completed"
      "url": "https://example.com/gif.gif"
    }
  }
  ```
</ResponseExample>


## OpenAPI

````yaml GET /task/{taskId}/run/gif
openapi: 3.1.0
info:
  title: Browserable API
  description: API for managing automated browser tasks
  version: 1.0.0
servers:
  - url: https://api.browserable.ai/api/v1/
    description: API Server
security:
  - apiKey: []
paths:
  /task/{taskId}/run/gif:
    get:
      summary: Get Task Run GIF
      description: Get the GIF for a specific task run
      parameters:
        - name: taskId
          in: path
          required: true
          description: The ID of the task
          schema:
            type: string
            example: task_123
        - name: runId
          in: query
          required: false
          description: >-
            The ID of the run. If not provided, returns GIF status of the most
            recent run.
          schema:
            type: string
            example: run_456
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    description: Indicates if the request was successful
                    example: true
                  data:
                    type: object
                    properties:
                      status:
                        type: string
                        description: Status of the GIF generation
                        example: completed
                      url:
                        type: string
                        description: URL of the generated GIF
                        example: https://example.com/gif.gif
                      error:
                        type: string
                        description: Error message if the GIF generation failed
                        nullable: true
components:
  securitySchemes:
    apiKey:
      type: apiKey
      name: x-api-key
      in: header

````