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

# Search for public snapshots

`GET /search`

## Query parameters

- `query` object, required
  - `query` string
  - `before` string, date-time
  - `offset` integer
  - `length` integer — Must be between 1 and 100

## Response `200`

Search results

- SearchResult
  - `before` string, date-time, required
  - `offset` integer, required
  - `results` SnapshotMeta[], required
    - `id` string, required
    - `owner` string, required
    - `file_name` string, required
    - `version` integer, required
    - `registered` boolean
    - `created_at` string, date-time, required

## Other responses

- `400` — Invalid input

## Changes

- **2025-01-20** `211195a7bd6a` — 3 info
  - the response property `before` became required for the status `200`
  - the response property `offset` became required for the status `200`
  - the response property `results` became required for the status `200`
- **2025-01-20** `20e8e755a09e` — 3 info
  - the `results/items/file_name` response's property pattern `/^[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}$/i` was added for the status `200`
  - the `results/items/id` response's property pattern `^[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}@[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}@[0-9]+$` was added for the status `200`
  - the `results/items/owner` response's property pattern `/^[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}$/i` was added for the status `200`
- **2025-01-20** `62a8a43f650d` — 1 info
  - added the required property `results/items/id` to the response with the `200` status
- **2025-01-20** `628e9f0a46e0` — 1 info
  - endpoint added
- **2025-01-20** `93e312846ab3` — 1 breaking
  - api path removed without deprecation

[Change 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/ad4cd30302ac/schema)
