Get overview
Get overview
Returns summary statistics for your account including total counts and recent activity.
What's included:
- Total number of templates
- Total number of imports
- 5 most recent imports with metadata
Use cases:
- Display usage stats in your dashboard
- Monitor import activity
- Track template usage
curl -X GET "https://api.ivandt.com/v1/stats/overview"{
"counts": {
"templates": 0,
"imports": 0
},
"latestImports": [
{
"id": "string",
"templateId": "string",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"fileId": {},
"meta": {
"publicKey": "string",
"sessionToken": "string",
"schemaId": "string",
"schemaKey": "string",
"sdkVersion": "string",
"source": {
"kind": "upload",
"referer": "string"
},
"file": {
"name": "string",
"fileId": "string",
"extension": "string",
"mime": "string",
"sizeBytes": 0,
"formattedSize": "string",
"lastModified": "string"
},
"sheet": {
"rowCount": 0,
"selectedSheetName": "string",
"allSheetNames": [
"string"
]
},
"counts": {
"totalRows": 0,
"validRows": 0,
"erroredRows": 0,
"discardedRows": 0
},
"timings": {
"startedAt": "string",
"finishedAt": "string"
},
"environment": {
"userAgent": "string",
"timezone": "string",
"platform": "web",
"runtime": "string"
}
}
}
]
}