intelligence-ddd
Intelligence

Ask Enhanced Qa Question

Ask a question using enhanced Q&A with Knowledge Base RAG.

This endpoint uses the generated markdown knowledge base as context for more accurate and comprehensive answers. It supports:

  • Single asset queries
  • Multi-asset context aggregation (cross_asset_mode)
  • Token budget management
  • Rich, contextual answers based on full intelligence

Returns: StandardResponse with answer, confidence, sources, and domains used

post/api/v1/intelligence/qa/{asset_id}/ask

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/api/v1/intelligence/qa/{asset_id}/ask
  • Auth: none declared

Path parameters

asset_idstring uuid required

Asset UUID to query

Headers

Authorizationstring

Request body

questionstring required

Natural language question to ask

cross_asset_modeboolean

Query across all company databases

include_related_assetsboolean

Include related assets in context (deprecated)

related_asset_idsstring[] nullable

Optional list of related asset UUIDs to include (deprecated)

Response

Successful Response

successboolean required
dataunknown
messagestring nullable
errorstring nullable
metaobject nullable

Changes

No recorded changes to this operation across all 1 revision of this API.