> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kataven.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Node SDK — FAQs

> Node SDK reference for Kataven FAQs — quick-lookup question/answer entries surfaced to agents.

`FaqsResource` is reachable on every Kataven Node client as `client.faqs`. Each method maps to one HTTP endpoint on the [Hub API](/api-reference/introduction); links to the underlying spec entry are inline below.

FAQs are simple title/content entries the agent can quote verbatim. Attach to an agent via `client.agents.attachFaq`.

## Methods at a glance

| Method   | HTTP                          | Summary          |
| -------- | ----------------------------- | ---------------- |
| `list`   | `GET /api/faqs`               | List FAQs        |
| `get`    | `GET /api/faqs/{idOrName}`    | Get a single FAQ |
| `create` | `POST /api/faqs`              | Create an FAQ    |
| `update` | `PUT /api/faqs/{idOrName}`    | Update an FAQ    |
| `delete` | `DELETE /api/faqs/{idOrName}` | Delete an FAQ    |

## Reference

### `client.faqs.list(...)`

List FAQs

**HTTP** — `GET /api/faqs` · [API reference →](/api-reference/introduction#tag/FAQs/operation/getApiFaqs)

```typescript theme={null}
list()
```

### `client.faqs.get(...)`

Get a single FAQ

**HTTP** — `GET /api/faqs/{id}` · [API reference →](/api-reference/introduction#tag/FAQs/operation/getApiFaqsById)

```typescript theme={null}
get(idOrName: string)
```

### `client.faqs.create(...)`

Create an FAQ

**HTTP** — `POST /api/faqs` · [API reference →](/api-reference/introduction#tag/FAQs/operation/postApiFaqs)

```typescript theme={null}
create(input: {
  name: string;
  category: string;
  title: string;
  content: string;
  summary?: string;
  tags?: string[];
})
```

### `client.faqs.update(...)`

Update an FAQ

**HTTP** — `PUT /api/faqs/{id}` · [API reference →](/api-reference/introduction#tag/FAQs/operation/putApiFaqsById)

```typescript theme={null}
update(idOrName: string, patch: Record<string, unknown>)
```

### `client.faqs.delete(...)`

Delete an FAQ

**HTTP** — `DELETE /api/faqs/{id}` · [API reference →](/api-reference/introduction#tag/FAQs/operation/deleteApiFaqsById)

```typescript theme={null}
delete(idOrName: string)
```

Default FAQs cannot be deleted.
