[BETA] Unified semantic 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).
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.
Query parameters
Search scope: organisation (all tracked accounts for the org) or companies (explicit company_ids).
Search query (minimum 1 character).
Required when scope=companies: comma-separated company UUIDs.
Page index for the response envelope.
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 vector source.
ISO 8601 lower bound on result date.
ISO 8601 upper bound on result date.
Response
Success — { items, total, page, per_page } (and optionally resolved_company_count for organisation scope)
Response data
Changes
No recorded changes to this operation across all 1 revision of this API.