---
title: "Get search suggestions"
method: GET
path: "/api/v1/search/suggestions"
tags: ["Search"]
---

# Get search suggestions

`GET /api/v1/search/suggestions`

## Request

- Base URL: `https://api.skills-hub.ai`
- URL: `https://api.skills-hub.ai/api/v1/search/suggestions`
- Auth: one of:
  - HTTP bearer
  - API key in header `Authorization`

Returns autocomplete suggestions (`skills` and `tags`) for a query prefix. Public; requires `q` of at least 2 characters and is cached for 30 seconds.

## Response `200`

Successful response. The returned fields are described in this endpoint's summary/description; typed per-field response schemas are being added incrementally.

- object
  - `skills` object[], required
    - `name` string
    - `slug` string
  - `tags` string[], required

---

[API](https://skmtc.dev/skills-hub/apis/skills-hub-ai-api.md) · [All operations](https://skmtc.dev/skills-hub/apis/skills-hub-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/skills-hub/apis/skills-hub-ai-api/revisions/cb5d46d80300?raw)
