API referenceActivity
Logs and HTTP requests over time
GET
/v1/projects/{project_id}/activityRequires role member or higher.
24h and 7d return UTC hours; 30d and 90d return days cut in the project's timezone. Requests are HTTP access logs.
AuthorizationBearer <token>
A session token from /v1/auth/sign-in/email (CLI, scripts).
In: header
Path Parameters
project_id*string
Query Parameters
range?|||
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://example.com/v1/projects/string/activity" \ -H "Authorization: Bearer $DLOGIFY_SESSION"{ "points": [ { "at": "2019-08-24T14:15:22Z", "logs": { "debug": 0, "error": 0, "fatal": 0, "info": 0, "warn": 0 }, "requests": { "s2xx": 0, "s3xx": 0, "s4xx": 0, "s5xx": 0, "total": 0 } } ], "range": "24h", "resolution": "hour", "timezone": "string", "totals": { "logs": { "debug": 0, "error": 0, "fatal": 0, "info": 0, "warn": 0 }, "requests": { "s2xx": 0, "s3xx": 0, "s4xx": 0, "s5xx": 0, "total": 0 } }}