---
title: "Fleet Search"
method: GET
path: "/api/v1/fleet/search"
---

# Fleet Search

`GET /api/v1/fleet/search`

## Request

- Base URL: `http://127.0.0.1:8052`
- URL: `http://127.0.0.1:8052/api/v1/fleet/search`
- Auth: none declared

Cross-project search stub for the topbar search bar.

Accepts a free-text query plus the ``agent:/status:/across:`` operator
syntax used by the frontend search component; the stub does not yet
execute the search and instead returns the parsed filters so the SPA
can demonstrate the round-trip while the backend implementation is
being built.

Returns:
    ``{"query": str, "filters": {...}, "matches": [], "stub": bool}``.

## Query parameters

- `q` string: Cross-project search query
- `limit` integer

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/bernstein/apis/bernstein-task-server.md) · [All operations](https://skmtc.dev/bernstein/apis/bernstein-task-server/llms.txt) · [OpenAPI document](https://skmtc.dev/bernstein/apis/bernstein-task-server/revisions/2a20a34ad2eb?raw)
