Dashboard

Generate login summary

Changed on

Generates a fresh 48-hour login summary for the selected organization. The response is not persisted; dashboard clients request it after org selection settles, then keep it in memory for the current page session. If no recent data exists, the endpoint returns a generic summary_text with an empty sections array.

get/dashboard/api/login-summary

Request

  • Base URL
    https://api.agnost.ai
  • URL
    https://api.agnost.ai/dashboard/api/login-summary
  • Auth
    • HTTP bearer and API key in header x-org-id
    • or API key in header x-api-key

Query parameters

org_idstring uuid

Organization ID. Optional when org scope is supplied by JWT/API-key auth or x-org-id.

Response

Generated login summary

idstring uuid
org_idstring uuid
window_startstring date-time
window_endstring date-time
generated_atstring date-time
summary_textstring

LLM-written summary capped at 90 words, or a generic no-data fallback.

Example response

{
  "sections": [
    {
      "key": "errors",
      "title": "Critical errors",
      "href": "/errors"
    }
  ]
}

Changes