---
title: "Search resources"
method: GET
path: "/v1/search"
tags: ["Search"]
---

# Search resources

`GET /v1/search`

Search indexed resources the caller is allowed to read. Authorization is evaluated with ReBAC grant scopes and confirmed with a per-hit permission check. total_count is never returned.

## Query parameters

- `q` string
- `types` string[]
- `organization_id` string
- `namespace_id` string
- `project_id` string
- `page_size` integer
- `page_token` string

## Response `200`

OK

- SearchPage
  - `items` SearchResult[], required
    - `id` string, required — Resource xid.
    - `type` 'Organization' | 'Namespace' | 'Project' | 'Issue' | 'Document', required
    - `title` string, required
    - `subtitle` string — Display subtitle such as an issue key or document excerpt.
    - `key` string — Human-readable key when the resource has one.
    - `organization_id` string, nullable
    - `namespace_id` string, nullable
    - `project_id` string, nullable
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, nullable
  - `page_info` PageInfo, required — Cursor pagination metadata for a page of results.
    - `next_page_token` string, nullable — Opaque token for the next page. Omitted when has_more is false.
    - `has_more` boolean, required — Whether more results are available.
    - `total_count` integer, nullable — Optional total count when requested by the server.

## Other responses

- `400` — Bad request
- `401` — Unauthorized request
- `500` — Internal Server Error

---

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