Validate an advanced discover request
Validates all field values in an advanced discover request and returns detailed warnings for any invalid values (especially enums such as role, industry, seniority). It also flags a request too large to evaluate (QUERY_TOO_LARGE), which a search would refuse with a 400. Does not perform a search or consume credits.
Request body
- companyobjectOptionalFilters for company index (firmographic data)
- aggkCompanyIdobjectOptionalAggKnowledge Company ID filterOR
Values where at least ONE must be present (OR logic)
NOTValues that must NOT be present (NOT logic)
- Company filter mode: WORK_EXPERIENCE (default) or RELATIONSHIP
- Company name filter (supports partial/phrase matching). Bounded by the total number of words rather than by the number of values, so one long name costs as much as several short ones; a filter too large to evaluate is rejected with a 400AND
Values that must ALL be present (AND logic)
ORValues where at least ONE must be present (OR logic)
NOTValues that must NOT be present (NOT logic)
- Company type filter
Backed by a single-valued field — more than one and value can never match.
ANDValues that must ALL be present (AND logic)
ORValues where at least ONE must be present (OR logic)
NOTValues that must NOT be present (NOT logic)
- companyWebsiteobjectOptionalCompany website filter
Backed by a single-valued field — more than one and value can never match.
ANDValues that must ALL be present (AND logic)
ORValues where at least ONE must be present (OR logic)
NOTValues that must NOT be present (NOT logic)
- countryobjectOptionalCompany country
Backed by a single-valued field — more than one and value can never match.
ANDValues that must ALL be present (AND logic)
ORValues where at least ONE must be present (OR logic)
NOTValues that must NOT be present (NOT logic)
- Employee count range filter
Backed by a single-valued field — more than one and value can never match.
ANDValues that must ALL be present (AND logic)
ORValues where at least ONE must be present (OR logic)
NOTValues that must NOT be present (NOT logic)
- Range on the number of funding rounds the company has participated in
- maxinteger (int32)OptionalMaximum value (inclusive)
- mininteger (int32)OptionalMinimum value (inclusive)
- Range on the total funding raised and publicly disclosed, in USD
- maxinteger (int64)OptionalMaximum value (inclusive)
- mininteger (int64)OptionalMinimum value (inclusive)
- Industry filter
Backed by a single-valued field — more than one and value can never match.
ANDValues that must ALL be present (AND logic)
ORsoftwareValues where at least ONE must be present (OR logic)
NOTValues that must NOT be present (NOT logic)
- Range on the amount of the latest funding round. Companies with no known amount never match
- maxinteger (int64)OptionalMaximum value (inclusive)
- mininteger (int64)OptionalMinimum value (inclusive)
- Latest funding date range
- gtestringOptionalGreater than or equal to date (YYYY, YYYY-MM, or YYYY-MM-DD)
- ltestringOptionalLess than or equal to date (YYYY, YYYY-MM, or YYYY-MM-DD)
- Stage of the company's latest funding round
Backed by a single-valued field — more than one and value can never match.
ANDValues that must ALL be present (AND logic)
ORValues where at least ONE must be present (OR logic)
NOTValues that must NOT be present (NOT logic)
- localityobjectOptionalCompany locality
Backed by a single-valued field — more than one and value can never match.
ANDValues that must ALL be present (AND logic)
ORValues where at least ONE must be present (OR logic)
NOTValues that must NOT be present (NOT logic)
- Company's primary stock exchange
Backed by a single-valued field — more than one and value can never match.
ANDValues that must ALL be present (AND logic)
ORValues where at least ONE must be present (OR logic)
NOTValues that must NOT be present (NOT logic)
- Company's primary stock ticker
Backed by a single-valued field — more than one and value can never match.
ANDValues that must ALL be present (AND logic)
ORValues where at least ONE must be present (OR logic)
NOTValues that must NOT be present (NOT logic)
- regionobjectOptionalCompany region
Backed by a single-valued field — more than one and value can never match.
ANDValues that must ALL be present (AND logic)
ORValues where at least ONE must be present (OR logic)
NOTValues that must NOT be present (NOT logic)
- Relationship type filter (only used when companyFilter=RELATIONSHIP)
- Revenue range inferred filter
Backed by a single-valued field — more than one and value can never match.
ANDValues that must ALL be present (AND logic)
ORValues where at least ONE must be present (OR logic)
NOTValues that must NOT be present (NOT logic)
- cursorstringOptionalPagination cursor from previous response for fetching next page of results
- groupingobjectOptionalResult diversity controls
- limitinteger (int32)OptionalMaximum number of results to return per page (default: 1000, max: 1000)
- metadataobjectOptionalOptional metadata to associate with the request. Will be returned in the response.
- personobjectOptionalFilters for person attributes (location)
- vendorgraphicsobjectOptionalFilters for vendorgraphics index (products and categories)
- workExperienceobjectOptionalFilters for work experience index (job titles, roles, etc.)
- currentStartDateAtCompanyobjectOptionalDate range filter for when a person started their current stint at the company
- gtestringOptionalGreater than or equal to date (YYYY, YYYY-MM, or YYYY-MM-DD)
- ltestringOptionalLess than or equal to date (YYYY, YYYY-MM, or YYYY-MM-DD)
- End date range filter for work experiences
- gtestringOptionalGreater than or equal to date (YYYY, YYYY-MM, or YYYY-MM-DD)
- ltestringOptionalLess than or equal to date (YYYY, YYYY-MM, or YYYY-MM-DD)
- Job title filter. Bounded by the total number of words across 'and', 'or' and 'not' rather than by the number of values, so one long title costs as much as several short ones; a filter too large to evaluate is rejected with a 400AND
Values that must ALL be present (AND logic)
ORValues where at least ONE must be present (OR logic)
NOTValues that must NOT be present (NOT logic)
- originalStartDateAtCompanyobjectOptionalDate range filter for when a person originally started at the company
- gtestringOptionalGreater than or equal to date (YYYY, YYYY-MM, or YYYY-MM-DD)
- ltestringOptionalLess than or equal to date (YYYY, YYYY-MM, or YYYY-MM-DD)
- Person employment filter (CURRENT or PAST_NOT_CURRENT)
- Person's role at the company
Backed by a single-valued field — more than one and value can never match.
ANDValues that must ALL be present (AND logic)
ORValues where at least ONE must be present (OR logic)
NOTValues that must NOT be present (NOT logic)
- Person's seniority at the company
Backed by a single-valued field — more than one and value can never match.
ANDValues that must ALL be present (AND logic)
ORseniorcxoValues where at least ONE must be present (OR logic)
NOTValues that must NOT be present (NOT logic)
- Start date range filter for work experiences
- gtestringOptionalGreater than or equal to date (YYYY, YYYY-MM, or YYYY-MM-DD)
- ltestringOptionalLess than or equal to date (YYYY, YYYY-MM, or YYYY-MM-DD)
- Person's subrole at the company
Backed by a single-valued field — more than one and value can never match.
ANDValues that must ALL be present (AND logic)
ORValues where at least ONE must be present (OR logic)
NOTValues that must NOT be present (NOT logic)
- Headers
x-api-keyRequired · API key for authentication
Response
- isValidbooleanWhether all provided values are valid (true when warnings is empty)
- metadataobjectCaller-supplied metadata echoed back from the request.
- warningsobject[]List of validation warnings, one per invalid field value