/v1/knowledge/calculate_contextRetrieve context chunks and return structured response with sources. LEGACY: This endpoint is not scoped to a space. Use the space-scoped tool execution endpoint instead: POST /v1/spaces/{space_id}/tools/knowledge_search/execute TODO: Deprecate once all clients migrate to server-driven tool discovery.
| Name | Type | Required | Description |
|---|---|---|---|
question | string | Required | |
collection_ids | string | Optional | Default: |
alpha | number | Optional | Default: 0.75 |
| Name | Type | Required | Description |
|---|---|---|---|
X-API-Key | string | Optional |
curl -X POST '/api-proxy/v1/knowledge/calculate_context' \
-H 'Authorization: Bearer <YOUR_TOKEN>'No response body documented
curl -X POST '/api-proxy/v1/knowledge/calculate_context' \
-H 'Authorization: Bearer <YOUR_TOKEN>'No response body documented