exa-js breaking changes
Updated December 4, 2026
On this page
Latest version 2.30.0, released December 2, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
exa-js 2.28.0 breaking changes
- Signature changed
DeepObjectOutputSchema
Was type DeepObjectOutputSchema = {type: "object"; properties?: Record<string, unknown>; required?: string[];}; now type DeepObjectOutputSchema = {type: "object"; properties?: Record<string, unknown>; required?: readonly string[]... npmjs.com - Signature changed
DeepObjectOutputSchema.required
Was required?: string[]; now required?: readonly string[]. npmjs.com - Signature changed
SearchMonitorRunOutput.content
Was content?: string | Record<string, unknown> | null; now content?: string | number | boolean | Record<string, unknown> | unknown[] | null. npmjs.com - Signature changed
Status
Was type Status = {id: string; status: string; source?: string; error?: ContentStatusError | null;}; now type Status = {id: string; status: ContentFetchStatus; source?: ContentSource; error?: ContentStatusError | null;}. npmjs.com - Signature changed
Status.source
Was source?: string; now source?: ContentSource. npmjs.com - Signature changed
Status.status
Was status: string; now status: ContentFetchStatus. npmjs.com
exa-js 2.27.0 breaking changes
- Behavior changed
Response enum types now include a string fallback, so exhaustive switch statements and Record checks need a default case. github.com - Behavior changed
livecrawl
Passing livecrawl together with maxAgeHours in contents option types is now rejected. Use only maxAgeHours. github.com - Signature changed
AgentConfidence
Was type AgentConfidence = "low" | "medium" | "high"; now type AgentConfidence = KnownAgentConfidence | (string & {}). npmjs.com - Signature changed
AgentMonitorChange.type
Was type: "content.upserted"; now type: "content.upserted" | (string & {}). npmjs.com - Signature changed
AgentMonitorField.type
Was type: AgentMonitorFieldValueType; now type: AgentMonitorFieldValueType | (string & {}). npmjs.com - Signature changed
AgentMonitorStatus
Was type AgentMonitorStatus = "creating" | "pending_first_refresh" | "active"; now type AgentMonitorStatus = KnownAgentMonitorStatus | (string & {}). npmjs.com - Signature changed
AgentRunStatus
Was type AgentRunStatus = "queued" | "running" | "completed" | "failed" | "cancelled"; now type AgentRunStatus = KnownAgentRunStatus | (string & {}). npmjs.com - Signature changed
AgentStopReason
Was type AgentStopReason = "schema_satisfied" | "budget_reached" | "time_limit_reached" | "stopped" | "error" | "cancelled"; now type AgentStopReason = KnownAgentStopReason | (string & {}). npmjs.com - Signature changed
AnswerStreamChunk
Was type AnswerStreamChunk = {content?: string; citations?: Array<{id: string; url: string; title?: string; publishedDate?: string; author?: string; text?: string;}>;}; now type AnswerStreamChunk = {content?: string; citations?: Array<{id... npmjs.com - Signature changed
CreateAgentMonitorFieldParams.type
Was type?: AgentMonitorFieldValueType | AgentMonitorFieldMode; now type?: AgentMonitorField["type"] | AgentMonitorFieldMode. npmjs.com
And 13 more in this version. Sign up to see every change
exa-js 2.26.0 breaking changes
- Removed
The Research API is removed in this release. Code that calls it must be moved to another Exa API or deleted. github.com - Signature changed
AgentMonitorBacktestsClient.create
Was create(params: CreateAgentMonitorBacktestParams & AgentMonitorsBetaOptions): Promise<AgentMonitorBacktest>; now create(params: CreateAgentMonitorBacktestParams & AgentMonitorsBetaOptions, requestOptions?: RequestOptions)... npmjs.com - Signature changed
AgentMonitorBacktestsClient.createAndWait
Was createAndWait(params: CreateAgentMonitorBacktestParams & AgentMonitorsBetaOptions, options?: AgentMonitorBacktestWaitOptions): Promise<AgentMonitorCompletedBacktest>; now createAndWait(params: CreateAgentMonitorBacktestParams &... npmjs.com - Signature changed
AgentMonitorBacktestsClient.get
Was get(backtestId: string, options: AgentMonitorsBetaOptions): Promise<AgentMonitorBacktest>; now get(backtestId: string, options: AgentMonitorsBetaOptions, requestOptions?: RequestOptions): Promise<AgentMonitorBacktest>. npmjs.com - Signature changed
AgentMonitorBacktestsClient.pollUntilFinished
Was pollUntilFinished(backtestId: string, options: AgentMonitorBacktestWaitOptions & AgentMonitorsBetaOptions): Promise<AgentMonitorTerminalBacktest>; now pollUntilFinished(backtestId: string, options: AgentMonitorBacktestWaitOptions &... npmjs.com - Signature changed
AgentMonitorChangesClient.getAll
Was getAll(monitorId: string, options: ListAgentMonitorChangesParams & AgentMonitorsBetaOptions): Promise<AgentMonitorChange[]>; now getAll(monitorId: string, options: ListAgentMonitorChangesParams & AgentMonitorsBetaOptions... npmjs.com - Signature changed
AgentMonitorChangesClient.list
Was list(monitorId: string, options: ListAgentMonitorChangesParams & AgentMonitorsBetaOptions): Promise<ListAgentMonitorChangesResponse>; now list(monitorId: string, options: ListAgentMonitorChangesParams & AgentMonitorsBetaOptions... npmjs.com - Signature changed
AgentMonitorChangesClient.listAll
Was listAll(monitorId: string, options: ListAgentMonitorChangesParams & AgentMonitorsBetaOptions): AsyncGenerator<AgentMonitorChange>; now listAll(monitorId: string, options: ListAgentMonitorChangesParams & AgentMonitorsBetaOptions... npmjs.com - Signature changed
AgentMonitorEntitiesClient.add
Was add(monitorId: string, params: AddAgentMonitorEntitiesParams & AgentMonitorsBetaOptions): Promise<AgentMonitor>; now add(monitorId: string, params: AddAgentMonitorEntitiesParams & AgentMonitorsBetaOptions, requestOptions?... npmjs.com - Signature changed
AgentMonitorEntitiesClient.getAll
Was getAll(monitorId: string, options: ListAgentMonitorEntitiesParams & AgentMonitorsBetaOptions): Promise<AgentMonitorEntityView[]>; now getAll(monitorId: string, options: ListAgentMonitorEntitiesParams & AgentMonitorsBetaOptions... npmjs.com
And 107 more in this version. Sign up to see every change
exa-js 2.25.0 breaking changes
- Signature changed
Exa.search
Was search(query: string): Promise<SearchResponse<{text: {maxCharacters: 10_000;};}>> search(query: string, options: (Omit<DeepSearchOptions, "contents"> | Omit<NonDeepSearchOptions, "contents">) & BetaOptions)... npmjs.com - Signature changed
Exa.searchAndContents
Was searchAndContents<T extends ContentsOptions>(query: string, options?: RegularSearchOptions & T): Promise<SearchResponse<T>>; now searchAndContents<T extends ContentsOptions>(query: string, options?: RegularSearchOptions & T... npmjs.com - Signature changed
Exa.streamSearch
Was streamSearch(query: string, options?: RegularSearchOptions & {contents?: ContentsOptions | false | null | undefined;}): AsyncGenerator<SearchStreamChunk>; now streamSearch(query: string, options?: RegularSearchOptions & {contents?... npmjs.com
exa-js 2.24.0 breaking changes
- Signature changed
Status
Was type Status = {id: string; status: string; source: string;}; now type Status = {id: string; status: string; source?: string; error?: ContentStatusError | null;}. npmjs.com - Signature changed
Status.source
Was source: string; now source?: string. npmjs.com
exa-js 2.23.0 breaking changes
- Signature changed
AgentEffort
Was type AgentEffort = "minimal" | "low" | "medium" | "high" | "xhigh" | "auto" | "max"; now type AgentEffort = "minimal" | "low" | "medium" | "high" | "xhigh" | "auto" | "ultra" | "max". npmjs.com - Signature changed
AgentStopReason
Was type AgentStopReason = "schema_satisfied" | "budget_reached" | "stopped" | "error" | "cancelled"; now type AgentStopReason = "schema_satisfied" | "budget_reached" | "time_limit_reached" | "stopped" | "error" | "cancelled". npmjs.com
Older versions
33 older versions, each with its first changes. Sign up to see every change
Show 33 older versions
exa-js 2.22.1 breaking changes
- Removed
AgentMonitorsClient.snapshots
AgentMonitorsClient.snapshots was removed in exa-js 2.22.1 npmjs.com - Removed
AgentMonitorSnapshot
AgentMonitorSnapshot was removed in exa-js 2.22.1 npmjs.com
And 13 more in this version.
exa-js 2.22.0 breaking changes
- Signature changed
ContentsOptions
Was type ContentsOptions = {text?: TextContentsOptions | true; highlights?: HighlightsContentsOptions | true; summary?: SummaryContentsOptions | true; livecrawl?: LivecrawlOptions; context?: ContextOptions | true; livecrawlTimeout?... npmjs.com - Signature changed
SearchResult
Was type SearchResult<T extends ContentsOptions> = {title: string | null; url: string; publishedDate?: string; author?: string; score?: number; id: string; image?: string; favicon?: string; entities?: Entity[];} &... npmjs.com
exa-js 2.21.0 breaking changes
- Signature changed
Exa.getContents
Was getContents<T extends ContentsOptions>(urls: string | string[] | SearchResult<T>[], options?: T): Promise<SearchResponse<T>>; now getContents<T extends ContentsOptions>(urls: string | string[] | SearchResult<T>[], options?: T &... npmjs.com - Signature changed
Exa.search
Was search(query: string, options: Omit<DeepSearchOptions, "contents"> | Omit<NonDeepSearchOptions, "contents">): Promise<SearchResponse<{text: true;}>> search(query: string, options: RegularSearchOptions & {contents: false | null |... npmjs.com
And 2 more in this version.
exa-js 2.19.0 breaking changes
- Signature changed
AgentStopReason
Was type AgentStopReason = "schema_satisfied" | "budget_reached" | "error" | "cancelled"; now type AgentStopReason = "schema_satisfied" | "budget_reached" | "stopped" | "error" | "cancelled". npmjs.com
exa-js 2.18.1 breaking changes
- Removed
AgentMonitorContent.sourceUrls
AgentMonitorContent.sourceUrls was removed in exa-js 2.18.1 npmjs.com - Removed
AgentMonitorFieldType
Use AgentMonitorFieldMode instead. npmjs.com
And 2 more in this version.
exa-js 2.18.0 breaking changes
- Signature changed
AgentRunEventsClient.buildPaginationParams
Was protected buildPaginationParams(pagination?: ListAgentRunsParams | ListAgentRunEventsParams): QueryParams$3; now protected buildPaginationParams(pagination?: ListAgentRunsParams | ListAgentRunEventsParams): QueryParams$4. npmjs.com - Signature changed
AgentRunEventsClient.rawRequest
Was protected rawRequest(endpoint: string, method?: string, data?: RequestBody$2, params?: QueryParams$3, headers?: Record<string, string>): Promise<Response>; now protected rawRequest(endpoint: string, method?: string, data?... npmjs.com
And 5 more in this version.
exa-js 2.17.0 breaking changes
- Signature changed
AgentEffort
Was type AgentEffort = "low" | "medium" | "high" | "xhigh" | "auto"; now type AgentEffort = "minimal" | "low" | "medium" | "high" | "xhigh" | "auto" | "max". npmjs.com
exa-js 2.16.3 breaking changes
- Signature changed
BaseSearchOptions
Was type BaseSearchOptions = {contents?: ContentsOptions; numResults?: number; includeDomains?: string[]; excludeDomains?: string[]; startCrawlDate?: string; endCrawlDate?: string; startPublishedDate?: string; endPublishedDate?: string... npmjs.com - Signature changed
BaseSearchOptions.category
Was category?: "company" | "research paper" | "news" | "pdf" | "personal site" | "financial report" | "people"; now category?: "company" | "publication" | "news" | "personal site" | "financial report" | "people". npmjs.com
And 1 more in this version.
exa-js 2.16.2 breaking changes
- Behavior changed
Category
The accepted Category values were changed, so code that passes the old values may behave differently. Check your category values against the new set. github.com
exa-js 2.16.0 breaking changes
- Renamed
provider
The release renames the provider value to similarweb. Code that passes the old provider value must switch to similarweb. github.com - Signature changed
AgentRunsClient.pollUntilFinished
Was pollUntilFinished(runId: string, options?: {pollInterval?: number; timeoutMs?: number;}): Promise<AgentRun & {status: "completed" | "failed" | "cancelled";}>; now pollUntilFinished(runId: string, options?: AgentWaitOptions)... npmjs.com
exa-js 2.15.1 breaking changes
- Signature changed
AgentRunTyped
Was type AgentRunTyped<T> = Omit<AgentRun, "output"> & {output?: (Omit<AgentOutput, "structured"> & {structured?: T;}) | null;}; now type AgentRunTyped<T> = AgentRun & {output?: (AgentOutput & {structured?: T;}) | null;}. npmjs.com - Signature changed
AgentRunTyped.output
Was output?: (Omit<AgentOutput, "structured"> & {structured?: T;}) | null; now output?: AgentOutput | null. npmjs.com
exa-js 2.14.0 breaking changes
- Removed
AgentCreateOptions.betas
AgentCreateOptions.betas was removed in exa-js 2.14.0 npmjs.com - Removed
answer
The deep search answer option has been removed, so code that passes it must be updated. github.com
And 27 more in this version.
exa-js 2.13.0 breaking changes
- Signature changed
Exa.rawRequest
Was rawRequest(endpoint: string, method?: string, body?: Record<string, unknown>, queryParams?: Record<string, string | number | boolean | string[] | undefined>): Promise<Response>; now rawRequest(endpoint: string, method?: string, body?... npmjs.com
exa-js 2.12.1 breaking changes
- Signature changed
CreateWebsetParameters.search
Was search?: {count: number; criteria?: components["schemas"]["CreateCriterionParameters"][]; entity?: components["schemas"]["Entity"]; exclude?: {id: string; source: WebsetExcludeSource;}[]; query: string; recall?: boolean; scope?: {id... npmjs.com
exa-js 2.11.0 breaking changes
- Signature changed
BaseSearchOptions
Was type BaseSearchOptions = {contents?: ContentsOptions; numResults?: number; includeDomains?: string[]; excludeDomains?: string[]; startCrawlDate?: string; endCrawlDate?: string; startPublishedDate?: string; endPublishedDate?: string... npmjs.com - Signature changed
DeepSearchType
Was type DeepSearchType = "deep" | "deep-reasoning"; now type DeepSearchType = "deep-lite" | "deep" | "deep-reasoning". npmjs.com
exa-js 2.10.2 breaking changes
- Removed
SearchMonitorTrigger.expression
SearchMonitorTrigger.expression was removed in exa-js 2.10.2 npmjs.com - Removed
SearchMonitorTrigger.timezone
SearchMonitorTrigger.timezone was removed in exa-js 2.10.2 npmjs.com
And 1 more in this version.
exa-js 2.10.1 breaking changes
- Signature changed
BaseSearchOptions
Was type BaseSearchOptions = {contents?: ContentsOptions; numResults?: number; includeDomains?: string[]; excludeDomains?: string[]; startCrawlDate?: string; endCrawlDate?: string; startPublishedDate?: string; endPublishedDate?: string... npmjs.com - Signature changed
BaseSearchOptions.category
Was category?: "company" | "research paper" | "news" | "pdf" | "tweet" | "personal site" | "financial report" | "people"; now category?: "company" | "research paper" | "news" | "pdf" | "personal site" | "financial report" | "people". npmjs.com
And 1 more in this version.
exa-js 2.8.0 breaking changes
- Signature changed
DeepSearchType
Was type DeepSearchType = "deep" | "deep-reasoning" | "deep-max"; now type DeepSearchType = "deep" | "deep-reasoning". npmjs.com
exa-js 2.7.0 breaking changes
- Removed
DeepSearchOutput.citations
DeepSearchOutput.citations was removed in exa-js 2.7.0 npmjs.com - Renamed
DeepSearchOutputCitation
Use DeepSearchOutputGroundingCitation instead. npmjs.com
And 1 more in this version.
exa-js 2.6.0 breaking changes
- Removed
DeepSearchCitation
DeepSearchCitation was removed in exa-js 2.6.0 npmjs.com - Removed
DeepSearchEffort
DeepSearchEffort was removed in exa-js 2.6.0 npmjs.com
And 3 more in this version.
exa-js 2.5.0 breaking changes
- Signature changed
SearchResponse
Was type SearchResponse<T extends ContentsOptions> = {results: SearchResult<T>[]; context?: string; autoDate?: string; requestId: string; statuses?: Array<Status>; costDollars?: CostDollars; resolvedSearchType?: string; searchTime?... npmjs.com
exa-js 2.3.0 breaking changes
- Signature changed
Exa.streamAnswer
Was streamAnswer(query: string, options?: {text?: boolean; model?: "exa" | "exa-pro"; systemPrompt?: string; outputSchema?: Record<string, unknown>;}): AsyncGenerator<AnswerStreamChunk> streamAnswer<T>(query: string, options: {text?... npmjs.com - Signature changed
HighlightsContentsOptions
Was type HighlightsContentsOptions = {query?: string; numSentences?: number; highlightsPerUrl?: number;}; now type HighlightsContentsOptions = {query?: string; maxCharacters?: number; numSentences?: number; highlightsPerUrl?: number;}. npmjs.com
And 1 more in this version.
exa-js 2.2.0 breaking changes
- Signature changed
BaseSearchOptions
Was type BaseSearchOptions = {contents?: ContentsOptions; numResults?: number; includeDomains?: string[]; excludeDomains?: string[]; startCrawlDate?: string; endCrawlDate?: string; startPublishedDate?: string; endPublishedDate?: string... npmjs.com - Signature changed
BaseSearchOptions.category
Was category?: "company" | "research paper" | "news" | "pdf" | "github" | "tweet" | "personal site" | "financial report" | "people"; now category?: "company" | "research paper" | "news" | "pdf" | "tweet" | "personal site" | "financial... npmjs.com
And 3 more in this version.
exa-js 2.1.1 breaking changes
- Signature changed
EntityCompanyProperties
Was type EntityCompanyProperties = {name?: string | null; foundedYear?: number | null; description?: string | null; workforce?: EntityCompanyPropertiesWorkforce | null; headquarters?: EntityCompanyPropertiesHeadquarters | null... npmjs.com
exa-js 2.1.0 breaking changes
- Signature changed
CompanyEntity
Was type CompanyEntity = components["schemas"]["CompanyEntity"]; now type CompanyEntity = {id: string; type: "company"; version: number; properties: EntityCompanyProperties;}. npmjs.com - Signature changed
Entity
Was type Entity = components["schemas"]["Entity"]; now type Entity = CompanyEntity | PersonEntity. npmjs.com
And 2 more in this version.
exa-js 2.0.12 breaking changes
- Signature changed
BaseSearchOptions
Was type BaseSearchOptions = {contents?: ContentsOptions; numResults?: number; includeDomains?: string[]; excludeDomains?: string[]; startCrawlDate?: string; endCrawlDate?: string; startPublishedDate?: string; endPublishedDate?: string... npmjs.com - Signature changed
BaseSearchOptions.category
Was category?: "company" | "research paper" | "news" | "pdf" | "github" | "tweet" | "personal site" | "linkedin profile" | "financial report"; now category?: "company" | "research paper" | "news" | "pdf" | "github" | "tweet" | "personal... npmjs.com
And 3 more in this version.
exa-js 2.0.10 breaking changes
- Signature changed
ContentsOptions
Was type ContentsOptions = {text?: TextContentsOptions | true; summary?: SummaryContentsOptions | true; livecrawl?: LivecrawlOptions; context?: ContextOptions | true; livecrawlTimeout?: number; filterEmptyResults?: boolean; subpages?... npmjs.com - Signature changed
ContentsResultComponent
Was type ContentsResultComponent<T extends ContentsOptions> = (T["text"] extends object | true ? TextResponse : {}) & (T["summary"] extends object | true ? SummaryResponse : {}) & (T["subpages"] extends number ? SubpagesResponse<T> : {}) &... npmjs.com
And 1 more in this version.
exa-js 2.0.7 breaking changes
- Removed
RegularSearchOptions.category
RegularSearchOptions.category was removed in exa-js 2.0.7 npmjs.com - Removed
RegularSearchOptions.contents
RegularSearchOptions.contents was removed in exa-js 2.0.7 npmjs.com
And 16 more in this version.
exa-js 2.0.6 breaking changes
- Signature changed
PreviewWebsetParameters.search
Was search: {entity?: components["schemas"]["Entity"]; query: string;}; now search: {count: number; entity?: components["schemas"]["Entity"]; query: string;}. npmjs.com
exa-js 2.0.3 breaking changes
- Signature changed
WebsetsClient.preview
Was preview(params: PreviewWebsetParameters): Promise<PreviewWebsetResponse>; now preview(params: PreviewWebsetParameters, options?: {search?: boolean;}): Promise<PreviewWebsetResponse>. npmjs.com
exa-js 2.0.2 breaking changes
- Removed
GetWebsetResponse.streams
GetWebsetResponse.streams was removed in exa-js 2.0.2 npmjs.com - Removed
PreviewWebsetParameters.entity
PreviewWebsetParameters.entity was removed in exa-js 2.0.2 npmjs.com
And 2 more in this version.
exa-js 2.0.0 breaking changes
- Removed
ContentsOptions.highlights
ContentsOptions.highlights was removed in exa-js 2.0.0 npmjs.com - Removed
CostDollarsContents.highlights
CostDollarsContents.highlights was removed in exa-js 2.0.0 npmjs.com
And 10 more in this version.
exa-js 1.10.3 breaking changes
- Signature changed
HighlightsContentsOptions
Was type HighlightsContentsOptions = {query?: string; numSentences?: number; highlightsPerUrl?: number;}; now type HighlightsContentsOptions = {query?: string; maxCharacters?: number; numSentences?: number; highlightsPerUrl?: number;}. npmjs.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.