Skip to content
Docs menu

Ai

The Ai operations (21).

.md

The AI agent: its knowledge (Markdown blocks at every level: organization, channel, private/public, address), the AI switches of every level, what it receives for a ticket, the switch that stops it everywhere, the log of its replies, and the questions it could not answer (grouped, with Add to knowledge).

Operations

OperationMethodPathMCP action
The levels of AI blocks and switchesGET/v1/ai/levelslist_ai_levels
List AI blocksGET/v1/ai/blockslist_ai_blocks
Add an AI blockPOST/v1/ai/blockscreate_ai_block
An AI blockGET/v1/ai/blocks/{blockId}get_ai_block
Edit an AI blockPATCH/v1/ai/blocks/{blockId}update_ai_block
Archive an AI blockPOST/v1/ai/blocks/{blockId}/archivearchive_ai_block
List the files of an AI blockGET/v1/ai/blocks/{blockId}/fileslist_ai_block_files
Add a file to an AI blockPOST/v1/ai/blocks/{blockId}/filesadd_ai_block_file
Complete an AI block file uploadPOST/v1/ai/files/{fileId}/completecomplete_ai_block_file
An AI block file (its scan status)GET/v1/ai/files/{fileId}get_ai_block_file
A download link for an AI block file (valid 5 minutes)GET/v1/ai/files/{fileId}/downloaddownload_ai_block_file
Remove a file from its AI blockPOST/v1/ai/files/{fileId}/removeremove_ai_block_file
List the AI switches of every levelGET/v1/ai/settingslist_ai_settings
Turn the AI agent on or off at a levelPUT/v1/ai/settingsset_ai_settings
The AI switch that appliesGET/v1/ai/settings/effectiveget_effective_ai_settings
What the AI agent receives for a ticketGET/v1/ai/knowledgepreview_ai_knowledge
Prepare the AI blocks again nowPOST/v1/ai/knowledge/embedrequest_ai_knowledge_embedding
Whether the AI agent is stopped everywhereGET/v1/ai/agentget_ai_agent_switch
Stop the AI agent everywhere, or start it againPUT/v1/ai/agentset_ai_agent_switch
The AI agent's turnsGET/v1/ai/interactionslist_ai_interactions
One turn of the AI agentGET/v1/ai/interactions/{interactionId}get_ai_interaction