---
title: "Return an agent-readable digest for one saved catalog search/watchlist."
method: GET
path: "/api/saved-searches/{searchId}/digest"
tags: ["Library", "Agents"]
---

# Return an agent-readable digest for one saved catalog search/watchlist.

`GET /api/saved-searches/{searchId}/digest`

## Request

- Base URL: `https://huggingbay.xyz`
- URL: `https://huggingbay.xyz/api/saved-searches/{searchId}/digest`
- Auth: HTTP bearer

Fetches a bounded live result page for a saved search and returns reusable URLs for artifact pages, metadata, cards, distribution manifests, file lists, and mirror requests. This is intended for AI agents, notification digests, and repeatable user workflows.

**Inputs.** Path, query and header fields are listed below. No request body is required.

**Outputs.** See each status below for its media type, schema and headers. A missing record or unavailable capability is not a successful empty result.

**Errors.** API JSON failures use the documented response schema. Read code, message and next; retry only when the response allows it. Auth, invalid input and missing records need a caller change.

**Rate limits.** Public read budgets apply by client IP and route group. This operation can have a smaller route-specific budget. Read Retry-After on 429 or retryable 503 responses.

**Example setup.** Use an identifier returned by the matching list, search or create operation. Sample identifiers are not a promise that a record exists. Set HUGGING_BAY_TOKEN to a credential with the role or scope stated by this operation. Reader tokens do not grant publisher or operator rights.

## Path parameters

- `searchId` string, required

## Query parameters

- `limit` integer

## Response `200`

Saved search digest

- SavedSearchDigest
  - `schemaVersion` 'hugging-bay.saved-search-digest.v1', required
  - `generatedAt` string, required
  - `search` SavedSearch, required (unresolved $ref)
  - `browserUrl` string, required
  - `apiUrl` string, required
  - `digestUrl` string, required
  - `summary` object, required
    - `totalMatches` number, required
    - `returnedMatches` number, required
    - `newOrUpdated` number, required
    - `hostedMatches` number, required
    - `requestableMatches` number, required
    - `topDownloads` number, required
    - `nextCursor` string, nullable
  - `rows` SavedSearchDigestRow[], required (unresolved $ref)
  - `newOrUpdated` SavedSearchDigestRow[], required (unresolved $ref)
  - `hosted` SavedSearchDigestRow[], required (unresolved $ref)
  - `requestable` SavedSearchDigestRow[], required (unresolved $ref)
  - `agentActions` object
  - `policy` object

## Other responses

- `403`: Reader, publisher, or admin token required
- `404`: Saved search not found
- `422`: Saved search API path is invalid

---

[API](https://skmtc.dev/huggingbay/apis/hugging-bay-public-api.md) · [All operations](https://skmtc.dev/huggingbay/apis/hugging-bay-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/huggingbay/apis/hugging-bay-public-api/revisions/ea7ba26b1e27?raw)
