Guidelines

Get Ai Suggestions

Generate AI-powered suggestions for resolving violations.

Calls the ANZEN AI server's Gemini-powered /ai-suggestions endpoint to generate LLM-driven corrective actions. There is intentionally no local fallback: if the ANZEN server is unavailable or returns an error, an empty result is returned so the UI surfaces a clear "suggestions unavailable" state.

Non-empty results are cached in Redis (per report + violation + language) with a TTL so that subsequent requests for the same report/violation are served from cache without re-generating.

post/api/guidelines/ai-suggestions

Request

  • Base URL
    https://api.avete.ai (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Request body

guideline_idsinteger[] required
languagestring
report_idinteger nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.