---
title: "Get QnA"
method: GET
path: "/qna/{qna_id}/bots/{bot_id}"
tags: ["QnA"]
---

# Get QnA

`GET /qna/{qna_id}/bots/{bot_id}`

## Request

- Base URL: `https://apis.smartly.ai`
- URL: `https://apis.smartly.ai/qna/{qna_id}/bots/{bot_id}`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/smartly/apis/smartly-ai-apis/docs/qna/:qna_id/bots/:bot_id/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns data of a specific knowledge

## Path parameters

- `bot_id` string, required
- `qna_id` string, required

## Response `200`

successful

- GetQna
  - `faq` object
    - `_id` string
    - `updatedAt` string
    - `createdAt` string
    - `questions` string[]
    - `answers` string[]
    - `lang` string
    - `intent_name` string
    - `category` string
    - `description` string
    - `graph_id` string
    - `intent_id` string
    - `intent_label` string
    - `node_id` string
    - `slug` string
    - `skill_id` string
    - `user_id` string
    - `is_shared` boolean
    - `collaborators` string
    - `autocompletion` boolean
    - `show_answer_survey` boolean
    - `show_conversation_survey` boolean
    - `__v` integer

## Other responses

- `400`: Invalid ID supplied
- `404`: QNA not found

---

[API](https://skmtc.dev/smartly/apis/smartly-ai-apis.md) - [All operations](https://skmtc.dev/smartly/apis/smartly-ai-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/smartly/apis/smartly-ai-apis/revisions/1e26909d86c9?raw)
