weeveo
  • Features
  • How it works
  • Revenue
  • Agents
  • Pricing
  • Docs
Sign in
Start free
weeveoanalytics

Understand your traffic.See what leads to sales.

See where visitors come from, what they do and which visits lead to purchases. Basic statistics without a popup. Recordings require permission.

Start freeService status

© 2026 Weeveo. All rights reserved.

Product

  • Features
  • Revenue reporting
  • Realtime
  • Funnels & journeys
  • Pricing

Developers

  • Documentation
  • Agents & MCP
  • Browser SDK
  • REST API
  • Start free
  • Sign in

Company

  • Changelog
  • Support
  • Contact
  • Privacy policy
  • Terms of service
  • Refund policy
  • Status

weeveo

Skip to content
Documentation home
Start here
Meet WeeveoYour first siteFind your way aroundCore concepts & metrics
Install & track
Install the trackerFramework & CMS recipesTracker configurationBrowser SDK referenceConsent & your CMPVisitor identity & payment matchingVerify your installationCustom tracking domains
Understand your traffic
Overview & realtimeDates, filters & comparisonsSources & campaignsPages & engagementEvents & visitor timelinesExplore, paths & saved viewsTraffic quality & anomalies
Conversions & revenue
Goals & conversionsFunnels & bottlenecksRetention cohortsRevenue reportingConnect a payment providerAttribution modelsCustomer journeysAll payment providers
Experience & performance
Session replaysClick & scroll heatmapsWeb Vitals & performance
Developers & agents
Connect ChatGPT, Claude & agentsCreate & manage API keysREST API quickstartAnalytics query referenceErrors, limits & safe retriesJavaScript & Python examplesMCP transport & tool discoveryOAuth discovery & authorizationPermissions & write consentAsk Weeveo & saved chatsApp identity & plugin metadataHTTP surface referenceAll API & MCP tools
Workspace & privacy
Workspaces & multiple sitesTeam, roles & invitationsSite preferences & notificationsPublic reports, embeds & badgesAccount & securityPrivacy & collection controlsVisitor export & erasure
Operate Weeveo
Background jobs & maintenanceTroubleshooting & common questionsQuestions & analysis recipes
Building something?Explore every API tool Download JSON reference ↗
DocsAPI & MCP reference
API & MCP reference

Session engagement

Average session duration and bounce rate over time for the selected date range and traffic filters.

On this page
Access & permissionsArgumentsHTTP requestComplete input schemaResponse & errors
get_session_engagementRead tool

Access & permissions

Use an authorized read credential. Current membership and any elevated role described above still apply.

API keys default to their bound site. For multi-site OAuth connections, call list_projects and pass the intended projectId. Only approved sites are accessible.

Arguments

projectIdOptional

string · uuid

Weeveo project id. Defaults to the key's project.

Validation pattern: see complete JSON Schema

rangeOptional

"today" | "yesterday" | "7d" | "30d" | "90d" | "12mo" | "custom"

Date range preset; custom requires from and to.

Default: "30d"

fromOptional

string · date

First local date, YYYY-MM-DD, for a custom range.

Validation pattern: see complete JSON Schema

toOptional

string · date

Last local date, inclusive, for a custom range.

Validation pattern: see complete JSON Schema

trafficOptional

"human" | "known_bot" | "suspicious" | "unknown" | "all"

Default: "human"

filtersOptional

object[]

max items 20

filters[].fieldRequired within object

"source" | "medium" | "url_path" | "referrer_domain" | "utm_source" | "utm_medium" | "utm_campaign" | "utm_term" | "utm_content" | "country" | "region" | "city" | "device_type" | "browser" | "os" | "event_name"

filters[].opRequired within object

"is" | "is_not" | "contains"

filters[].valueRequired within object

string

min length 1; max length 500

compareOptional

boolean

Include the previous period for deltas.

Default: true

Nested fields are listed with dotted paths; array item fields use []. Defaults apply to omitted arguments. For unions and all validation details, use the complete schema below.

HTTP request

http
POST https://weeveo.com/api/v1/tools/get_session_engagement
Authorization: Bearer <YOUR_CREDENTIAL>
Content-Type: application/json

<JSON_ARGUMENT_OBJECT>

Replace the placeholders with your server-side credential and a JSON object satisfying the schema. GET is also available for simple scalar arguments. Use POST for arrays and nested objects. These documentation pages never execute a request.

Complete input schema

JSON Schema · generated from the server
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "projectId": {
      "description": "Weeveo project id. Defaults to the key's project.",
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "range": {
      "default": "30d",
      "description": "Date range preset; custom requires from and to.",
      "type": "string",
      "enum": [
        "today",
        "yesterday",
        "7d",
        "30d",
        "90d",
        "12mo",
        "custom"
      ]
    },
    "from": {
      "description": "First local date, YYYY-MM-DD, for a custom range.",
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    },
    "to": {
      "description": "Last local date, inclusive, for a custom range.",
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    },
    "traffic": {
      "default": "human",
      "type": "string",
      "enum": [
        "human",
        "known_bot",
        "suspicious",
        "unknown",
        "all"
      ]
    },
    "filters": {
      "maxItems": 20,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "field": {
            "type": "string",
            "enum": [
              "source",
              "medium",
              "url_path",
              "referrer_domain",
              "utm_source",
              "utm_medium",
              "utm_campaign",
              "utm_term",
              "utm_content",
              "country",
              "region",
              "city",
              "device_type",
              "browser",
              "os",
              "event_name"
            ]
          },
          "op": {
            "type": "string",
            "enum": [
              "is",
              "is_not",
              "contains"
            ]
          },
          "value": {
            "type": "string",
            "minLength": 1,
            "maxLength": 500
          }
        },
        "required": [
          "field",
          "op",
          "value"
        ]
      }
    },
    "compare": {
      "default": true,
      "description": "Include the previous period for deltas.",
      "type": "boolean"
    }
  }
}

Download all tool schemas or query authenticated GET /api/v1/tools for runtime discovery.

Response & errors

json
{
  "tool": "get_session_engagement",
  "result": "<tool-specific value>"
}

The result placeholder above describes the response envelope, not a literal returned string or a universal result schema. Results vary by tool. Fields named Cents are minor currency units; use returned currency labels. Secrets from creation tools are one-time results and must be saved securely immediately.

Failures return an HTTP error status with an error message. See errors, limits and retries, common analytics arguments and permissions.

Still looking for an answer? Try troubleshooting or get in touch.

ExploreDocumentation homeReferenceAll API & MCP tools
ON THIS PAGE
Access & permissionsArgumentsHTTP requestComplete input schemaResponse & errors
Your sites. Your permission.

Start with read access. Grant changes when you need them.

Understand access

Search Weeveo documentation

Good places to start

Start hereYour first siteGo from a new workspace to your first verified visit.Install & trackInstall the trackerOne shared script, configured for your site and consent policy.Install & trackBrowser SDK referenceTrack actions, inspect consent and identify a permitted persistent visitor.Developers & agentsConnect ChatGPT, Claude & agentsUse OAuth sign-in for hosted agents, with optional API keys for other clients.Developers & agentsAnalytics query referenceExact shared date, traffic, comparison and filter parameters.Developers & agentsAll API & MCP toolsEvery tool, argument schema and permission in the shared registry.
K to open↑ ↓ to select · Enter to open · Esc to close