---
title: "Execute Answer"
method: POST
path: "/api/answers/execute"
tags: ["answers"]
---

# Execute Answer

`POST /api/answers/execute`

## Request

- Base URL: `https://www.gateco.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://www.gateco.ai/api/answers/execute`
- Auth: OAuth 2 (password, token URL `/api/auth/login`)

Execute a grounded answer synthesis from allowed retrieval chunks.

## Request body

- ExecuteAnswerRequest
  - `query` string, required
  - `principal_id` string, required
  - `connector_id` string, required
  - `top_k` integer
  - `filters` object, nullable
  - `search_mode` 'vector' | 'keyword' | 'hybrid', nullable
  - `alpha` number, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/gateco/apis/gateco-api.md) · [All operations](https://skmtc.dev/gateco/apis/gateco-api/llms.txt) · [OpenAPI document](https://skmtc.dev/gateco/apis/gateco-api/revisions/5debaf204950?raw)
