Exa
API actions for the Exa integration.
Exa
Search, explore, and summarize web content using Exa.
Find similar content
Find content similar to a given URL.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
url | string | Yes | The URL to find similar content for. |
num_results | number | No | Number of similar results to return (default 10). |
Response
{
"results": [
{
"id": "similar-123",
"score": 0.87,
"title": "Related Article",
"url": "https://similar-site.com/article"
}
]
}Get contents
Retrieve the full content of documents by their IDs.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
content_ids | array | Yes | List of content IDs to retrieve. |
Response
{
"results": [
{
"id": "result-123",
"text": "Full article content here...",
"url": "https://example.com/article"
}
]
}Search the web
Search the web using Exa's neural search API.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | Yes | The search query. |
num_results | number | No | Number of results to return (default 10). |
include_domains | array | No | Optional list of domains to include. |
exclude_domains | array | No | Optional list of domains to exclude. |
Response
{
"results": [
{
"id": "result-123",
"score": 0.95,
"title": "Example Article",
"url": "https://example.com/article"
}
]
}Summarize contents
Generate a summary of content documents based on a query.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
content_ids | array | Yes | List of content IDs to summarize. |
query | string | Yes | The query to guide the summary. |
Response
{
"summary": "This is a summary of the requested documents..."
}