# Search marketplace knowledge

`POST https://api.suger.cloud/org/{orgId}/knowledge/search`

Searches the shared knowledge index covering AWS, Azure, and GCP marketplace documentation, Suger docs, and internal support knowledge.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `orgId` | path | string | yes | Organization ID |

## Request Body

Required.

Content-Type: `application/json` · Schema: `SearchKnowledgeRequest`

**`SearchKnowledgeRequest`** fields:

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `queryText` | string | yes |  |
| `searchMode` | string | no |  |
| `topK` | integer | no |  |

## Responses

### 200 — Knowledge search results

Content-Type: `application/json` · Schema: `SearchKnowledgeResponse`

**`SearchKnowledgeResponse`** fields:

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `queryText` | string | no |  |
| `resultCount` | integer | no |  |
| `results` | array<SearchKnowledgeResult> | no |  |
| `searchMode` | string | no |  |

**`SearchKnowledgeResult`** fields:

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `confidence` | number | no |  |
| `content` | string | no |  |
| `id` | string | no |  |
| `section` | string | no |  |
| `source` | string | no |  |

### 400 — Bad request error

Content-Type: `application/json`

### 500 — Internal server error

Content-Type: `application/json`

---

Interactive API reference: https://doc.suger.io/api/
