---
title: "Search for Resources within a Hub"
method: GET
path: "/v1/hub/{hub_id}/search-resources"
tags: ["Hub"]
---

# Search for Resources within a Hub

`GET /v1/hub/{hub_id}/search-resources`

Perform a search operation within a specific hub, identified by its UUID

## Path parameters

- `hub_id` string, uuid, required

## Query parameters

- `search` string, required
- `process_public_id` string, uuid

## Response `200`

Successfully executed search within the hub

- object
  - `metadata` object
  - `data` Answer
    - `question` string
    - `answer` string
    - `answerVote` boolean
    - `answerComment` string
    - `contextUrls` string[]
    - `user` User1
      - `email` string
      - `name` string
    - `createdAt` string, date-time
    - `updatedAt` string, date-time

## Other responses

- `403` — You do not have the appropriate permissions
- `404` — Hub not found

---

[API](https://skmtc.net/morta-technology/apis/morta-api-reference.md) · [All operations](https://skmtc.net/morta-technology/apis/morta-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/morta-technology/morta-api-reference/versions/9c58c1c1e7e8/schema)
