---
title: "Get Workspace Web Search Config"
method: GET
path: "/v1/workspaces/{workspace_id}/web-search"
tags: ["workspace-web-search"]
---

# Get Workspace Web Search Config

`GET /v1/workspaces/{workspace_id}/web-search`

Read a workspace's web-search configuration.

Takes the same role as setting it (an organization owner/admin, or an
owner/admin of this workspace), because the row describes the workspace's
posture rather than one member's allowance. A workspace with no row answers
with the unconfigured shape (``configured: false``), which is the
deployment's own behavior described in the same shape rather than a 404.

## Path parameters

- `workspace_id` string, uuid, required

## Response `200`

Successful Response

- WorkspaceWebSearchConfigPublic — A workspace's web-search configuration, or the unconfigured one it has without a row.
  - `allowed_domains` string[], nullable, required
  - `blocked_domains` string[], nullable, required
  - `configured` boolean, required
  - `created_at` string, nullable, required
  - `enabled` boolean, required
  - `max_results` integer, nullable, required
  - `provider_options` object, nullable, required
  - `purpose_hint` string, nullable, required
  - `updated_at` string, nullable, required
  - `web_search_configured` boolean, required
  - `workspace_id` string, uuid, required

## Other responses

- `422` — Validation Error

## Changes

- **2026-08-24** `96084f27845e` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/mozilla-ai/apis/otari/changes/v1/workspaces/:workspace_id/web-search/get.md)

---

[API](https://skmtc.dev/mozilla-ai/apis/otari.md) · [All operations](https://skmtc.dev/mozilla-ai/apis/otari/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mozilla-ai/otari/revisions/1a5cf829e593/schema)
