Analytics
Get usage stats
Manage Memories
Search Memories
Organization Settings
Get usage stats
Get usage stats
GET
/
v3
/
analytics
/
usage
curl --request GET \
--url https://api.supermemory.ai/v3/analytics/usage \
--header 'Authorization: Bearer <token>'
{
"usage": [
{
"type": "add",
"count": 123,
"avgDuration": 123,
"lastUsed": "<string>"
}
],
"hourly": [
{
"hour": "2023-11-07T05:31:56Z",
"timestamp": 123,
"count": 123,
"avgDuration": 123
}
],
"byKey": [
{
"apiKeyId": "<string>",
"keyName": "<string>",
"count": 123,
"lastUsed": "<string>",
"avgDuration": 123
}
],
"pagination": {
"currentPage": 1,
"totalPages": 10,
"limit": 10,
"totalItems": 100
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
200
application/json
Usage stats
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://api.supermemory.ai/v3/analytics/usage \
--header 'Authorization: Bearer <token>'
{
"usage": [
{
"type": "add",
"count": 123,
"avgDuration": 123,
"lastUsed": "<string>"
}
],
"hourly": [
{
"hour": "2023-11-07T05:31:56Z",
"timestamp": 123,
"count": 123,
"avgDuration": 123
}
],
"byKey": [
{
"apiKeyId": "<string>",
"keyName": "<string>",
"count": 123,
"lastUsed": "<string>",
"avgDuration": 123
}
],
"pagination": {
"currentPage": 1,
"totalPages": 10,
"limit": 10,
"totalItems": 100
}
}