Exa · Arazzo Workflow

Exa Preview then Create Webset

Version 1.0.0

Preview how a query decomposes, then commit it to a real Webset.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub Artificial IntelligenceSearchWeb SearchNeural SearchLLMAgentsResearchWebsetsArazzoWorkflows

Provider

exa-ai

Workflows

preview-then-create-webset
Preview a query's decomposition, then create the Webset from it.
Calls the preview endpoint to inspect the detected entity and criteria for a query, then creates a Webset using the same query and target count.
2 steps inputs: apiKey, count, query outputs: previewEntity, status, websetId
1
previewWebset
Preview how the query decomposes, returning the detected entity and the generated search criteria without creating a Webset.
2
createWebset
Commit the previewed query to a real Webset with the requested item count. It begins processing immediately; capture its id and status.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Exa Preview then Create Webset
  summary: Preview how a query decomposes, then commit it to a real Webset.
  description: >-
    Lets a caller see how Exa will interpret a search before paying to run it.
    The workflow first calls the preview endpoint, which performs the same query
    analysis that webset creation does and returns the detected entity type and
    generated search criteria, and then commits the same query to a real Webset
    that begins processing immediately. Every step spells out its request inline
    so the flow can be read and executed without opening the underlying OpenAPI
    description.
  version: 1.0.0
sourceDescriptions:
- name: websetsApi
  url: ../openapi/exa-ai-websets-api-openapi.yml
  type: openapi
- name: websetsPreviewApi
  url: ../openapi/exa-ai-websets-preview-api-openapi.yml
  type: openapi
workflows:
- workflowId: preview-then-create-webset
  summary: Preview a query's decomposition, then create the Webset from it.
  description: >-
    Calls the preview endpoint to inspect the detected entity and criteria for a
    query, then creates a Webset using the same query and target count.
  inputs:
    type: object
    required:
    - apiKey
    - query
    properties:
      apiKey:
        type: string
        description: Your Exa API key, sent in the x-api-key header.
      query:
        type: string
        description: Natural-language search query to preview and then commit.
      count:
        type: integer
        description: Number of items the Webset will attempt to find.
        default: 10
  steps:
  - stepId: previewWebset
    description: >-
      Preview how the query decomposes, returning the detected entity and the
      generated search criteria without creating a Webset.
    operationId: websets-preview
    parameters:
    - name: x-api-key
      in: header
      value: $inputs.apiKey
    requestBody:
      contentType: application/json
      payload:
        search:
          query: $inputs.query
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      previewEntity: $response.body#/search/entity
  - stepId: createWebset
    description: >-
      Commit the previewed query to a real Webset with the requested item count.
      It begins processing immediately; capture its id and status.
    operationId: websets-create
    parameters:
    - name: x-api-key
      in: header
      value: $inputs.apiKey
    requestBody:
      contentType: application/json
      payload:
        search:
          query: $inputs.query
          count: $inputs.count
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      websetId: $response.body#/id
      status: $response.body#/status
  outputs:
    previewEntity: $steps.previewWebset.outputs.previewEntity
    websetId: $steps.createWebset.outputs.websetId
    status: $steps.createWebset.outputs.status

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/exa-ai-preview-then-create-webset-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.