[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.
Request
- Base URLhttps://api.getpg.ai/public-api/v1
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Company UUID
Query parameters
Search query.
Page number.
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.
ISO 8601 lower bound on result date.
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.
Response data
Changes
No recorded changes to this operation across all 1 revision of this API.