logs

post/api/projects/{project_id}/logs/sparkline/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/logs/sparkline/
  • Auth: HTTP bearer

Path parameters

project_idstring required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Request body

Response

timestring required

Bucket start time (ISO 8601).

severitystring

Severity label when sparklineBreakdownBy="severity". Present only for severity-broken-down sparklines.

servicestring

Service name when sparklineBreakdownBy="service". Present only for service-broken-down sparklines.

countinteger required

Number of log entries in the bucket.

bytes_uncompressedinteger

Sum of uncompressed bytes for the bucket.

Changes

No recorded changes to this operation across all 1 revision of this API.