Copilot
Send a question to the Copilot and get its answer as text. This is the same Copilot as the dashboard panel. See Copilot for what it can answer and its limits.
The Copilot runs on a local language model served by Ollama on your site node. Your administrator chooses the model. Questions and answers are not stored.
Ask a question
POST
/copilot/chatAnswers one question. The site node doesn't keep a conversation between requests. To ask a follow-up, send the earlier turns in history; the Copilot uses the last 6.
Works for operators and admins.
Body
messagestringrequiredYour question, in plain English.
historyarray of objectsoptionalOptional earlier turns, oldest first, each with
role (user or assistant) and content.Response fields
replystringoptionalThe answer. Clip links appear as API paths, such as
/clips/134299. Prefix them with your site's address to open them.Responses
200
The answer. If the model doesn't respond in time, the reply is a short summary of the latest open alerts and events instead.
401
You are not signed in.
422
message is missing.Was this page helpful?