POST
/
v2
/
discovery
/
search-criteria
Generate search criteria
curl --request POST \
  --url https://rest.forestreet.com/v2/discovery/search-criteria \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "searchType": "keywordSearch",
  "searchInput": "<string>"
}'
{
  "marketName": "<string>",
  "userPrompt": "<string>",
  "marketType": "service",
  "marketRole": "manufacturer",
  "keywords": {
    "features": [
      "<string>"
    ],
    "user": [
      "<string>"
    ],
    "synonyms": [
      "<string>"
    ],
    "irrelevant": [
      "<string>"
    ]
  },
  "seedDomains": [
    "<string>"
  ],
  "count": 123,
  "assertions": "<any>",
  "constraints": "<any>",
  "projectKind": "first_pass",
  "performSearch": true,
  "locations": [
    "<string>"
  ]
}

Authorizations

x-api-key
string
header
required

Pass a static API key for every request, provided by your customer support.

Body

application/json

Response

200 - application/json

Search criteria generated

The response is of type object.