POST
/
alpha
/
search
curl --request POST \
  --url https://api.parallel.ai/alpha/search \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "objective": "<string>",
  "search_queries": [
    "<string>"
  ],
  "processor": "base",
  "max_results": 123,
  "max_chars_per_result": 123
}'
{
  "search_id": "search_fcb2b4f3-c75e-4186-87bc-caa1a8381331",
  "results": [
    {
      "url": "https://www.example.com",
      "title": "Sample webpage title",
      "excerpts": [
        "Sample excerpt 1",
        "Sample excerpt 2"
      ]
    }
  ]
}

Authorizations

x-api-key
string
header
required

Body

application/json

Base class for search queries.

Response

200
application/json

Successful Response

Output for the Search API.