GET
/
v3
/
analytics
/
chat
curl --request GET \
  --url https://api.supermemory.ai/v3/analytics/chat \
  --header 'Authorization: Bearer <token>'
{
  "overview": {
    "7d": {
      "totalTokensSaved": {
        "current": 123,
        "previousPeriod": 123
      },
      "tokensProcessed": {
        "current": 123,
        "previousPeriod": 123
      },
      "tokensSent": {
        "current": 123,
        "previousPeriod": 123
      },
      "amountSaved": {
        "current": 123,
        "previousPeriod": 123
      }
    },
    "30d": {
      "totalTokensSaved": {
        "current": 123,
        "previousPeriod": 123
      },
      "tokensProcessed": {
        "current": 123,
        "previousPeriod": 123
      },
      "tokensSent": {
        "current": 123,
        "previousPeriod": 123
      },
      "amountSaved": {
        "current": 123,
        "previousPeriod": 123
      }
    },
    "90d": {
      "totalTokensSaved": {
        "current": 123,
        "previousPeriod": 123
      },
      "tokensProcessed": {
        "current": 123,
        "previousPeriod": 123
      },
      "tokensSent": {
        "current": 123,
        "previousPeriod": 123
      },
      "amountSaved": {
        "current": 123,
        "previousPeriod": 123
      }
    },
    "lifetime": {
      "totalTokensSaved": {
        "current": 123,
        "previousPeriod": 123
      },
      "tokensProcessed": {
        "current": 123,
        "previousPeriod": 123
      },
      "tokensSent": {
        "current": 123,
        "previousPeriod": 123
      },
      "amountSaved": {
        "current": 123,
        "previousPeriod": 123
      }
    }
  },
  "analytics": {
    "usage": {
      "currentDay": "Sun",
      "tokensByDay": {
        "Sun": 123,
        "Mon": 123,
        "Tue": 123,
        "Wed": 123,
        "Thu": 123,
        "Fri": 123,
        "Sat": 123
      }
    },
    "latency": {
      "current": 123,
      "unit": "<string>",
      "trend": [
        123
      ]
    },
    "apiUsage": {
      "current": 123,
      "limit": 123
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200
application/json

Chat analytics data

The response is of type object.