---
title: "[BETA] Unified semantic search"
method: GET
path: "/search"
tags: ["search"]
---

# [BETA] Unified semantic search

`GET /search`

Semantic search across the data PG:AI holds for your accounts — public filings and news, your uploaded materials, web pages, jobs, technologies, contacts, conversations, insights and more. Use `scope=organisation` to search every account tracked for your workspace, or `scope=companies` to restrict to a comma-separated list of `company_ids`. Returns a ranked `{ items, total, page, per_page }` envelope (organisation scope additionally includes `resolved_company_count`).

## Query parameters

- `scope` 'organisation' | 'companies', required
- `q` string, required
- `company_ids` string
- `page` integer
- `per_source` integer
- `date_from` string
- `date_to` string

## Response `200`

Success — `{ items, total, page, per_page }` (and optionally `resolved_company_count` for organisation scope)

- object — Response data

## Other responses

- `400` — Missing or invalid query parameters
- `401` — Unauthorized
- `403` — Access denied
- `500` — Unexpected error

---

[API](https://skmtc.net/getpg/apis/pg-ai-public-api.md) · [All operations](https://skmtc.net/getpg/apis/pg-ai-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getpg/pg-ai-public-api/revisions/cc47d013c073/schema)
