exa-js 2.3.0 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -59,6 +59,22 @@ const result = await exa.search("interesting articles about space", {
59
59
  });
60
60
  ```
61
61
 
62
+ ```ts
63
+ const deepResult = await exa.search("Who leads OpenAI's safety team?", {
64
+ type: "deep",
65
+ answer: true,
66
+ outputSchema: {
67
+ type: "object",
68
+ properties: {
69
+ leader: { type: "string" },
70
+ title: { type: "string" },
71
+ sourceCount: { type: "number" }
72
+ },
73
+ required: ["leader", "title"]
74
+ }
75
+ });
76
+ ```
77
+
62
78
  ## Contents
63
79
 
64
80
  Get clean text, highlights, or summaries from any URL.
package/dist/index.d.mts CHANGED
@@ -3043,6 +3043,7 @@ type ContentsOptions = {
3043
3043
  highlights?: HighlightsContentsOptions | true;
3044
3044
  summary?: SummaryContentsOptions | true;
3045
3045
  livecrawl?: LivecrawlOptions;
3046
+ /** @deprecated Use `highlights` or `text` instead. Will be removed in a future version. */
3046
3047
  context?: ContextOptions | true;
3047
3048
  livecrawlTimeout?: number;
3048
3049
  maxAgeHours?: number;
@@ -3094,14 +3095,22 @@ type BaseRegularSearchOptions = BaseSearchOptions & {
3094
3095
  useAutoprompt?: boolean;
3095
3096
  };
3096
3097
  /**
3097
- * Contents options for deep search - context is always returned and cannot be disabled
3098
+ * Effort mode for deep search.
3099
+ * - lite: default budget
3100
+ * - base: expanded search + reasoning budget
3101
+ * - max: highest compute budget
3102
+ */
3103
+ type DeepSearchEffort = "lite" | "base" | "max";
3104
+ /**
3105
+ * Contents options for deep search.
3106
+ * @deprecated The `context` field is deprecated. Use `highlights` or `text` instead.
3098
3107
  */
3099
3108
  type DeepContentsOptions = Omit<ContentsOptions, "context"> & {
3109
+ /** @deprecated Use `highlights` or `text` instead. Will be removed in a future version. */
3100
3110
  context?: Omit<ContextOptions, never> | true;
3101
3111
  };
3102
3112
  /**
3103
3113
  * Search options for deep search type, which supports additional queries.
3104
- * Note: context is always returned by the API for deep search and cannot be set to false.
3105
3114
  */
3106
3115
  type DeepSearchOptions = Omit<BaseRegularSearchOptions, "contents"> & {
3107
3116
  type: "deep";
@@ -3111,16 +3120,32 @@ type DeepSearchOptions = Omit<BaseRegularSearchOptions, "contents"> & {
3111
3120
  * @example ["machine learning", "ML algorithms", "neural networks"]
3112
3121
  */
3113
3122
  additionalQueries?: string[];
3123
+ /**
3124
+ * When true, deep search returns a cited answer in the response.
3125
+ */
3126
+ answer?: boolean;
3127
+ /**
3128
+ * JSON schema for structured answer output.
3129
+ * If provided, the response `answer` field will match this schema.
3130
+ */
3131
+ outputSchema?: Record<string, unknown>;
3132
+ /**
3133
+ * Deep search effort level.
3134
+ * - "lite": default behavior
3135
+ * - "base": more search rounds and deeper reasoning
3136
+ * - "max": highest compute budget
3137
+ */
3138
+ effort?: DeepSearchEffort;
3114
3139
  /**
3115
3140
  * Options for retrieving page contents. For deep search, context is always returned.
3116
3141
  */
3117
3142
  contents?: DeepContentsOptions;
3118
3143
  };
3119
3144
  /**
3120
- * Search options for non-deep search types (keyword, neural, auto, hybrid, fast)
3145
+ * Search options for non-deep search types (keyword, neural, auto, hybrid, fast, instant)
3121
3146
  */
3122
3147
  type NonDeepSearchOptions = BaseRegularSearchOptions & {
3123
- type?: "keyword" | "neural" | "auto" | "hybrid" | "fast";
3148
+ type?: "keyword" | "neural" | "auto" | "hybrid" | "fast" | "instant";
3124
3149
  };
3125
3150
  /**
3126
3151
  * Search options for performing a search query.
@@ -3204,6 +3229,8 @@ type SummaryContentsOptions = {
3204
3229
  */
3205
3230
  type JSONSchema = Record<string, unknown>;
3206
3231
  /**
3232
+ * @deprecated Use `highlights` or `text` instead. The `context` option is deprecated and will be removed in a future version.
3233
+ *
3207
3234
  * Options for retrieving the context from a list of search results. The context is a string
3208
3235
  * representation of all the search results.
3209
3236
  * @typedef {Object} ContextOptions
@@ -3405,7 +3432,9 @@ type SearchResult<T extends ContentsOptions> = {
3405
3432
  * Represents a search response object.
3406
3433
  * @typedef {Object} SearchResponse
3407
3434
  * @property {Result[]} results - The list of search results.
3408
- * @property {string} [context] - The context for the search.
3435
+ * @property {string} [context] - Deprecated. The context for the search.
3436
+ * @property {string | Object} [answer] - Deep search synthesized answer text (or object when using outputSchema).
3437
+ * @property {DeepSearchCitation[]} [citations] - Citation metadata for deep-search answer mode.
3409
3438
  * @property {string} [autoDate] - The autoprompt date, if applicable.
3410
3439
  * @property {string} requestId - The request ID for the search.
3411
3440
  * @property {CostDollars} [costDollars] - The cost breakdown for this request.
@@ -3414,7 +3443,10 @@ type SearchResult<T extends ContentsOptions> = {
3414
3443
  */
3415
3444
  type SearchResponse<T extends ContentsOptions> = {
3416
3445
  results: SearchResult<T>[];
3446
+ /** @deprecated Use `highlights` or `text` on individual results instead. Will be removed in a future version. */
3417
3447
  context?: string;
3448
+ answer?: string | Record<string, unknown>;
3449
+ citations?: DeepSearchCitation[];
3418
3450
  autoDate?: string;
3419
3451
  requestId: string;
3420
3452
  statuses?: Array<Status>;
@@ -3422,6 +3454,11 @@ type SearchResponse<T extends ContentsOptions> = {
3422
3454
  resolvedSearchType?: string;
3423
3455
  searchTime?: number;
3424
3456
  };
3457
+ type DeepSearchCitation = {
3458
+ index: number;
3459
+ url: string;
3460
+ title?: string;
3461
+ };
3425
3462
  type Status = {
3426
3463
  id: string;
3427
3464
  status: string;
@@ -3728,4 +3765,4 @@ declare class Exa {
3728
3765
  private parseSSEStream;
3729
3766
  }
3730
3767
 
3731
- export { type AnswerOptions, type AnswerOptionsTyped, type AnswerResponse, type AnswerResponseTyped, type AnswerStreamChunk, type AnswerStreamResponse, type ArticleEntity, type BaseSearchOptions, type CompanyEntity, type ContentsOptions, type ContentsResultComponent, type ContextOptions, type CostDollars, type CostDollarsContents, type CostDollarsSeearch, type CreateCriterionParameters, type CreateEnrichmentParameters, CreateEnrichmentParametersFormat, type CreateImportParameters, CreateImportParametersFormat, type CreateImportResponse, type CreateImportWithCsvParameters, type CreateMonitorParameters, type CreateWebhookParameters, type CreateWebsetParameters, type CreateWebsetSearchParameters, type CsvDataInput, type CustomEntity, type Default, type EnrichmentResult, type Entity, type EntityCompanyProperties, type EntityCompanyPropertiesFinancials, type EntityCompanyPropertiesFundingRound, type EntityCompanyPropertiesHeadquarters, type EntityCompanyPropertiesWebTraffic, type EntityCompanyPropertiesWorkforce, type EntityDateRange, type EntityPersonProperties, type EntityPersonPropertiesCompanyRef, type EntityPersonPropertiesWorkHistoryEntry, type Event, EventType, EventsClient, Exa, ExaError, type ExtrasOptions, type ExtrasResponse, type FindSimilarOptions, type GetWebsetResponse, type HighlightsContentsOptions, type HighlightsResponse, HttpStatusCode, type Import, ImportFailedReason, ImportFormat, ImportObject, ImportStatus, ImportsClient, type JSONSchema, type ListEventsResponse, type ListImportsResponse, type ListMonitorRunsResponse, type ListMonitorsOptions, type ListMonitorsResponse, type ListResearchRequest, type ListResearchResponse, type ListWebhookAttemptsResponse, type ListWebhooksResponse, type ListWebsetItemResponse, type ListWebsetItemsOptions, type ListWebsetsResponse, type LivecrawlOptions, type Monitor, type MonitorBehavior, type MonitorCadence, MonitorObject, type MonitorRun, MonitorRunObject, MonitorRunStatus, MonitorRunType, MonitorStatus, type PersonEntity, type PreviewWebsetParameters, type PreviewWebsetResponse, type RegularSearchOptions, type Research, type ResearchCreateParamsTyped, type ResearchCreateRequest, type ResearchCreateResponse, type ResearchDefinitionEvent, type ResearchEvent, type ResearchOperation, type ResearchOutputEvent, type ResearchPaperEntity, type ResearchPlanDefinitionEvent, type ResearchPlanOperationEvent, type ResearchPlanOutputEvent, type ResearchStatus, type ResearchStreamEvent, type ResearchStreamEventTyped, type ResearchTaskDefinitionEvent, type ResearchTaskOperationEvent, type ResearchTaskOutputEvent, type ResearchTyped, type SearchResponse, type SearchResult, type SectionTag, type Status, type SubpagesResponse, type SummaryContentsOptions, type SummaryContentsOptionsTyped, type SummaryResponse, type TextContentsOptions, type TextResponse, type UpdateEnrichmentParameters, type UpdateImport, type UpdateMonitor, UpdateMonitorStatus, type UpdateWebhookParameters, type UpdateWebsetRequest, type VerbosityOptions, type WaitUntilCompletedOptions, type Webhook, type WebhookAttempt, WebhookStatus, type Webset, type WebsetEnrichment, WebsetEnrichmentFormat, WebsetEnrichmentStatus, WebsetEnrichmentsClient, WebsetExcludeSource, type WebsetHeadersLike, WebsetImportSource, type WebsetItem, type WebsetItemArticleProperties, type WebsetItemCompanyProperties, type WebsetItemCustomProperties, type WebsetItemEvaluation, WebsetItemEvaluationSatisfied, type WebsetItemPersonProperties, type WebsetItemResearchPaperProperties, WebsetItemSource, WebsetItemsClient, WebsetMonitorsClient, type WebsetSearch, WebsetSearchBehavior, WebsetSearchCanceledReason, WebsetSearchScopeSource, WebsetSearchStatus, WebsetSearchesClient, WebsetStatus, WebsetWebhooksClient, WebsetsClient, Exa as default };
3768
+ export { type AnswerOptions, type AnswerOptionsTyped, type AnswerResponse, type AnswerResponseTyped, type AnswerStreamChunk, type AnswerStreamResponse, type ArticleEntity, type BaseSearchOptions, type CompanyEntity, type ContentsOptions, type ContentsResultComponent, type ContextOptions, type CostDollars, type CostDollarsContents, type CostDollarsSeearch, type CreateCriterionParameters, type CreateEnrichmentParameters, CreateEnrichmentParametersFormat, type CreateImportParameters, CreateImportParametersFormat, type CreateImportResponse, type CreateImportWithCsvParameters, type CreateMonitorParameters, type CreateWebhookParameters, type CreateWebsetParameters, type CreateWebsetSearchParameters, type CsvDataInput, type CustomEntity, type DeepSearchCitation, type DeepSearchEffort, type Default, type EnrichmentResult, type Entity, type EntityCompanyProperties, type EntityCompanyPropertiesFinancials, type EntityCompanyPropertiesFundingRound, type EntityCompanyPropertiesHeadquarters, type EntityCompanyPropertiesWebTraffic, type EntityCompanyPropertiesWorkforce, type EntityDateRange, type EntityPersonProperties, type EntityPersonPropertiesCompanyRef, type EntityPersonPropertiesWorkHistoryEntry, type Event, EventType, EventsClient, Exa, ExaError, type ExtrasOptions, type ExtrasResponse, type FindSimilarOptions, type GetWebsetResponse, type HighlightsContentsOptions, type HighlightsResponse, HttpStatusCode, type Import, ImportFailedReason, ImportFormat, ImportObject, ImportStatus, ImportsClient, type JSONSchema, type ListEventsResponse, type ListImportsResponse, type ListMonitorRunsResponse, type ListMonitorsOptions, type ListMonitorsResponse, type ListResearchRequest, type ListResearchResponse, type ListWebhookAttemptsResponse, type ListWebhooksResponse, type ListWebsetItemResponse, type ListWebsetItemsOptions, type ListWebsetsResponse, type LivecrawlOptions, type Monitor, type MonitorBehavior, type MonitorCadence, MonitorObject, type MonitorRun, MonitorRunObject, MonitorRunStatus, MonitorRunType, MonitorStatus, type PersonEntity, type PreviewWebsetParameters, type PreviewWebsetResponse, type RegularSearchOptions, type Research, type ResearchCreateParamsTyped, type ResearchCreateRequest, type ResearchCreateResponse, type ResearchDefinitionEvent, type ResearchEvent, type ResearchOperation, type ResearchOutputEvent, type ResearchPaperEntity, type ResearchPlanDefinitionEvent, type ResearchPlanOperationEvent, type ResearchPlanOutputEvent, type ResearchStatus, type ResearchStreamEvent, type ResearchStreamEventTyped, type ResearchTaskDefinitionEvent, type ResearchTaskOperationEvent, type ResearchTaskOutputEvent, type ResearchTyped, type SearchResponse, type SearchResult, type SectionTag, type Status, type SubpagesResponse, type SummaryContentsOptions, type SummaryContentsOptionsTyped, type SummaryResponse, type TextContentsOptions, type TextResponse, type UpdateEnrichmentParameters, type UpdateImport, type UpdateMonitor, UpdateMonitorStatus, type UpdateWebhookParameters, type UpdateWebsetRequest, type VerbosityOptions, type WaitUntilCompletedOptions, type Webhook, type WebhookAttempt, WebhookStatus, type Webset, type WebsetEnrichment, WebsetEnrichmentFormat, WebsetEnrichmentStatus, WebsetEnrichmentsClient, WebsetExcludeSource, type WebsetHeadersLike, WebsetImportSource, type WebsetItem, type WebsetItemArticleProperties, type WebsetItemCompanyProperties, type WebsetItemCustomProperties, type WebsetItemEvaluation, WebsetItemEvaluationSatisfied, type WebsetItemPersonProperties, type WebsetItemResearchPaperProperties, WebsetItemSource, WebsetItemsClient, WebsetMonitorsClient, type WebsetSearch, WebsetSearchBehavior, WebsetSearchCanceledReason, WebsetSearchScopeSource, WebsetSearchStatus, WebsetSearchesClient, WebsetStatus, WebsetWebhooksClient, WebsetsClient, Exa as default };
package/dist/index.d.ts CHANGED
@@ -3043,6 +3043,7 @@ type ContentsOptions = {
3043
3043
  highlights?: HighlightsContentsOptions | true;
3044
3044
  summary?: SummaryContentsOptions | true;
3045
3045
  livecrawl?: LivecrawlOptions;
3046
+ /** @deprecated Use `highlights` or `text` instead. Will be removed in a future version. */
3046
3047
  context?: ContextOptions | true;
3047
3048
  livecrawlTimeout?: number;
3048
3049
  maxAgeHours?: number;
@@ -3094,14 +3095,22 @@ type BaseRegularSearchOptions = BaseSearchOptions & {
3094
3095
  useAutoprompt?: boolean;
3095
3096
  };
3096
3097
  /**
3097
- * Contents options for deep search - context is always returned and cannot be disabled
3098
+ * Effort mode for deep search.
3099
+ * - lite: default budget
3100
+ * - base: expanded search + reasoning budget
3101
+ * - max: highest compute budget
3102
+ */
3103
+ type DeepSearchEffort = "lite" | "base" | "max";
3104
+ /**
3105
+ * Contents options for deep search.
3106
+ * @deprecated The `context` field is deprecated. Use `highlights` or `text` instead.
3098
3107
  */
3099
3108
  type DeepContentsOptions = Omit<ContentsOptions, "context"> & {
3109
+ /** @deprecated Use `highlights` or `text` instead. Will be removed in a future version. */
3100
3110
  context?: Omit<ContextOptions, never> | true;
3101
3111
  };
3102
3112
  /**
3103
3113
  * Search options for deep search type, which supports additional queries.
3104
- * Note: context is always returned by the API for deep search and cannot be set to false.
3105
3114
  */
3106
3115
  type DeepSearchOptions = Omit<BaseRegularSearchOptions, "contents"> & {
3107
3116
  type: "deep";
@@ -3111,16 +3120,32 @@ type DeepSearchOptions = Omit<BaseRegularSearchOptions, "contents"> & {
3111
3120
  * @example ["machine learning", "ML algorithms", "neural networks"]
3112
3121
  */
3113
3122
  additionalQueries?: string[];
3123
+ /**
3124
+ * When true, deep search returns a cited answer in the response.
3125
+ */
3126
+ answer?: boolean;
3127
+ /**
3128
+ * JSON schema for structured answer output.
3129
+ * If provided, the response `answer` field will match this schema.
3130
+ */
3131
+ outputSchema?: Record<string, unknown>;
3132
+ /**
3133
+ * Deep search effort level.
3134
+ * - "lite": default behavior
3135
+ * - "base": more search rounds and deeper reasoning
3136
+ * - "max": highest compute budget
3137
+ */
3138
+ effort?: DeepSearchEffort;
3114
3139
  /**
3115
3140
  * Options for retrieving page contents. For deep search, context is always returned.
3116
3141
  */
3117
3142
  contents?: DeepContentsOptions;
3118
3143
  };
3119
3144
  /**
3120
- * Search options for non-deep search types (keyword, neural, auto, hybrid, fast)
3145
+ * Search options for non-deep search types (keyword, neural, auto, hybrid, fast, instant)
3121
3146
  */
3122
3147
  type NonDeepSearchOptions = BaseRegularSearchOptions & {
3123
- type?: "keyword" | "neural" | "auto" | "hybrid" | "fast";
3148
+ type?: "keyword" | "neural" | "auto" | "hybrid" | "fast" | "instant";
3124
3149
  };
3125
3150
  /**
3126
3151
  * Search options for performing a search query.
@@ -3204,6 +3229,8 @@ type SummaryContentsOptions = {
3204
3229
  */
3205
3230
  type JSONSchema = Record<string, unknown>;
3206
3231
  /**
3232
+ * @deprecated Use `highlights` or `text` instead. The `context` option is deprecated and will be removed in a future version.
3233
+ *
3207
3234
  * Options for retrieving the context from a list of search results. The context is a string
3208
3235
  * representation of all the search results.
3209
3236
  * @typedef {Object} ContextOptions
@@ -3405,7 +3432,9 @@ type SearchResult<T extends ContentsOptions> = {
3405
3432
  * Represents a search response object.
3406
3433
  * @typedef {Object} SearchResponse
3407
3434
  * @property {Result[]} results - The list of search results.
3408
- * @property {string} [context] - The context for the search.
3435
+ * @property {string} [context] - Deprecated. The context for the search.
3436
+ * @property {string | Object} [answer] - Deep search synthesized answer text (or object when using outputSchema).
3437
+ * @property {DeepSearchCitation[]} [citations] - Citation metadata for deep-search answer mode.
3409
3438
  * @property {string} [autoDate] - The autoprompt date, if applicable.
3410
3439
  * @property {string} requestId - The request ID for the search.
3411
3440
  * @property {CostDollars} [costDollars] - The cost breakdown for this request.
@@ -3414,7 +3443,10 @@ type SearchResult<T extends ContentsOptions> = {
3414
3443
  */
3415
3444
  type SearchResponse<T extends ContentsOptions> = {
3416
3445
  results: SearchResult<T>[];
3446
+ /** @deprecated Use `highlights` or `text` on individual results instead. Will be removed in a future version. */
3417
3447
  context?: string;
3448
+ answer?: string | Record<string, unknown>;
3449
+ citations?: DeepSearchCitation[];
3418
3450
  autoDate?: string;
3419
3451
  requestId: string;
3420
3452
  statuses?: Array<Status>;
@@ -3422,6 +3454,11 @@ type SearchResponse<T extends ContentsOptions> = {
3422
3454
  resolvedSearchType?: string;
3423
3455
  searchTime?: number;
3424
3456
  };
3457
+ type DeepSearchCitation = {
3458
+ index: number;
3459
+ url: string;
3460
+ title?: string;
3461
+ };
3425
3462
  type Status = {
3426
3463
  id: string;
3427
3464
  status: string;
@@ -3728,4 +3765,4 @@ declare class Exa {
3728
3765
  private parseSSEStream;
3729
3766
  }
3730
3767
 
3731
- export { type AnswerOptions, type AnswerOptionsTyped, type AnswerResponse, type AnswerResponseTyped, type AnswerStreamChunk, type AnswerStreamResponse, type ArticleEntity, type BaseSearchOptions, type CompanyEntity, type ContentsOptions, type ContentsResultComponent, type ContextOptions, type CostDollars, type CostDollarsContents, type CostDollarsSeearch, type CreateCriterionParameters, type CreateEnrichmentParameters, CreateEnrichmentParametersFormat, type CreateImportParameters, CreateImportParametersFormat, type CreateImportResponse, type CreateImportWithCsvParameters, type CreateMonitorParameters, type CreateWebhookParameters, type CreateWebsetParameters, type CreateWebsetSearchParameters, type CsvDataInput, type CustomEntity, type Default, type EnrichmentResult, type Entity, type EntityCompanyProperties, type EntityCompanyPropertiesFinancials, type EntityCompanyPropertiesFundingRound, type EntityCompanyPropertiesHeadquarters, type EntityCompanyPropertiesWebTraffic, type EntityCompanyPropertiesWorkforce, type EntityDateRange, type EntityPersonProperties, type EntityPersonPropertiesCompanyRef, type EntityPersonPropertiesWorkHistoryEntry, type Event, EventType, EventsClient, Exa, ExaError, type ExtrasOptions, type ExtrasResponse, type FindSimilarOptions, type GetWebsetResponse, type HighlightsContentsOptions, type HighlightsResponse, HttpStatusCode, type Import, ImportFailedReason, ImportFormat, ImportObject, ImportStatus, ImportsClient, type JSONSchema, type ListEventsResponse, type ListImportsResponse, type ListMonitorRunsResponse, type ListMonitorsOptions, type ListMonitorsResponse, type ListResearchRequest, type ListResearchResponse, type ListWebhookAttemptsResponse, type ListWebhooksResponse, type ListWebsetItemResponse, type ListWebsetItemsOptions, type ListWebsetsResponse, type LivecrawlOptions, type Monitor, type MonitorBehavior, type MonitorCadence, MonitorObject, type MonitorRun, MonitorRunObject, MonitorRunStatus, MonitorRunType, MonitorStatus, type PersonEntity, type PreviewWebsetParameters, type PreviewWebsetResponse, type RegularSearchOptions, type Research, type ResearchCreateParamsTyped, type ResearchCreateRequest, type ResearchCreateResponse, type ResearchDefinitionEvent, type ResearchEvent, type ResearchOperation, type ResearchOutputEvent, type ResearchPaperEntity, type ResearchPlanDefinitionEvent, type ResearchPlanOperationEvent, type ResearchPlanOutputEvent, type ResearchStatus, type ResearchStreamEvent, type ResearchStreamEventTyped, type ResearchTaskDefinitionEvent, type ResearchTaskOperationEvent, type ResearchTaskOutputEvent, type ResearchTyped, type SearchResponse, type SearchResult, type SectionTag, type Status, type SubpagesResponse, type SummaryContentsOptions, type SummaryContentsOptionsTyped, type SummaryResponse, type TextContentsOptions, type TextResponse, type UpdateEnrichmentParameters, type UpdateImport, type UpdateMonitor, UpdateMonitorStatus, type UpdateWebhookParameters, type UpdateWebsetRequest, type VerbosityOptions, type WaitUntilCompletedOptions, type Webhook, type WebhookAttempt, WebhookStatus, type Webset, type WebsetEnrichment, WebsetEnrichmentFormat, WebsetEnrichmentStatus, WebsetEnrichmentsClient, WebsetExcludeSource, type WebsetHeadersLike, WebsetImportSource, type WebsetItem, type WebsetItemArticleProperties, type WebsetItemCompanyProperties, type WebsetItemCustomProperties, type WebsetItemEvaluation, WebsetItemEvaluationSatisfied, type WebsetItemPersonProperties, type WebsetItemResearchPaperProperties, WebsetItemSource, WebsetItemsClient, WebsetMonitorsClient, type WebsetSearch, WebsetSearchBehavior, WebsetSearchCanceledReason, WebsetSearchScopeSource, WebsetSearchStatus, WebsetSearchesClient, WebsetStatus, WebsetWebhooksClient, WebsetsClient, Exa as default };
3768
+ export { type AnswerOptions, type AnswerOptionsTyped, type AnswerResponse, type AnswerResponseTyped, type AnswerStreamChunk, type AnswerStreamResponse, type ArticleEntity, type BaseSearchOptions, type CompanyEntity, type ContentsOptions, type ContentsResultComponent, type ContextOptions, type CostDollars, type CostDollarsContents, type CostDollarsSeearch, type CreateCriterionParameters, type CreateEnrichmentParameters, CreateEnrichmentParametersFormat, type CreateImportParameters, CreateImportParametersFormat, type CreateImportResponse, type CreateImportWithCsvParameters, type CreateMonitorParameters, type CreateWebhookParameters, type CreateWebsetParameters, type CreateWebsetSearchParameters, type CsvDataInput, type CustomEntity, type DeepSearchCitation, type DeepSearchEffort, type Default, type EnrichmentResult, type Entity, type EntityCompanyProperties, type EntityCompanyPropertiesFinancials, type EntityCompanyPropertiesFundingRound, type EntityCompanyPropertiesHeadquarters, type EntityCompanyPropertiesWebTraffic, type EntityCompanyPropertiesWorkforce, type EntityDateRange, type EntityPersonProperties, type EntityPersonPropertiesCompanyRef, type EntityPersonPropertiesWorkHistoryEntry, type Event, EventType, EventsClient, Exa, ExaError, type ExtrasOptions, type ExtrasResponse, type FindSimilarOptions, type GetWebsetResponse, type HighlightsContentsOptions, type HighlightsResponse, HttpStatusCode, type Import, ImportFailedReason, ImportFormat, ImportObject, ImportStatus, ImportsClient, type JSONSchema, type ListEventsResponse, type ListImportsResponse, type ListMonitorRunsResponse, type ListMonitorsOptions, type ListMonitorsResponse, type ListResearchRequest, type ListResearchResponse, type ListWebhookAttemptsResponse, type ListWebhooksResponse, type ListWebsetItemResponse, type ListWebsetItemsOptions, type ListWebsetsResponse, type LivecrawlOptions, type Monitor, type MonitorBehavior, type MonitorCadence, MonitorObject, type MonitorRun, MonitorRunObject, MonitorRunStatus, MonitorRunType, MonitorStatus, type PersonEntity, type PreviewWebsetParameters, type PreviewWebsetResponse, type RegularSearchOptions, type Research, type ResearchCreateParamsTyped, type ResearchCreateRequest, type ResearchCreateResponse, type ResearchDefinitionEvent, type ResearchEvent, type ResearchOperation, type ResearchOutputEvent, type ResearchPaperEntity, type ResearchPlanDefinitionEvent, type ResearchPlanOperationEvent, type ResearchPlanOutputEvent, type ResearchStatus, type ResearchStreamEvent, type ResearchStreamEventTyped, type ResearchTaskDefinitionEvent, type ResearchTaskOperationEvent, type ResearchTaskOutputEvent, type ResearchTyped, type SearchResponse, type SearchResult, type SectionTag, type Status, type SubpagesResponse, type SummaryContentsOptions, type SummaryContentsOptionsTyped, type SummaryResponse, type TextContentsOptions, type TextResponse, type UpdateEnrichmentParameters, type UpdateImport, type UpdateMonitor, UpdateMonitorStatus, type UpdateWebhookParameters, type UpdateWebsetRequest, type VerbosityOptions, type WaitUntilCompletedOptions, type Webhook, type WebhookAttempt, WebhookStatus, type Webset, type WebsetEnrichment, WebsetEnrichmentFormat, WebsetEnrichmentStatus, WebsetEnrichmentsClient, WebsetExcludeSource, type WebsetHeadersLike, WebsetImportSource, type WebsetItem, type WebsetItemArticleProperties, type WebsetItemCompanyProperties, type WebsetItemCustomProperties, type WebsetItemEvaluation, WebsetItemEvaluationSatisfied, type WebsetItemPersonProperties, type WebsetItemResearchPaperProperties, WebsetItemSource, WebsetItemsClient, WebsetMonitorsClient, type WebsetSearch, WebsetSearchBehavior, WebsetSearchCanceledReason, WebsetSearchScopeSource, WebsetSearchStatus, WebsetSearchesClient, WebsetStatus, WebsetWebhooksClient, WebsetsClient, Exa as default };
package/dist/index.js CHANGED
@@ -74,7 +74,7 @@ var import_cross_fetch = __toESM(require("cross-fetch"));
74
74
  // package.json
75
75
  var package_default = {
76
76
  name: "exa-js",
77
- version: "2.3.0",
77
+ version: "2.5.0",
78
78
  description: "Exa SDK for Node.js and the browser",
79
79
  publishConfig: {
80
80
  access: "public"