Added

Web Search Toggle for Workspaces

Enable or disable the AI's ability to supplement data answers with web search results on a per-workspace basis. When enabled, the AI can look up current information—like exchange rates, industry benchmarks, or company news—to provide richer context alongside your data insights.

What's New

  • Per-Workspace Control: Each workspace can independently enable or disable web search, letting you tailor the AI's capabilities to the use case
  • Admin-Only Setting: Only workspace administrators can toggle this setting, ensuring governance over AI behavior
  • Context-Aware Integration: When enabled, the AI intelligently decides when web context adds value—it won't search for every query, only when external information is relevant
  • Source Attribution: Web search results include source links so users can verify information

Use Cases

Enable web search for:

  • Executive workspaces needing market context alongside internal data
  • Research teams comparing internal metrics to industry benchmarks
  • Sales teams wanting competitor information with pipeline data

Disable web search for:

  • Compliance-sensitive workspaces requiring answers strictly from internal data
  • Workspaces where external context could introduce confusion
  • Air-gapped or regulated environments

API Changes

Update Workspace Settings

PATCH /api/v1/accounts/{accountId}/workspaces/{workspaceId}

{
  "webSearchEnabled": true
}
FieldTypeDefaultDescription
webSearchEnabledbooleanfalseWhether AI can use web search to supplement answers

Get Workspace

GET /api/v1/accounts/{accountId}/workspaces/{workspaceId}

Response now includes:

{
  "ok": true,
  "data": {
    "id": "ws_abc123",
    "name": "Sales Analytics",
    "webSearchEnabled": true,
    ...
  }
}

Examples

# Enable web search for a workspace
curl -X PATCH "https://tenant.bobsled.ai/api/v1/accounts/{accountId}/workspaces/{workspaceId}" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"webSearchEnabled": true}'

# Disable web search
curl -X PATCH "https://tenant.bobsled.ai/api/v1/accounts/{accountId}/workspaces/{workspaceId}" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"webSearchEnabled": false}'

How It Works

When web search is enabled and the AI determines external context would help:

  1. AI identifies that web information could enhance the answer
  2. Relevant search is performed (respecting rate limits)
  3. Results are synthesized with your data insights
  4. Sources are cited in the response

Example AI response with web search:

"Your Q4 revenue of $12.3M represents 15% YoY growth. For context, the industry average growth rate is currently 8-10% according to Gartner's latest report."