curl --request POST \ --url https://node.apiopenperplex.com/custom_search_stream \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data '{ "system_prompt": "<string>", "user_prompt": "<string>", "location": "us", "model": "gpt-4o-mini", "search_type": "general", "return_images": false, "return_sources": false, "temperature": 0.2, "top_p": 0.9 }'
"<string>"
The response is of type string.
string