---
title: "Search workspaces"
method: POST
path: "/v1/workspaces/search"
tags: ["Workspaces"]
---

# Search workspaces

`POST /v1/workspaces/search`

Returns workspaces ranked by relevance to a query.

## Request body

- SearchRequest
  - `query` string, required — The search query.
  - `page` integer — Page number, starting at 1.
  - `limit` integer — Results per page.

## Response `200`

Ranked workspaces results.

- object
  - `data` Workspace[]
    - `id` string
    - `name` string
    - `source` string
    - `company` string
    - `isPrivate` boolean
    - `isPersonal` boolean
    - `createdAt` string, date-time
    - `updatedAt` string, date-time
  - `metadata` PaginationMetadata — Pagination details returned by search endpoints.
    - `page` integer
    - `limit` integer
    - `totalCount` integer
    - `totalPages` integer

## Other responses

- `401` — Missing or invalid API key credentials.

---

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