Skip to main content
GET
/
search
Unified search
curl --request GET \
  --url https://api.getpg.ai/v1/search \
  --header 'X-Api-Key: <api-key>'
{}

Authorizations

X-Api-Key
string
header
required

Your API key for authentication. Get your API key from the PGAI dashboard.

Query Parameters

q
string
required

Search query (minimum 1 character)

types
enum<string>

Comma-separated list of types to search. Defaults to all.

Available options:
companies,
contacts,
content
limit
integer
default:10

Max results per type (1-100)

Response

Success - grouped search results with totals

Response data