PostHog · Schema
WeeklyDigestResponse
A/B TestingAnalyticsFeature FlagsOpen-SourceProduct AnalyticsSession Recording
Properties
| Name | Type | Description |
|---|---|---|
| visitors | object | Unique visitors. |
| pageviews | object | Total pageviews. |
| sessions | object | Total sessions. |
| bounce_rate | object | Bounce rate (0–100). |
| avg_session_duration | object | Average session duration. |
| top_pages | array | Top 5 pages by unique visitors. |
| top_sources | array | Top 5 traffic sources by unique visitors. |
| goals | array | Goal conversions. |
| dashboard_url | string | Link to the Web analytics dashboard for this project. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/WeeklyDigestResponse",
"title": "WeeklyDigestResponse",
"type": "object",
"properties": {
"visitors": {
"allOf": [
{
"$ref": "#/components/schemas/NumericMetric"
}
],
"description": "Unique visitors."
},
"pageviews": {
"allOf": [
{
"$ref": "#/components/schemas/NumericMetric"
}
],
"description": "Total pageviews."
},
"sessions": {
"allOf": [
{
"$ref": "#/components/schemas/NumericMetric"
}
],
"description": "Total sessions."
},
"bounce_rate": {
"allOf": [
{
"$ref": "#/components/schemas/NumericMetric"
}
],
"description": "Bounce rate (0\u2013100)."
},
"avg_session_duration": {
"allOf": [
{
"$ref": "#/components/schemas/DurationMetric"
}
],
"description": "Average session duration."
},
"top_pages": {
"type": "array",
"items": {
"$ref": "#/components/schemas/TopPage"
},
"description": "Top 5 pages by unique visitors."
},
"top_sources": {
"type": "array",
"items": {
"$ref": "#/components/schemas/TopSource"
},
"description": "Top 5 traffic sources by unique visitors."
},
"goals": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Goal"
},
"description": "Goal conversions."
},
"dashboard_url": {
"type": "string",
"format": "uri",
"description": "Link to the Web analytics dashboard for this project."
}
},
"required": [
"avg_session_duration",
"bounce_rate",
"dashboard_url",
"goals",
"pageviews",
"sessions",
"top_pages",
"top_sources",
"visitors"
]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/posthog-weeklydigestresponse"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.