Gatana logoGatana Docs
RoutesAudit logsSummary

/audit-logs/summary

Summarize the tool calls the caller made over a recent window, as a count per day plus the servers and clients they went through

GET
/audit-logs/summary
AuthorizationBearer <token>

In: header

Query Parameters

days?string

How many days back the window reaches, 1 to 90; 14 by default

timeZone?string

IANA zone the days are cut in, such as Europe/Zurich; UTC if absent or unknown

Response Body

application/json

curl -X GET "https://YOUR_ORG_ID.gatana.ai/api/v1/audit-logs/summary"
{
  "days": [
    {
      "date": "string",
      "count": 0
    }
  ],
  "total": 0,
  "servers": [
    {
      "serverId": "string",
      "slug": "string",
      "count": 0
    }
  ],
  "callers": [
    {
      "id": "string",
      "kind": "client",
      "label": "string",
      "count": 0
    }
  ]
}