exa.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.
Answer
get
answer.get
Generate a direct, citation-backed answer to a natural language question
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
query | string | Yes | — |
text | boolean | No | — |
stream | boolean | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
answer | string | Yes | — |
citations | object[] | No | — |
requestId | string | No | — |
citations full type
citations full type
Contents
get
contents.get
Retrieve full text, highlights, or summaries from URLs or document IDs
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
ids | string[] | Yes | — |
text | object | No | — |
highlights | object | No | — |
summary | object | No | — |
text full type
text full type
highlights full type
highlights full type
summary full type
summary full type
| Name | Type | Required | Description |
|---|---|---|---|
results | object[] | Yes | — |
requestId | string | No | — |
results full type
results full type
Events
get
events.get
Get details of a specific webset event by its ID
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
websetId | string | Yes | — |
eventId | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
object | event | Yes | — |
type | string | Yes | — |
createdAt | string | Yes | — |
data | any | No | — |
list
events.list
List all events that have occurred for a webset
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
websetId | string | Yes | — |
cursor | string | No | — |
limit | number | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
data | object[] | Yes | — |
hasMore | boolean | No | — |
nextCursor | string | No | — |
data full type
data full type
Imports
create
imports.create
Create a new import to upload data into a webset
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
websetId | string | Yes | — |
urls | string[] | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
object | import | Yes | — |
websetId | string | Yes | — |
urls | string[] | No | — |
status | pending | processing | completed | failed | No | — |
createdAt | string | Yes | — |
updatedAt | string | No | — |
delete
imports.delete
Delete an existing import [DESTRUCTIVE]
Risk: destructive
| Name | Type | Required | Description |
|---|---|---|---|
websetId | string | Yes | — |
importId | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
deleted | boolean | Yes | — |
list
imports.list
List all imports for a webset
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
websetId | string | Yes | — |
cursor | string | No | — |
limit | number | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
data | object[] | Yes | — |
hasMore | boolean | No | — |
nextCursor | string | No | — |
data full type
data full type
Monitors
create
monitors.create
Create a new monitor to watch a webset for changes
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
websetId | string | Yes | — |
cadence | object | Yes | — |
cadence full type
cadence full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
object | monitor | Yes | — |
websetId | string | Yes | — |
cadence | object | Yes | — |
createdAt | string | Yes | — |
updatedAt | string | No | — |
cadence full type
cadence full type
Search
findSimilar
search.findSimilar
Find web pages semantically similar to a given URL
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | — |
numResults | number | No | — |
includeDomains | string[] | No | — |
excludeDomains | string[] | No | — |
startCrawlDate | string | No | — |
endCrawlDate | string | No | — |
startPublishedDate | string | No | — |
endPublishedDate | string | No | — |
excludeSourceDomain | boolean | No | — |
category | string | No | — |
contents | object | No | — |
contents full type
contents full type
| Name | Type | Required | Description |
|---|---|---|---|
results | object[] | Yes | — |
requestId | string | No | — |
results full type
results full type
search
search.search
Search the web using neural or keyword search
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
query | string | Yes | — |
numResults | number | No | — |
includeDomains | string[] | No | — |
excludeDomains | string[] | No | — |
startCrawlDate | string | No | — |
endCrawlDate | string | No | — |
startPublishedDate | string | No | — |
endPublishedDate | string | No | — |
useAutoprompt | boolean | No | — |
type | keyword | neural | auto | No | — |
category | string | No | — |
contents | object | No | — |
contents full type
contents full type
| Name | Type | Required | Description |
|---|---|---|---|
results | object[] | Yes | — |
autopromptString | string | No | — |
requestId | string | No | — |
results full type
results full type
Webhooks Api
list
webhooksApi.list
List all webhooks configured for websets
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
cursor | string | No | — |
limit | number | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
data | object[] | Yes | — |
hasMore | boolean | No | — |
nextCursor | string | No | — |
data full type
data full type
Websets
create
websets.create
Create a new webset with search, import, and enrichment setup
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
searches | object[] | No | — |
enrichments | object[] | No | — |
externalId | string | No | — |
searches full type
searches full type
enrichments full type
enrichments full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
object | webset | Yes | — |
status | idle | running | paused | done | Yes | — |
externalId | string | No | — |
searches | object[] | No | — |
enrichments | object[] | No | — |
imports | object[] | No | — |
monitors | object[] | No | — |
createdAt | string | Yes | — |
updatedAt | string | Yes | — |
searches full type
searches full type
enrichments full type
enrichments full type
imports full type
imports full type
monitors full type
monitors full type
delete
websets.delete
Delete a webset [DESTRUCTIVE]
Risk: destructive
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
object | webset | Yes | — |
deleted | boolean | Yes | — |
get
websets.get
Get details of a specific webset by its ID
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
object | webset | Yes | — |
status | idle | running | paused | done | Yes | — |
externalId | string | No | — |
searches | object[] | No | — |
enrichments | object[] | No | — |
imports | object[] | No | — |
monitors | object[] | No | — |
createdAt | string | Yes | — |
updatedAt | string | Yes | — |
searches full type
searches full type
enrichments full type
enrichments full type
imports full type
imports full type
monitors full type
monitors full type