---
title: "Search for public snapshots"
method: GET
path: "/search"
tags: ["search"]
---

# Search for public snapshots

`GET /search`

## Query parameters

- `q` string, required
- `before` string, date-time
- `offset` integer
- `limit` integer

## Response `200`

Search results

- SearchResult
  - `before` string, date-time, required
  - `offset` integer, required
  - `results` SnapshotMeta[], required
    - `id` string, required
    - `owner` string, required
    - `fileName` string, required
    - `version` integer, required
    - `license` string — SPDX license identifier
    - `registered` boolean
    - `createdAt` string, date-time, required

## Other responses

- `400` — Invalid input

## Changes

- **2026-07-17** `4ff151025f7c` — 2 info
  - the `results/items/fileName` response's property pattern was changed from `/^[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}$/i` to `/^[a-z\d](?:[a-z\d]|[-_](?=[a-z\d])){0,38}$/i` for the status `200`
  - the `results/items/owner` response's property pattern was changed from `/^[a-z\d](?:[a-z\d]|-_(?=[a-z\d])){0,38}$/i` to `/^[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}$/i` for the status `200`
- **2025-02-09** `11f1b67626ff` — 1 info
  - the `results/items/owner` response's property pattern was changed from `/^[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}$/i` to `/^[a-z\d](?:[a-z\d]|-_(?=[a-z\d])){0,38}$/i` for the status `200`
- **2025-02-06** `4b32864c1d82` — 1 info
  - added the optional property `results/items/license` to the response with the `200` status
- **2025-01-23** `65605c05e7f7` — 2 breaking, 2 info
  - removed the required property `results/items/created_at` from the response with the `200` status
  - removed the required property `results/items/file_name` from the response with the `200` status
  - added the required property `results/items/createdAt` to the response with the `200` status
  - added the required property `results/items/fileName` to the response with the `200` status
- …earlier changes not shown

[Full history](https://skmtc.dev/lapisla-prover/apis/lapisla-prover-api/changes/search/get.md)

---

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