LightningWeb.API.AiAssistantController (Lightning v2.15.0-pre5)
View SourceAPI endpoints for AI Assistant functionality.
Summary
Functions
List AI Assistant sessions for a given context (job or project).
Functions
List AI Assistant sessions for a given context (job or project).
Parameters
session_type: "job_code" or "workflow_template" (required)job_id: Job ID (required if session_type is "job_code")project_id: Project ID (required if session_type is "workflow_template")offset: Pagination offset (optional, default: 0)limit: Pagination limit (optional, default: 20)
Examples
- GET /api/ai_assistant/sessions?session_type=job_code&job_id=123
- GET /api/ai_assistant/sessions?session_type=workflow_template&project_id=456