Objects

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

post/objects/search

Request

  • Base URL
    https://api.capacities.io
  • Auth
    HTTP bearer

Request body

object required
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.

limit, integer

Maximum number of results to return. Defaults to 20, maximum 50.

Response

200 OK

object required
results, object[] required

Matching objects ordered by search relevance.

Changes

    • warning

      added the new RootWhiteboard enum value to the results/items/structureId/anyOf[subschema #2] response property for the response status

    • info

      added the new RootWhiteboard enum value to the request property structureIds/items/anyOf[subschema #2]

    • info

      endpoint added