Files
AutoGPT/docs/integrations/block-integrations/exa/websets_polling.md
Nicholas Tindle 90466908a8 refactor(docs): restructure platform docs for GitBook and remove MkDo… (#11825)
<!-- Clearly explain the need for these changes: -->
we met some reality when merging into the docs site but this fixes it
### Changes 🏗️
updates paths, adds some guides
<!-- Concisely describe all of the changes made in this pull request:
-->
update to match reality
### Checklist 📋

#### For code changes:
- [x] I have clearly listed my changes in the PR description
- [x] I have made a test plan
- [x] I have tested my changes according to the test plan:
  <!-- Put your test plan here: -->
  - [x] deploy it and validate

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> Aligns block integrations documentation with GitBook.
> 
> - Changes generator default output to
`docs/integrations/block-integrations` and writes overview `README.md`
and `SUMMARY.md` at `docs/integrations/`
> - Adds GitBook frontmatter and hint syntax to overview; prefixes block
links with `block-integrations/`
> - Introduces `generate_summary_md` to build GitBook navigation
(including optional `guides/`)
> - Preserves per-block manual sections and adds optional `extras` +
file-level `additional_content`
> - Updates sync checker to validate parent `README.md` and `SUMMARY.md`
> - Rewrites `docs/integrations/README.md` with GitBook frontmatter and
updated links; adds `docs/integrations/SUMMARY.md`
> - Adds new guides: `guides/llm-providers.md`,
`guides/voice-providers.md`
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
fdb7ff8111. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: bobby.gaffin <bobby.gaffin@agpt.co>
2026-01-23 06:18:16 +00:00

5.7 KiB

Exa Websets Polling

Blocks for polling and waiting on Exa webset operations to complete.

Exa Wait For Enrichment

What it is

Wait for a webset enrichment to complete with progress tracking

How it works

This block polls an enrichment operation until it completes or times out. It checks status at configurable intervals and can include sample results when done.

Use this to block workflow execution until enrichments finish, enabling sequential operations that depend on enrichment data being available.

Inputs

Input Description Type Required
webset_id The ID or external ID of the Webset str Yes
enrichment_id The ID of the enrichment to monitor str Yes
timeout Maximum time to wait in seconds int No
check_interval Initial interval between status checks in seconds int No
sample_results Include sample enrichment results in output bool No

Outputs

Output Description Type
error Error message if the operation failed str
enrichment_id The enrichment ID that was monitored str
final_status The final status of the enrichment str
items_enriched Number of items successfully enriched int
enrichment_title Title/description of the enrichment str
elapsed_time Total time elapsed in seconds float
sample_data Sample of enriched data (if requested) List[SampleEnrichmentModel]
timed_out Whether the operation timed out bool

Possible use case

Sequential Processing: Wait for enrichments to complete before proceeding to export or analysis.

Data Validation: Ensure enrichments finish and review samples before continuing workflow.

Synchronous Workflows: Convert async enrichment operations to blocking calls for simpler logic.


What it is

Wait for a specific webset search to complete with progress tracking

How it works

This block polls a webset search operation until it completes or times out. It provides progress information including items found, items analyzed, and completion percentage.

Use this when you need search results before proceeding with downstream operations like enrichments or exports.

Inputs

Input Description Type Required
webset_id The ID or external ID of the Webset str Yes
search_id The ID of the search to monitor str Yes
timeout Maximum time to wait in seconds int No
check_interval Initial interval between status checks in seconds int No

Outputs

Output Description Type
error Error message if the operation failed str
search_id The search ID that was monitored str
final_status The final status of the search str
items_found Number of items found by the search int
items_analyzed Number of items analyzed int
completion_percentage Completion percentage (0-100) int
elapsed_time Total time elapsed in seconds float
recall_info Information about expected results and confidence Dict[str, Any]
timed_out Whether the operation timed out bool

Possible use case

Search Completion: Wait for initial webset population before accessing items.

Progress Monitoring: Track search progress in long-running operations.

Sequential Workflows: Ensure searches complete before starting enrichments.


Exa Wait For Webset

What it is

Wait for a webset to reach a specific status with progress tracking

How it works

This block polls a webset until it reaches a target status (idle, completed, or running). It uses exponential backoff for efficient polling and provides detailed progress information.

Use this for general-purpose waiting on webset operations when you don't need to track a specific search or enrichment.

Inputs

Input Description Type Required
webset_id The ID or external ID of the Webset to monitor str Yes
target_status Status to wait for (idle=all operations complete, completed=search done, running=actively processing) "idle" | "completed" | "running" | "paused" | "any_complete" No
timeout Maximum time to wait in seconds int No
check_interval Initial interval between status checks in seconds int No
max_interval Maximum interval between checks (for exponential backoff) int No
include_progress Include detailed progress information in output bool No

Outputs

Output Description Type
error Error message if the operation failed str
webset_id The webset ID that was monitored str
final_status The final status of the webset str
elapsed_time Total time elapsed in seconds float
item_count Number of items found int
search_progress Detailed search progress information Dict[str, Any]
enrichment_progress Detailed enrichment progress information Dict[str, Any]
timed_out Whether the operation timed out bool

Possible use case

Workflow Orchestration: Wait for all webset operations to complete before next workflow steps.

Idle State Detection: Ensure webset is fully idle before making configuration changes.

Completion Gates: Block workflow until webset reaches a specific readiness state.