Sazabi
APILogs

Get log volume

POST
/logs/volume

Query pre-aggregated log volume for one project.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/logs/volume" \  -H "Content-Type: application/json" \  -d '{    "startDate": "2019-08-24T14:15:22Z",    "endDate": "2019-08-24T14:15:22Z"  }'
{  "total": 0,  "startDate": "2019-08-24T14:15:22Z",  "endDate": "2019-08-24T14:15:22Z",  "interval": "1m",  "series": [    {      "group": "string",      "total": 0,      "points": [        {          "bucket": "string",          "count": 0        }      ]    }  ]}