copilot
Send a message to the AI copilot (domain-specific)
Changed onpost/copilot/chat
Request
- Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/copilot/chat
- Auth: one of:
- API key in cookie session
- HTTP bearer
Request body
Response
AI response (JSON) or SSE stream when stream=true
Changes
- info
added the media type
application/jsonfor the response with the status
- info
- info
endpoint added
- info