---
title: "GET /v2/vals"
method: GET
path: "/v2/vals"
tags: ["vals"]
---

# GET /v2/vals

`GET /v2/vals`

Lists all vals including all public vals and your unlisted and private vals

## Query parameters

- `privacy` 'public' | 'unlisted' | 'private'
- `user_id` string, uuid
- `cursor` string, date-time
- `limit` integer, required

## Response `200`

A paginated result set

- object — A paginated result set
  - `data` Val[], required
    - `name` string, required
    - `id` string, uuid, required — The id of the val
    - `createdAt` string, date-time, required
    - `privacy` 'public' | 'unlisted' | 'private', required — This resource's privacy setting. Unlisted resources do not appear on profile pages or elsewhere, but you can link to them.
    - `author` object, required
      - `type` union, required
        - 'user'
        - 'org'
      - `id` string, uuid, required
      - `username` string, nullable, required
    - `imageUrl` string, nullable, required — The URL of this val's image
    - `description` string, nullable, required
    - `links` object, required
      - `self` string, uri, required — The URL of this resource on this API
      - `html` string, uri, required — The URL of this resource on Val Town
  - `links` PaginationLinks, required — Links to use for pagination
    - `self` string, uri, required — URL of this page
    - `prev` string, uri — URL of the previous page, if any
    - `next` string, uri — URL of the next page, if any

## Changes

- **2026-03-18** `7ca4c991c6cc` — 1 breaking, 1 info
  - the `data/items/privacy` response's property type/format changed from `string`/`` to ``/`` for status `200`
  - for the `query` request parameter `privacy`, the type/format was generalized from `string`/`` to ``/``
- **2025-08-12** `2fa9b43f5225` — 1 info
  - added the required property `data/items/author/type` to the response with the `200` status
- **2025-05-21** `a732bd85e0f1` — 1 warning, 3 info
  - deleted the `query` request parameter `offset`
  - added the new optional `query` request parameter `cursor`
  - added the new optional `query` request parameter `privacy`
  - added the new optional `query` request parameter `user_id`
- **2025-05-01** `137af5a9771c` — 1 info
  - added the required property `data/items/imageUrl` to the response with the `200` status
- **2025-04-23** `1658025a5732` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/val-town/apis/val-town-api/changes/v2/vals/get.md)

---

[API](https://skmtc.dev/val-town/apis/val-town-api.md) · [All operations](https://skmtc.dev/val-town/apis/val-town-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/val-town/val-town-api/revisions/4d8b6d2e6db3/schema)
