---
title: "GET /api/last-viewed/items/"
method: GET
path: "/api/last-viewed/items/"
tags: ["Last viewed"]
---

# GET /api/last-viewed/items/

`GET /api/last-viewed/items/`

## Request

- Base URL: `https://api.baserow.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.baserow.io/api/last-viewed/items/`
- Auth: HTTP bearer

Lists the views, application pages, dashboards, automation workflows and agents the authenticated user opened most recently, newest first. Only items the user can still access are returned.

## Query parameters

- `cursor` string
- `limit` integer
- `types` string
- `workspace_ids` string

## Response `200`

- LastViewedItemsResponse
  - `results` LastViewedItem[], required
    - `type` string, required
    - `sub_type` string, nullable, required: Set for polymorphic types, like the view type of a database view.
    - `last_viewed` string, date-time, required
    - `application` LastViewedItemApplication, required
      - `id` integer, required
      - `name` string, required
      - `type` string, required
    - `workspace` LastViewedItemWorkspace, required
      - `id` integer, required
      - `name` string, required
    - `item` union, required
      - LastViewedViewItem
        - `id` integer, required
        - `name` string, required
        - `table` TableReference, required: Identifies a table where the full `TableSerializer` would be wasteful, like the parent of a recently viewed view.
          - `id` integer, required
          - `name` string, required
      - LastViewedPageItem
        - `id` integer, required
        - `name` string, required
      - LastViewedDashboardItem
        - `id` integer, required
        - `name` string, required
      - LastViewedAutomationWorkflowItem
        - `id` integer, required
        - `name` string, required
      - LastViewedAgentApplicationItem
        - `id` integer, required
        - `name` string, required
  - `next_cursor` string, nullable, required: Pass as `cursor` to get the next page, `null` when no more items follow.

## Other responses

- `400`

## Changes

- **2026-10-23** `a3756c326fe1`: 1 breaking
  - added `#/components/schemas/LastViewedAgentApplicationItem` to the `results/items/item/allOf[#/components/schemas/PolymorphicLastViewedItem]/` response property `oneOf` list for the response status `200`
- **2026-09-30** `e81714236040`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/baserow/apis/baserow-api-spec/changes/api/last-viewed/items/get.md)

---

[API](https://skmtc.dev/baserow/apis/baserow-api-spec.md) - [All operations](https://skmtc.dev/baserow/apis/baserow-api-spec/llms.txt) - [OpenAPI document](https://skmtc.dev/baserow/apis/baserow-api-spec/revisions/a3756c326fe1?raw)
