v1

latestOpenAPI 3.0.02026-07-13321262.1 KB
companies

[ALPHA] Search documents about a company

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.

get/companies/{company_id}/search

Path parameters

company_idstring required

Company UUID

Query parameters

qstring required

Search query.

pageinteger

Page number.

per_sourceinteger

Page size. Default 25, maximum 50 on all list endpoints. Omit to use the default; increase up to 50 only if you need larger pages. Applied per source.

date_fromstring

ISO 8601 lower bound on result date.

date_tostring

ISO 8601 upper bound on result date.

Response

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 required

Response data