---
title: "All-documents search"
method: GET
path: "/search/all"
tags: ["Search"]
---

# All-documents search

`GET /search/all`

Search across all documents (authors, books, genres) with pagination

## Query parameters

- `q` string
- `limit` integer
- `page` integer
- `locale` 'en' | 'ar'

## Response `200`

Search results retrieved successfully

- AllSearchResponse
  - `results` object, required
    - `hits` object[]
    - `found` integer
  - `pagination` object, required
    - `page` integer
    - `perPage` integer
    - `totalPages` integer

---

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