canonical: https://jentic.com/apis/swaggerhub.sourcecode9/qnamakergetanswers

# Sourcecode9 QnAMakerGetAnswers

API for k2productfeatures.azurewebsites.net. The API exposes 1 endpoints secured with apiKey authentication.

## For AI agents

Programmatically getanswer. Covers 1 operations with apiKey authentication.

## Scope

Does not handle payments, communications, or crm - use for e-commerce only.

## Capabilities

- getAnswer
- Manage e commerce data programmatically
- Integrate QnAMakerGetAnswers into automated workflows
- Query and filter QnAMakerGetAnswers records by parameters
- Monitor QnAMakerGetAnswers operational status and events

## Use cases

### E-Commerce Operations

Use the QnAMakerGetAnswers to perform e commerce operations programmatically. The API provides 1 endpoints covering core functionality including getanswer.

Example prompt: Call POST `/qnamaker/knowledgebases/{kbId}/generateAnswer` to getanswer

### Data Retrieval and Monitoring

Query QnAMakerGetAnswers resources on a schedule to track changes, generate alerts, or feed downstream dashboards. Agents poll relevant endpoints, compare against previous state, and trigger actions when thresholds are crossed.

Example prompt: Poll the primary QnAMakerGetAnswers endpoint, compare response to last known state, and alert if changed

### AI Agent Integration via Jentic

AI agents discover and call QnAMakerGetAnswers endpoints through Jentic without managing credentials directly. An agent searches for the required operation by intent, receives the matching endpoint schema, and executes the call with Jentic-managed authentication. This eliminates the need to read API documentation or handle apiKey tokens manually.

Example prompt: Search Jentic for 'getanswer', load the operation schema, and execute with Jentic-managed credentials

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| POST | `/qnamaker/knowledgebases/{kbId}/generateAnswer` | getAnswer |

## Key resources

- **Knowledgebases** — Operations about Knowledgebases

## Why Jentic

- **Setup:** Wiring QnAMakerGetAnswers by hand means setting its Authorization header, targeting the azurewebsites host, and handling the generate-answer call and retries yourself. Through Jentic you install once, import QnAMakerGetAnswers from the API Directory, store the key once, and your agent calls it.
- **Permission scoping:** This API puts the knowledge base id in the URL path (`/qnamaker/knowledgebases/{kbId}/generateAnswer`), so a rule can pin your agent to one knowledge base and the single generate-answer operation it exposes. You choose the operations it may call, so nothing beyond that runs unless you add it.
- **Credential handling:** Your QnAMakerGetAnswers key is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'get an answer from a knowledge base', and Jentic returns the matching QnAMakerGetAnswers operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **Shopify** — Alternative e commerce API
- **Stripe** — Alternative e commerce API

## FAQ

### What authentication does the QnAMakerGetAnswers use?

The QnAMakerGetAnswers uses an API key passed in the `Authorization` header. Through Jentic, these credentials are stored encrypted in your Jentic One instance and injected at execution time, so raw secrets never enter the agent context.

### Can I getanswer with the QnAMakerGetAnswers?

Yes. Use the POST `/qnamaker/knowledgebases/{kbId}/generateAnswer` endpoint. The API returns structured JSON responses that agents can parse and act on directly.

### What are the rate limits for the QnAMakerGetAnswers?

Rate limits are not specified in the OpenAPI spec. Check the vendor documentation for current limits. Through Jentic, rate limiting is handled automatically with retry logic built into the execution layer.

### How do I getanswer through Jentic?

Install the Jentic SDK with pip install jentic, authenticate through Jentic One, the self-hosted execution layer, then search for 'getanswer'. Jentic returns the matching QnAMakerGetAnswers operation with its input schema. Load the schema and execute the call - credentials are injected automatically.

### How many endpoints does the QnAMakerGetAnswers have?

The QnAMakerGetAnswers exposes 1 endpoints covering knowledgebases operations.

### Can I limit what my agent is allowed to do with the QnAMakerGetAnswers API?

Yes. Because you run Jentic One yourself, your own rules decide which operations and credentials the agent may use, and this API exposes only the single POST `/qnamaker/knowledgebases/{kbId}/generateAnswer` operation. Since the knowledge base id sits in the URL path, a rule can pin the agent to one specific knowledge base and to that lone generate-answer call. Nothing beyond the operations you approve runs, so the agent cannot reach other knowledge bases or endpoints unless you grant them.
