---
title: "Search workspaces"
method: GET
path: "/organizations/search"
tags: ["Organization"]
---

# Search workspaces

`GET /organizations/search`

Search workspaces by account with optional filters, backed by Spanner

## Query parameters

- `account_id` string
- `id` string
- `name` string
- `onboarded` boolean
- `limit` integer
- `cursor` string

## Response `200`

Workspaces matching the search criteria

- WorkspaceSearchResult
  - `workspaces` WorkspaceSearchReference[] — Workspaces matching the search criteria
    - `id` string — The workspace ID
    - `account_id` string — The parent account ID
    - `name` string — The display name of the workspace
    - `cloud_safe_id` string — Cloud safe ID representation
    - `created_by_id` string — ID of the user who created the workspace
    - `created_time` integer — Time at which the workspace was created
    - `last_updated_by_id` string — ID of the user who last updated the workspace
    - `last_updated_time` integer — Time at which the workspace was last updated
    - `onboarded` boolean — Whether the workspace has completed onboarding
    - `labs_features` string[] — Labs features activated for this workspace
    - `execution_runner_size` 'x1' | 'x2' | 'x3' | 'x4' | 'x5' | 'x6' | 'small' | 'medium' | 'large' | 'inherit' — available runner sizes
    - `test_recovery_agent_mode` 'off' | 'fail_at_end' | 'pass' | 'inherit' — Test Recovery Agent mode. Use `inherit` (plan-level only) to defer to the workspace-level default.
    - `generated_artifact_locale` string — Locale used for generating artifacts
  - `cursor` string — Pagination cursor for the next page of results

## Other responses

- `400` — Invalid or missing parameter
- `401` — User not authenticated
- `403` — User not authorized
- `default` — Unknown error

---

[API](https://skmtc.net/mabl/apis/mabl-api.md) · [All operations](https://skmtc.net/mabl/apis/mabl-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mabl/mabl-api/revisions/d0fc0114da66/schema)
