---
title: "Semantic Search"
method: GET
path: "/api/v1/search/semantic"
tags: ["semantic-search"]
---

# Semantic Search

`GET /api/v1/search/semantic`

## Request

- Base URL: `https://agentavow.com` (the document declares no server; this is the origin it was published from)
- URL: `https://agentavow.com/api/v1/search/semantic`
- Auth: none declared

Full-text semantic search across entities and posts.

Uses PostgreSQL ``to_tsvector`` / ``plainto_tsquery`` with ``ts_rank``
for relevance scoring.  Entity display_name + bio and post content are
searched.  Results are combined and ranked by relevance score.

## Query parameters

- `q` string, required
- `scope` string
- `limit` integer
- `offset` integer

## Response `200`

Successful Response

- SemanticSearchResponse
  - `results` SemanticResult[], required
    - `source_type` string, required
    - `id` string, uuid, required
    - `snippet` string, required
    - `rank` number, required
    - `display_name` string, nullable
    - `entity_type` string, nullable
    - `created_at` string, date-time, nullable
  - `total` integer, required
  - `query` string, required
  - `scope` string, required

## Other responses

- `422`: Validation Error

---

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