Chat with AI assistant
POST https://app.cyrion.ai/api/chat
Chat with an AI assistant that has access to your scan data.
The AI can answer questions about:
- Scans: status, targets, configurations
- Vulnerabilities: discovered security issues, severity, PoCs, remediation
- Agents: their tasks, status, and activities
- Activity: tool executions and their results
- Statistics: LLM usage, costs, scan performance
- Scheduled Scans: upcoming and completed scheduled scans
- CVEs: Common Vulnerabilities and Exposures information
Request body
attachments(object[]): File attachments (text files, images)context_data(object): Context data from the active tabcontext_type(string): Type of context: 'agents', 'activity', 'vulnerabilities', 'scans', 'scheduled_scans', 'statistics', 'general'conversation_history(object[]): Previous messages in the conversationmessage(string, required): User messagequery_database(boolean): Whether to query the database for context-aware responsesscan_name(string): Current scan name to query specific data fromthinking(boolean): Enable extended thinking mode for complex analysisweb_search(boolean): Enable web search for additional context
Responses
200Successful Response422Validation Error