intelligence-ddd
Intelligence

Create Company Qa Session

Create a new company-scoped Q&A session for cross-database queries.

TECH-570: Dedicated endpoint for company-scoped sessions that search across all company databases without requiring an asset_id.

Args: request: Session creation details current_user: Authenticated user from dependency qa_service: Q&A service instance

Returns: StandardResponse with created session data

post/api/v1/intelligence/qa/company-sessions

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/api/v1/intelligence/qa/company-sessions
  • Auth: none declared

Headers

Authorizationstring

Request body

titlestring nullable

Session title (defaults to 'Q&A Session - All Databases')

visibility'private' | 'team' | 'public'

Session visibility options.

team_idinteger nullable

Team ID for team sessions

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.