POST
/
v2
/
discovery
/
search-criteria
/
keywords
Generate keywords for search
curl --request POST \
  --url https://rest.forestreet.com/v2/discovery/search-criteria/keywords \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "searchCriteria": {
    "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": {
      "countryCodes": [
        "<string>"
      ],
      "countryNames": [
        "<string>"
      ]
    }
  }
}'
[
  "<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 string[].