---
title: "Get Task Media Endpoint"
method: GET
path: "/lam/tasks/{taskId}/media"
tags: ["LAM"]
---

# Get Task Media Endpoint

`GET /lam/tasks/{taskId}/media`

## Path parameters

- `taskId` string, required — The ID of the task

## Response `200`

Successful Response

- TaskMediaResponse
  - `media` SessionMediaResponse[], required — A list of media data, including actions and recordings.
    - `actions` Action[], required — A list of actions performed, not applicable to fleet sessions.
      - `action` string, required — The type of action performed, e.g., 'click'.
      - `index` integer, required — The sequential index of the action.
      - `screenshot` string, required — URL of the screenshot taken at the time of the action.
    - `recordings` Recording[], required — A list of recordings associated.
      - `pageTitle` string, required — The title of the webpage where the recording took place.
      - `pageUrl` string, required — The URL of the webpage where the recording took place.
      - `url` string, required — URL of the recording file.
    - `sessionId` string, required — A unique identifier for the session.
  - `taskId` string, required — A unique identifier for the task.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/raccoonaihq/apis/raccoon-ai-api.md) · [All operations](https://skmtc.net/raccoonaihq/apis/raccoon-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/raccoonaihq/raccoon-ai-api/revisions/cc64732da5aa/schema)
