Skip to main content
POST
Create an opportunity saved search

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required

Display name for the saved search.

query
string

Free-text search terms.

searchType
enum<string>

Market this search covers. Defaults to the caller's market focus and is stored, so it bounds every later match.

Available options:
fed,
sled,
international
buyerIds
string[]

Govly buyer (government entity) ids.

includeSubBuyers
boolean

Include opportunities from child agencies. Default true when buyerIds is set.

naics
string[]

NAICS codes to filter by.

placeIds
string[]

Canonical Govly Place ids to scope the saved search to, from the place search or list tools. Matches at any administrative level. Bounded by the stored market, and changeable but not removable.

placeIdsNone
string[]

Canonical Govly Place ids to exclude. Same matching rules as placeIds.

recordType
string[]

Record types. Published and forecast types cannot be mixed.

noticeType
string[]

Notice types.

status
string[]

Opportunity statuses.

dateRangeParam
string

Which date field the relative window applies to.

relativeStartDayPivot
integer

Window start, in days relative to today.

relativeEndDayPivot
integer

Window end, in days relative to today.

Response

Created opportunity saved search

data
object
required