Assistant API

POST /api/assistant/feedback

  • Purpose: Submit Copilot feedback (up/down vote) with optional debugging context for quality improvement.
  • Auth: Authenticated session (Clerk). Requires org context.
  • Request shape: Body { vote: 'up'|'down', query: string, answerExcerpt?: string, mode?: 'public'|'internal', groundingStatus?, classificationIntent?, classificationProviders?, classificationFrameworks?, sourceIds?, surfaceApp?, surfacePage?, projectSlug?, projectProvider?, projectPlan?, userRole?, comment? }.
  • Response shape: { ok: boolean }.
  • Key errors: 400 (invalid payload), 401 (unauthenticated).
  • Example: POST /api/assistant/feedback with vote and query in body.
Need help understanding this?Ask Cachely Copilot about features, setup, or integrations.
Ask Copilot →