---
title: "[ALPHA] Search documents about a company"
method: GET
path: "/companies/{company_id}/search"
tags: ["companies"]
---

# [ALPHA] Search documents about a company

`GET /companies/{company_id}/search`

Semantic search across the documents PG:AI holds for this company — public sources (earnings call transcripts, news articles and other public filings) and any files your team has uploaded and tagged to the same company. Each result includes a `source_type` of either `public_doc` or `uploaded_doc`. The response carries a single top-level `company` object (`{ id, name, domain }`) for the path company; individual items do not repeat it. Use `GET /companies/{company_id}/relevance` for a wider relevance feed that also includes web pages, jobs and technologies.

## Path parameters

- `company_id` string, required

## Query parameters

- `q` string, required
- `page` integer
- `per_source` integer
- `date_from` string
- `date_to` string

## Response `200`

Success — `{ items, total, page, per_page, company }`. Top-level `company` is `{ id, name, domain }` for the path company (items omit per-row `company`). Each item has `source_type` (`public_doc` | `uploaded_doc`), `id`, `title`, `text`, optional `event` / `file` blocks as for other search responses.

- object — Response data

## Other responses

- `400` — Validation error
- `401` — Unauthorized
- `500` — Unexpected error
- `503` — Search / data service unavailable

---

[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)
