Analytics
Get error stats
Manage Memories
Search Memories
Organization Settings
Get error stats
Get error stats
GET
/
v3
/
analytics
/
errors
curl --request GET \
--url https://api.supermemory.ai/v3/analytics/errors \
--header 'Authorization: Bearer <token>'
{
"errors": [
{
"type": "add",
"statusCode": 123,
"count": 123,
"percentage": 123
}
],
"summary": [
{
"type": "add",
"totalRequests": 123,
"successRate": 123,
"errorRate": 123,
"lastRequest": "<string>"
}
],
"hourly": [
{
"hour": "2023-11-07T05:31:56Z",
"timestamp": 123,
"count": 123,
"errorRate": 123,
"errorCount": 123
}
],
"byKey": [
{
"apiKeyId": "<string>",
"keyName": "<string>",
"count": 123,
"lastUsed": "<string>",
"errorRate": 123,
"errorCount": 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
Error stats
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://api.supermemory.ai/v3/analytics/errors \
--header 'Authorization: Bearer <token>'
{
"errors": [
{
"type": "add",
"statusCode": 123,
"count": 123,
"percentage": 123
}
],
"summary": [
{
"type": "add",
"totalRequests": 123,
"successRate": 123,
"errorRate": 123,
"lastRequest": "<string>"
}
],
"hourly": [
{
"hour": "2023-11-07T05:31:56Z",
"timestamp": 123,
"count": 123,
"errorRate": 123,
"errorCount": 123
}
],
"byKey": [
{
"apiKeyId": "<string>",
"keyName": "<string>",
"count": 123,
"lastUsed": "<string>",
"errorRate": 123,
"errorCount": 123
}
],
"pagination": {
"currentPage": 1,
"totalPages": 10,
"limit": 10,
"totalItems": 100
}
}