Exa Search Block

Execute searches using the Exa platform

The Exa Search block enables users to perform detailed searches across various categories using the Exa platform. It supports advanced filtering options, including domain inclusion/exclusion, date range filtering, and text inclusion/exclusion. The block is designed to facilitate comprehensive data retrieval and analysis, leveraging the power of the Exa search API.

Configuration (Required)

Exa API Key
stringRequired
Use Environment Variables to safely and securely access sensitive credentials in a Scout workflow.

Provide your Exa API Key to authenticate requests. This key must be valid and have the necessary permissions to perform searches.

Search Term
stringRequired

The search term to query the Exa platform. This field supports Jinja templating for dynamic query construction.

Use Autoprompt
boolean

Determines whether to use the autoprompt feature. The default value is true.

Search Type
string

Select the type of search to perform. Options include keyword, neural, and auto. The default is auto.

Category
string

Specify the category to search within. Available categories include company, research paper, news, pdf, github, tweet, personal site, linkedin profile, financial report, and more. The default is an empty string, which means no specific category.

Number of Results
integer

Set the maximum number of results to retrieve. The default value is 10, with a minimum of 1 and a maximum of 100.

Include Domains
list

List of domains to include in the search. This field supports Jinja templating for dynamic domain inclusion.

Exclude Domains
list

List of domains to exclude from the search. This field supports Jinja templating for dynamic domain exclusion.

Start Crawl Date
string

Specify the start date for crawling. This field supports Jinja templating for dynamic date setting.

End Crawl Date
string

Specify the end date for crawling. This field supports Jinja templating for dynamic date setting.

Start Published Date
string

Specify the start date for published content. This field supports Jinja templating for dynamic date setting.

End Published Date
string

Specify the end date for published content. This field supports Jinja templating for dynamic date setting.

Include Text
list

List of text snippets to include in the search. This field supports Jinja templating for dynamic text inclusion.

Exclude Text
list

List of text snippets to exclude from the search. This field supports Jinja templating for dynamic text exclusion.

Return Full Page Text
boolean

Determines whether to return the full page text. The default value is true.

Text Highlights
object

Specify text highlights to include in the search results. The default is an empty object.

Summary of Webpage
object

Provide a summary of the webpage content. The default is an empty object.

Livecrawl Option
string

Choose the livecrawl option. Available options are never, fallback, always, and auto. The default is never.

Livecrawl Timeout (ms)
integer

Set the timeout for livecrawl in milliseconds. The default value is 10000.

Number of Subpages to Crawl
integer

Specify the number of subpages to crawl. The default value is 0.

Subpage Target Keyword
string

Provide a target keyword for subpage crawling. The default is an empty string.

See Workflow Logic & State > State Management for details on using dynamic variables in this block.

Outputs

The block outputs the JSON response from the Exa search API, including search results and any additional details.

Usage Context

Use this block to execute searches on the Exa platform, especially when you need to filter results by domain, date, or content type. It is particularly useful for data retrieval and analysis tasks.

Best Practices

  • Ensure the API key is valid and has the necessary permissions.
  • Use Jinja templating to dynamically construct search queries and filters.
  • Consider the number of results and subpages to balance performance and data retrieval needs.