exa-js 1.7.2 → 1.7.4

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
@@ -190,7 +190,7 @@ Each chunk contains:
190
190
  - `content`: A string containing the next piece of generated text
191
191
  - `citations`: An array of citation objects containing source information
192
192
 
193
- ### `exa.research.createTask(input: object, options?: { schema?: object }): Promise<ResearchTaskResponse>`
193
+ ### `exa.research.createTask(input: object, options?: { schema?: object }): Promise<{id: string}>`
194
194
 
195
195
  Exa's research agent can autonomously gather information and return a structured JSON object that conforms to a schema you provide.
196
196
 
@@ -207,12 +207,13 @@ const schema = {
207
207
  },
208
208
  };
209
209
 
210
- const response = await exa.research.createTask(
210
+ const { id: taskId } = await exa.research.createTask(
211
211
  {
212
212
  instructions: "In ≤3 sentences, explain quantum computing.",
213
213
  },
214
214
  { schema }
215
215
  );
216
+ const result = await exa.research.pollTask(taskId);
216
217
  ```
217
218
 
218
219
  Use the `status` field to poll long-running tasks if needed (a future `getTask` helper will be added when the async API is released).
package/dist/index.d.mts CHANGED
@@ -79,6 +79,25 @@ interface components {
79
79
  label: string;
80
80
  }[];
81
81
  };
82
+ CreateStreamParameters: {
83
+ /** @description Behavior to perform when stream runs */
84
+ behavior: components["schemas"]["StreamBehaviorSearch"] | components["schemas"]["StreamBehaviorRefresh"];
85
+ /** @description How often the stream will run */
86
+ cadence: {
87
+ /** @description Cron expression for stream cadence (must be a valid Unix cron with 5 fields). The schedule must trigger at most once per day. */
88
+ cron: string;
89
+ /**
90
+ * @description IANA timezone (e.g., "America/New_York")
91
+ * @default Etc/UTC
92
+ */
93
+ timezone: string;
94
+ };
95
+ metadata?: {
96
+ [key: string]: string;
97
+ };
98
+ /** @description The id of the Webset */
99
+ websetId: string;
100
+ };
82
101
  CreateWebhookParameters: {
83
102
  /** @description The events to trigger the webhook */
84
103
  events: components["schemas"]["EventType"][];
@@ -130,14 +149,13 @@ interface components {
130
149
  };
131
150
  CreateWebsetSearchParameters: {
132
151
  /**
133
- * WebsetSearchBehaviour
134
- * @description The behaviour of the Search when it is added to a Webset.
152
+ * @description The behavior of the Search when it is added to a Webset.
135
153
  *
136
- * - `override`: the search will reuse the existing Items found in the Webset and evaluate them against the new criteria. Any Items that don't match the new criteria will be discarded.
154
+ * - `override`: the search will replace the existing Items found in the Webset and evaluate them against the new criteria. Any Items that don't match the new criteria will be discarded.
155
+ * - `append`: the search will add the new Items found to the existing Webset. Any Items that don't match the new criteria will be discarded.
137
156
  * @default override
138
- * @enum {string}
139
157
  */
140
- behaviour: CreateWebsetSearchParametersBehaviour;
158
+ behavior: WebsetSearchBehavior;
141
159
  /** @description Number of Items the Search will attempt to find.
142
160
  *
143
161
  * The actual number of Items found may be less than this number depending on the query complexity. */
@@ -162,7 +180,7 @@ interface components {
162
180
  EnrichmentResult: {
163
181
  /** @description The id of the Enrichment that generated the result */
164
182
  enrichmentId: string;
165
- format: components["schemas"]["WebsetEnrichmentFormat"];
183
+ format: WebsetEnrichmentFormat;
166
184
  /**
167
185
  * @default enrichment_result
168
186
  * @constant
@@ -388,6 +406,22 @@ interface components {
388
406
  /** @description The cursor to paginate through the next set of results */
389
407
  nextCursor: string | null;
390
408
  };
409
+ ListStreamRunsResponse: {
410
+ /** @description The list of stream runs */
411
+ data: components["schemas"]["StreamRun"][];
412
+ /** @description Whether there are more results to paginate through */
413
+ hasMore: boolean;
414
+ /** @description The cursor to paginate through the next set of results */
415
+ nextCursor: string | null;
416
+ };
417
+ ListStreamsResponse: {
418
+ /** @description The list of streams */
419
+ data: components["schemas"]["Stream"][];
420
+ /** @description Whether there are more results to paginate through */
421
+ hasMore: boolean;
422
+ /** @description The cursor to paginate through the next set of results */
423
+ nextCursor: string | null;
424
+ };
391
425
  ListWebhookAttemptsResponse: {
392
426
  /** @description The list of webhook attempts */
393
427
  data: components["schemas"]["WebhookAttempt"][];
@@ -420,6 +454,172 @@ interface components {
420
454
  /** @description The cursor to paginate through the next set of results */
421
455
  nextCursor: string | null;
422
456
  };
457
+ Stream: {
458
+ /** @description Behavior to perform when stream runs */
459
+ behavior: components["schemas"]["StreamBehaviorSearch"] | components["schemas"]["StreamBehaviorRefresh"];
460
+ /** @description How often the stream will run */
461
+ cadence: {
462
+ /** @description Cron expression for stream cadence (must be a valid Unix cron with 5 fields). The schedule must trigger at most once per day. */
463
+ cron: string;
464
+ /**
465
+ * @description IANA timezone (e.g., "America/New_York")
466
+ * @default Etc/UTC
467
+ */
468
+ timezone: string;
469
+ };
470
+ /**
471
+ * Format: date-time
472
+ * @description When the stream was created
473
+ */
474
+ createdAt: string;
475
+ /** @description The unique identifier for the Stream */
476
+ id: string;
477
+ /**
478
+ * StreamRun
479
+ * @description The last run of the stream
480
+ */
481
+ lastRun: components["schemas"]["StreamRun"];
482
+ /** @description Set of key-value pairs you want to associate with this object. */
483
+ metadata: {
484
+ [key: string]: string;
485
+ };
486
+ /**
487
+ * Format: date-time
488
+ * @description When the next run will occur
489
+ */
490
+ nextRunAt: string | null;
491
+ /**
492
+ * @description The type of object
493
+ * @enum {string}
494
+ */
495
+ object: StreamObject;
496
+ /**
497
+ * @description The status of the Stream
498
+ * @enum {string}
499
+ */
500
+ status: StreamStatus;
501
+ /**
502
+ * Format: date-time
503
+ * @description When the stream was last updated
504
+ */
505
+ updatedAt: string;
506
+ /** @description The id of the Webset the Stream belongs to */
507
+ websetId: string;
508
+ };
509
+ StreamBehaviorRefresh: {
510
+ /** @description Specify the target of the refresh */
511
+ config: components["schemas"]["StreamRefreshBehaviorEnrichmentsConfig"] | components["schemas"]["StreamRefreshBehaviorContentsConfig"];
512
+ /**
513
+ * @default refresh
514
+ * @constant
515
+ */
516
+ type: "refresh";
517
+ };
518
+ StreamBehaviorSearch: {
519
+ config: {
520
+ /**
521
+ * @description The behaviour of the Search when it is added to a Webset.
522
+ * @default append
523
+ */
524
+ behavior?: WebsetSearchBehavior;
525
+ /** @description The maximum number of results to find */
526
+ count: number;
527
+ criteria: {
528
+ description: string;
529
+ }[];
530
+ /** WebsetEntity */
531
+ entity: components["schemas"]["WebsetEntity"];
532
+ query: string;
533
+ };
534
+ /**
535
+ * @default search
536
+ * @constant
537
+ */
538
+ type: "search";
539
+ };
540
+ StreamCadence: {
541
+ /** @description Cron expression for stream cadence (must be a valid Unix cron with 5 fields). The schedule must trigger at most once per day. */
542
+ cron: string;
543
+ /**
544
+ * @description IANA timezone (e.g., "America/New_York")
545
+ * @default Etc/UTC
546
+ */
547
+ timezone: string;
548
+ };
549
+ StreamRefreshBehaviorContentsConfig: {
550
+ /**
551
+ * @default contents
552
+ * @constant
553
+ */
554
+ target: "contents";
555
+ };
556
+ StreamRefreshBehaviorEnrichmentsConfig: {
557
+ /** @description Only refresh specific enrichments */
558
+ enrichments?: {
559
+ ids?: string[];
560
+ };
561
+ /**
562
+ * @default enrichments
563
+ * @constant
564
+ */
565
+ target: "enrichments";
566
+ };
567
+ StreamRun: {
568
+ /**
569
+ * Format: date-time
570
+ * @description When the run was canceled
571
+ */
572
+ canceledAt: string | null;
573
+ /**
574
+ * Format: date-time
575
+ * @description When the run completed
576
+ */
577
+ completedAt: string | null;
578
+ /**
579
+ * Format: date-time
580
+ * @description When the run was created
581
+ */
582
+ createdAt: string;
583
+ /**
584
+ * Format: date-time
585
+ * @description When the run failed
586
+ */
587
+ failedAt: string | null;
588
+ /** @description The unique identifier for the Stream Run */
589
+ id: string;
590
+ /**
591
+ * @description The type of object
592
+ * @enum {string}
593
+ */
594
+ object: StreamRunObject;
595
+ /**
596
+ * @description The status of the Stream Run
597
+ * @enum {string}
598
+ */
599
+ status: StreamRunStatus;
600
+ /** @description The stream that the run is associated with */
601
+ streamId: string;
602
+ /**
603
+ * @description The type of the Stream Run
604
+ * @enum {string}
605
+ */
606
+ type: StreamRunType;
607
+ /**
608
+ * Format: date-time
609
+ * @description When the run was last updated
610
+ */
611
+ updatedAt: string;
612
+ };
613
+ UpdateStream: {
614
+ metadata?: {
615
+ [key: string]: string;
616
+ };
617
+ /**
618
+ * @description The status of the stream.
619
+ * @enum {string}
620
+ */
621
+ status?: UpdateStreamStatus;
622
+ };
423
623
  UpdateWebhookParameters: {
424
624
  /** @description The events to trigger the webhook */
425
625
  events?: components["schemas"]["EventType"][];
@@ -549,6 +749,8 @@ interface components {
549
749
  * @enum {string}
550
750
  */
551
751
  status: WebsetStatus;
752
+ /** @description The Streams for the Webset. */
753
+ streams: components["schemas"]["Stream"][];
552
754
  /**
553
755
  * Format: date-time
554
756
  * @description The date and time the webset was updated
@@ -589,7 +791,7 @@ interface components {
589
791
  /** @description The description of the enrichment task provided during the creation of the enrichment. */
590
792
  description: string;
591
793
  /** @description The format of the enrichment response. */
592
- format: components["schemas"]["WebsetEnrichmentFormat"];
794
+ format: WebsetEnrichmentFormat;
593
795
  /** @description The unique identifier for the enrichment */
594
796
  id: string;
595
797
  /** @description The instructions for the enrichment Agent.
@@ -635,7 +837,6 @@ interface components {
635
837
  websetId: string;
636
838
  };
637
839
  /** @enum {string} */
638
- WebsetEnrichmentFormat: WebsetEnrichmentFormat;
639
840
  WebsetEntity: components["schemas"]["WebsetCompanyEntity"] | components["schemas"]["WebsetPersonEntity"] | components["schemas"]["WebsetArticleEntity"] | components["schemas"]["WebsetResearchPaperEntity"] | components["schemas"]["WebsetCustomEntity"];
640
841
  WebsetItem: {
641
842
  /**
@@ -840,16 +1041,21 @@ interface components {
840
1041
  type: "research_paper";
841
1042
  };
842
1043
  WebsetSearch: {
1044
+ /**
1045
+ * @description The behavior of the search when it is added to a Webset.
1046
+ *
1047
+ * - `override`: the search will replace the existing Items found in the Webset and evaluate them against the new criteria. Any Items that don't match the new criteria will be discarded.
1048
+ * - `append`: the search will add the new Items found to the existing Webset. Any Items that don't match the new criteria will be discarded.
1049
+ * @default override
1050
+ */
1051
+ behavior: WebsetSearchBehavior;
843
1052
  /**
844
1053
  * Format: date-time
845
1054
  * @description The date and time the search was canceled
846
1055
  */
847
1056
  canceledAt: string | null;
848
- /**
849
- * @description The reason the search was canceled
850
- * @enum {string|null}
851
- */
852
- canceledReason: WebsetSearchCanceledReason;
1057
+ /** @description The reason the search was canceled */
1058
+ canceledReason: WebsetSearchCanceledReason | null;
853
1059
  /** @description The number of results the search will attempt to find. The actual number of results may be less than this number depending on the search complexity. */
854
1060
  count: number;
855
1061
  /**
@@ -911,6 +1117,7 @@ interface components {
911
1117
  pathItems: never;
912
1118
  }
913
1119
  type CreateEnrichmentParameters = components["schemas"]["CreateEnrichmentParameters"];
1120
+ type CreateStreamParameters = components["schemas"]["CreateStreamParameters"];
914
1121
  type CreateWebhookParameters = components["schemas"]["CreateWebhookParameters"];
915
1122
  type CreateWebsetParameters = components["schemas"]["CreateWebsetParameters"];
916
1123
  type CreateWebsetSearchParameters = components["schemas"]["CreateWebsetSearchParameters"];
@@ -918,10 +1125,15 @@ type EnrichmentResult = components["schemas"]["EnrichmentResult"];
918
1125
  type Event = components["schemas"]["Event"];
919
1126
  type GetWebsetResponse = components["schemas"]["GetWebsetResponse"];
920
1127
  type ListEventsResponse = components["schemas"]["ListEventsResponse"];
1128
+ type ListStreamRunsResponse = components["schemas"]["ListStreamRunsResponse"];
1129
+ type ListStreamsResponse = components["schemas"]["ListStreamsResponse"];
921
1130
  type ListWebhookAttemptsResponse = components["schemas"]["ListWebhookAttemptsResponse"];
922
1131
  type ListWebhooksResponse = components["schemas"]["ListWebhooksResponse"];
923
1132
  type ListWebsetItemResponse = components["schemas"]["ListWebsetItemResponse"];
924
1133
  type ListWebsetsResponse = components["schemas"]["ListWebsetsResponse"];
1134
+ type Stream = components["schemas"]["Stream"];
1135
+ type StreamRun = components["schemas"]["StreamRun"];
1136
+ type UpdateStream = components["schemas"]["UpdateStream"];
925
1137
  type UpdateWebhookParameters = components["schemas"]["UpdateWebhookParameters"];
926
1138
  type UpdateWebsetRequest = components["schemas"]["UpdateWebsetRequest"];
927
1139
  type Webhook = components["schemas"]["Webhook"];
@@ -938,9 +1150,6 @@ declare enum CreateEnrichmentParametersFormat {
938
1150
  email = "email",
939
1151
  phone = "phone"
940
1152
  }
941
- declare enum CreateWebsetSearchParametersBehaviour {
942
- override = "override"
943
- }
944
1153
  declare enum EventType {
945
1154
  webset_created = "webset.created",
946
1155
  webset_deleted = "webset.deleted",
@@ -955,6 +1164,30 @@ declare enum EventType {
955
1164
  webset_item_created = "webset.item.created",
956
1165
  webset_item_enriched = "webset.item.enriched"
957
1166
  }
1167
+ declare enum StreamObject {
1168
+ stream = "stream"
1169
+ }
1170
+ declare enum StreamStatus {
1171
+ open = "open",
1172
+ closed = "closed"
1173
+ }
1174
+ declare enum StreamRunObject {
1175
+ stream_run = "stream_run"
1176
+ }
1177
+ declare enum StreamRunStatus {
1178
+ created = "created",
1179
+ running = "running",
1180
+ completed = "completed",
1181
+ canceled = "canceled"
1182
+ }
1183
+ declare enum StreamRunType {
1184
+ search = "search",
1185
+ refresh = "refresh"
1186
+ }
1187
+ declare enum UpdateStreamStatus {
1188
+ open = "open",
1189
+ closed = "closed"
1190
+ }
958
1191
  declare enum WebhookStatus {
959
1192
  active = "active",
960
1193
  inactive = "inactive"
@@ -978,23 +1211,28 @@ declare enum WebsetEnrichmentFormat {
978
1211
  phone = "phone"
979
1212
  }
980
1213
  declare enum WebsetItemSource {
981
- search = "search"
1214
+ search = "search",
1215
+ import = "import"
982
1216
  }
983
1217
  declare enum WebsetItemEvaluationSatisfied {
984
1218
  yes = "yes",
985
1219
  no = "no",
986
1220
  unclear = "unclear"
987
1221
  }
988
- declare enum WebsetSearchCanceledReason {
989
- webset_deleted = "webset_deleted",
990
- webset_canceled = "webset_canceled"
991
- }
992
1222
  declare enum WebsetSearchStatus {
993
1223
  created = "created",
994
1224
  running = "running",
995
1225
  completed = "completed",
996
1226
  canceled = "canceled"
997
1227
  }
1228
+ declare enum WebsetSearchBehavior {
1229
+ override = "override",
1230
+ append = "append"
1231
+ }
1232
+ declare enum WebsetSearchCanceledReason {
1233
+ webset_deleted = "webset_deleted",
1234
+ webset_canceled = "webset_canceled"
1235
+ }
998
1236
 
999
1237
  /**
1000
1238
  * Client for managing Webset Enrichments
@@ -1150,6 +1388,80 @@ declare class WebsetSearchesClient extends WebsetsBaseClient {
1150
1388
  cancel(websetId: string, id: string): Promise<WebsetSearch>;
1151
1389
  }
1152
1390
 
1391
+ /**
1392
+ * Client for managing Webset Streams
1393
+ */
1394
+
1395
+ /**
1396
+ * Options for listing streams
1397
+ */
1398
+ interface ListStreamsOptions extends PaginationParams {
1399
+ /**
1400
+ * The id of the Webset to list streams for
1401
+ */
1402
+ websetId?: string;
1403
+ }
1404
+ /**
1405
+ * Client for managing Stream Runs
1406
+ */
1407
+ declare class WebsetStreamRunsClient extends WebsetsBaseClient {
1408
+ /**
1409
+ * List all runs for a Stream
1410
+ * @param streamId The ID of the Stream
1411
+ * @param options Pagination options
1412
+ * @returns The list of Stream runs
1413
+ */
1414
+ list(streamId: string, options?: PaginationParams): Promise<ListStreamRunsResponse>;
1415
+ /**
1416
+ * Get a specific Stream run
1417
+ * @param streamId The ID of the Stream
1418
+ * @param runId The ID of the Stream run
1419
+ * @returns The Stream run
1420
+ */
1421
+ get(streamId: string, runId: string): Promise<StreamRun>;
1422
+ }
1423
+ /**
1424
+ * Client for managing Webset Streams
1425
+ */
1426
+ declare class WebsetStreamsClient extends WebsetsBaseClient {
1427
+ /**
1428
+ * Client for managing Stream Runs
1429
+ */
1430
+ runs: WebsetStreamRunsClient;
1431
+ constructor(client: Exa);
1432
+ /**
1433
+ * Create a Stream
1434
+ * @param params The stream parameters
1435
+ * @returns The created Stream
1436
+ */
1437
+ create(params: CreateStreamParameters): Promise<Stream>;
1438
+ /**
1439
+ * Get a Stream by ID
1440
+ * @param id The ID of the Stream
1441
+ * @returns The Stream
1442
+ */
1443
+ get(id: string): Promise<Stream>;
1444
+ /**
1445
+ * List all Streams
1446
+ * @param options Pagination and filtering options
1447
+ * @returns The list of Streams
1448
+ */
1449
+ list(options?: ListStreamsOptions): Promise<ListStreamsResponse>;
1450
+ /**
1451
+ * Update a Stream
1452
+ * @param id The ID of the Stream
1453
+ * @param params The stream update parameters (status, metadata)
1454
+ * @returns The updated Stream
1455
+ */
1456
+ update(id: string, params: UpdateStream): Promise<Stream>;
1457
+ /**
1458
+ * Delete a Stream
1459
+ * @param id The ID of the Stream
1460
+ * @returns The deleted Stream
1461
+ */
1462
+ delete(id: string): Promise<Stream>;
1463
+ }
1464
+
1153
1465
  /**
1154
1466
  * Client for managing Webset Webhooks
1155
1467
  */
@@ -1267,6 +1579,10 @@ declare class WebsetsClient extends WebsetsBaseClient {
1267
1579
  * Client for managing Webset Enrichments
1268
1580
  */
1269
1581
  enrichments: WebsetEnrichmentsClient;
1582
+ /**
1583
+ * Client for managing Webset Streams
1584
+ */
1585
+ streams: WebsetStreamsClient;
1270
1586
  /**
1271
1587
  * Client for managing Webset Webhooks
1272
1588
  */
@@ -1340,33 +1656,6 @@ declare class WebsetsClient extends WebsetsBaseClient {
1340
1656
  } | number): Promise<Webset>;
1341
1657
  }
1342
1658
 
1343
- /**
1344
- * Enum representing the status of a research task.
1345
- */
1346
- declare enum ResearchStatus {
1347
- /** The research request has finished successfully. */
1348
- completed = "completed",
1349
- /** The research request failed. */
1350
- failed = "failed"
1351
- }
1352
- /**
1353
- * Response object returned from the research API.
1354
- */
1355
- type ResearchTaskResponse = {
1356
- /** Unique identifier for the task. */
1357
- id: string;
1358
- /** Current status (may include future enum values served by the API). */
1359
- status: ResearchStatus | string;
1360
- /** Structured output that follows the user-provided schema (null while running). */
1361
- output: Record<string, any> | null;
1362
- /**
1363
- * Citations collected while deriving each top-level field in `output`.
1364
- * The key is the field name, the value is the list of `SearchResult`s that
1365
- * were used to compute that field.
1366
- */
1367
- citations: Record<string, SearchResult<{}>[]>;
1368
- };
1369
-
1370
1659
  type QueryParams = Record<string, string | number | boolean | string[] | undefined>;
1371
1660
  interface RequestBody {
1372
1661
  [key: string]: unknown;
@@ -1398,7 +1687,7 @@ declare class ResearchBaseClient {
1398
1687
  declare class ResearchClient extends ResearchBaseClient {
1399
1688
  constructor(client: Exa);
1400
1689
  /**
1401
- * Create and run a research task (blocking call).
1690
+ * Create a research task.
1402
1691
  *
1403
1692
  * Both parameters are required and have fixed shapes:
1404
1693
  * 1. `input`
@@ -1417,16 +1706,53 @@ declare class ResearchClient extends ResearchBaseClient {
1417
1706
  instructions: string;
1418
1707
  }, output: {
1419
1708
  schema: JSONSchema;
1420
- }): Promise<ResearchTaskResponse>;
1709
+ }): Promise<{
1710
+ id: string;
1711
+ }>;
1421
1712
  /**
1422
1713
  * Retrieve a research task by ID.
1423
- *
1424
- * Not yet implemented server-side. Calling this will throw until the API is
1425
- * available.
1426
1714
  */
1427
- getTask(): Promise<ResearchTaskResponse>;
1715
+ getTask(id: string): Promise<ResearchTask>;
1716
+ /**
1717
+ * Poll a research task until completion or failure.
1718
+ * Polls every 1 second with a maximum timeout of 10 minutes.
1719
+ */
1720
+ pollTask(id: string): Promise<ResearchTask>;
1428
1721
  }
1429
1722
 
1723
+ /**
1724
+ * Enum representing the status of a research task.
1725
+ */
1726
+ declare enum ResearchStatus {
1727
+ /** The research task is still in progress. */
1728
+ in_progress = "in_progress",
1729
+ /** The research request has finished successfully. */
1730
+ completed = "completed",
1731
+ /** The research task request failed. */
1732
+ failed = "failed"
1733
+ }
1734
+ /**
1735
+ * Response object returned from the research API.
1736
+ */
1737
+ type ResearchTask = {
1738
+ /** Unique identifier for the task. */
1739
+ id: string;
1740
+ /** Current status. */
1741
+ status: ResearchStatus;
1742
+ /** The original instructions provided along with the task. */
1743
+ instructions: string;
1744
+ /** The original schema defining the task */
1745
+ schema: Record<string, any>;
1746
+ /** Structured output that follows the user-provided schema (null while running or if failed). */
1747
+ data: Record<string, any> | null;
1748
+ /**
1749
+ * Citations collected while deriving each top-level field in `output`.
1750
+ * The key is the field name, the value is the list of `SearchResult`s that
1751
+ * were used to compute that field.
1752
+ */
1753
+ citations: Record<string, SearchResult<{}>[]>;
1754
+ };
1755
+
1430
1756
  /**
1431
1757
  * HTTP status codes
1432
1758
  */
@@ -1904,4 +2230,4 @@ declare class Exa {
1904
2230
  private parseSSEStream;
1905
2231
  }
1906
2232
 
1907
- export { type AnswerOptions, type AnswerResponse, type AnswerStreamChunk, type AnswerStreamResponse, type BaseSearchOptions, type ContentsOptions, type ContentsResultComponent, type CostDollars, type CostDollarsContents, type CostDollarsSeearch, type CreateEnrichmentParameters, CreateEnrichmentParametersFormat, type CreateWebhookParameters, type CreateWebsetParameters, type CreateWebsetSearchParameters, CreateWebsetSearchParametersBehaviour, type Default, type EnrichmentResult, type Event, EventType, Exa, ExaError, type ExtrasOptions, type ExtrasResponse, type FindSimilarOptions, type GetWebsetResponse, type HighlightsContentsOptions, type HighlightsResponse, HttpStatusCode, type JSONSchema, type ListEventsResponse, type ListWebhooksOptions, type ListWebhooksResponse, type ListWebsetItemResponse, type ListWebsetsOptions, type ListWebsetsResponse, type LivecrawlOptions, type RegularSearchOptions, ResearchClient, ResearchStatus, type ResearchTaskResponse, type SearchResponse, type SearchResult, type SubpagesResponse, type SummaryContentsOptions, type SummaryResponse, type TextContentsOptions, type TextResponse, type UpdateWebhookParameters, type UpdateWebsetRequest, type Webhook, WebhookStatus, type Webset, type WebsetEnrichment, WebsetEnrichmentFormat, WebsetEnrichmentStatus, WebsetEnrichmentsClient, type WebsetItem, WebsetItemEvaluationSatisfied, WebsetItemSource, WebsetItemsClient, type WebsetSearch, WebsetSearchCanceledReason, WebsetSearchStatus, WebsetSearchesClient, WebsetStatus, WebsetWebhooksClient, WebsetsClient, Exa as default };
2233
+ export { type AnswerOptions, type AnswerResponse, type AnswerStreamChunk, type AnswerStreamResponse, type BaseSearchOptions, type ContentsOptions, type ContentsResultComponent, type CostDollars, type CostDollarsContents, type CostDollarsSeearch, type CreateEnrichmentParameters, CreateEnrichmentParametersFormat, type CreateStreamParameters, type CreateWebhookParameters, type CreateWebsetParameters, type CreateWebsetSearchParameters, type Default, type EnrichmentResult, type Event, EventType, Exa, ExaError, type ExtrasOptions, type ExtrasResponse, type FindSimilarOptions, type GetWebsetResponse, type HighlightsContentsOptions, type HighlightsResponse, HttpStatusCode, type JSONSchema, type ListEventsResponse, type ListStreamRunsResponse, type ListStreamsOptions, type ListStreamsResponse, type ListWebhooksOptions, type ListWebhooksResponse, type ListWebsetItemResponse, type ListWebsetsOptions, type ListWebsetsResponse, type LivecrawlOptions, type RegularSearchOptions, ResearchClient, ResearchStatus, type ResearchTask, type SearchResponse, type SearchResult, type Stream, type StreamRun, type SubpagesResponse, type SummaryContentsOptions, type SummaryResponse, type TextContentsOptions, type TextResponse, type UpdateStream, UpdateStreamStatus, type UpdateWebhookParameters, type UpdateWebsetRequest, type Webhook, WebhookStatus, type Webset, type WebsetEnrichment, WebsetEnrichmentFormat, WebsetEnrichmentStatus, WebsetEnrichmentsClient, type WebsetItem, WebsetItemEvaluationSatisfied, WebsetItemSource, WebsetItemsClient, type WebsetSearch, WebsetSearchBehavior, WebsetSearchCanceledReason, WebsetSearchStatus, WebsetSearchesClient, WebsetStatus, WebsetStreamsClient, WebsetWebhooksClient, WebsetsClient, Exa as default };