---
title: "Search objects"
method: POST
path: "/objects/search"
tags: ["Objects"]
---

# Search objects

`POST /objects/search`

## Request

- Base URL: `https://api.capacities.io`
- URL: `https://api.capacities.io/objects/search`
- Auth: HTTP bearer

Searches objects in the current space by title. When AI embeddings are available for the account, objects that match the query by meaning are included as well. If embeddings are unavailable, title matches are still returned. Results are ordered by relevance and can be limited to specific structures with `structureIds`.

<br>

**Rate limit**: 30 requests per 60 seconds

## Request body

- object
  - `query` string, required: Text to match against object titles. When AI embeddings are available, objects that match by meaning are included as well.
  - `structureIds` union[]: Optional structure id filters. When set, only objects of these types are returned.
    - union: Structure id (UUID for custom types, or a built-in id such as RootPage).
      - string, uuid
      - 'RootSpace' | 'User' | 'UserPersonal' | 'RootDatabase' | 'RootQuery' | 'RootPage' | 'RootStructure' | 'RootEntity' | 'RootBlocksTemplate' | 'MediaImage' | 'MediaPDF' | 'MediaAudio' | 'MediaVideo' | 'MediaWebResource' | 'MediaFile' | 'MediaTweet' | 'RootAIChat' | 'RootSimpleTable' | 'RootWhiteboard' | 'RootDailyNote' | 'RootTag' | 'UtilDate' | 'RootTask'
  - `limit` integer: Maximum number of results to return. Defaults to 20, maximum 50.

## Response `200`

200 OK

- object
  - `results` object[], required: Matching objects ordered by search relevance.
    - `id` string, uuid, required: Unique identifier of the matching object.
    - `structureId` union, required: Structure id (UUID for custom types, or a built-in id such as RootPage).
      - string, uuid
      - 'RootSpace' | 'User' | 'UserPersonal' | 'RootDatabase' | 'RootQuery' | 'RootPage' | 'RootStructure' | 'RootEntity' | 'RootBlocksTemplate' | 'MediaImage' | 'MediaPDF' | 'MediaAudio' | 'MediaVideo' | 'MediaWebResource' | 'MediaFile' | 'MediaTweet' | 'RootAIChat' | 'RootSimpleTable' | 'RootWhiteboard' | 'RootDailyNote' | 'RootTag' | 'UtilDate' | 'RootTask'
    - `title` string, required: Display title of the matching object.

## Changes

- **2026-09-24** `a4a8393a781e`: 1 warning, 1 info
  - added the new `RootWhiteboard` enum value to the `results/items/structureId/anyOf[subschema #2]/` response property for the response status `200`
  - added the new `RootWhiteboard` enum value to the request property `structureIds/items/anyOf[subschema #2]/`
- **2026-09-08** `fbf7beb5767f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/capacities/apis/capacities-api-beta/changes/objects/search/post.md)

---

[API](https://skmtc.dev/capacities/apis/capacities-api-beta.md) - [All operations](https://skmtc.dev/capacities/apis/capacities-api-beta/llms.txt) - [OpenAPI document](https://skmtc.dev/capacities/apis/capacities-api-beta/revisions/8a6ece33d9bf?raw)
