LiveGraph Analytics API

The analytics API from LiveGraph — 3 operation(s) for analytics.

GitHub OpenAPI

Operations 3

POST /analytics/track Record a page view (public, rate-limited, bot-filtered) #
POST /analytics/bot Self-report a bot visit (kept out of page-view stats) #
POST /analytics/event Record a product site event (public, rate-limited) #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/livegraph-ai:livegraph-ai-analytics-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

livegraph-ai-analytics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LiveGraph Analytics API
  version: 1.0.0
  description: LiveGraph — the live, editable agent canvas. Authenticate with the livegraph_session cookie or an x-api-key header. Errors share the {error, code?} envelope; validation failures return 400.
security:
- sessionCookie: []
- apiKey: []
tags:
- name: Analytics
paths:
  /analytics/track:
    post:
      summary: Record a page view (public, rate-limited, bot-filtered)
      tags:
      - Analytics
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                path:
                  type: string
                  minLength: 1
                  maxLength: 2000
                referrer:
                  type: string
                  maxLength: 2000
                visitorId:
                  type: string
                  minLength: 8
                  maxLength: 64
                source:
                  type: string
                  maxLength: 200
                medium:
                  type: string
                  maxLength: 200
                campaign:
                  type: string
                  maxLength: 200
                screen:
                  type: string
                  maxLength: 20
                viewport:
                  type: string
                  maxLength: 20
                tz:
                  type: string
                  maxLength: 60
                display:
                  type: string
                  maxLength: 20
              required:
              - path
              additionalProperties: false
              $schema: http://json-schema.org/draft-07/schema#
      operationId: postAnalyticsTrack
      x-operation-id-source: derived
  /analytics/bot:
    post:
      summary: Self-report a bot visit (kept out of page-view stats)
      tags:
      - Analytics
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                path:
                  type: string
                  minLength: 1
                  maxLength: 2000
              required:
              - path
              additionalProperties: false
              $schema: http://json-schema.org/draft-07/schema#
      operationId: postAnalyticsBot
      x-operation-id-source: derived
  /analytics/event:
    post:
      summary: Record a product site event (public, rate-limited)
      tags:
      - Analytics
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  enum:
                  - cta_demo
                  - cta_signup
                  - cta_build_agent
                  - demo_session_started
                  - demo_run_started
                  - demo_reroute_completed
                  - demo_signup_prompted
                  - demo_turnstile_slow
                  - demo_turnstile_error
                  - demo_turnstile_retry
                  - demo_turnstile_rejected
                  - demo_turnstile_verified
                  - demo_scene_selected
                  - demo_graph_claimed
                  - landing_demo_start
                  - signup_completed
                  - onboarding_completed
                  - onboarding_first_run_started
                  - onboarding_first_run_failed
                  - onboarding_step_entered
                  - onboarding_step_completed
                  - onboarding_step_skipped
                  - overview_first_run_prompted
                  - overview_scripted_run_started
                  - voice_stt
                  - voice_agent
                  - voice_tts
                  - voice_roundtrip
                  - voice_barge_in
                  - agent_connected
                  - agent_onboarded
                path:
                  type: string
                  minLength: 1
                  maxLength: 2000
                visitorId:
                  type: string
                  minLength: 8
                  maxLength: 64
                source:
                  type: string
                  maxLength: 200
                step:
                  type: string
                  enum:
                  - intent
                  - intent_code
                  - intent_assistant
                  - intent_website
                  - intent_agent
                  - assistant
                  - assistant_blank
                  - assistant_ops_chief
                  - assistant_teammate
                  - github
                  - model
                  - repo
                  - project
                  - workflow
                  - automations
                  - website
                  - recap
                bucket:
                  type: string
                  enum:
                  - lt1s
                  - 1_3s
                  - 3_8s
                  - 8_20s
                  - gt20s
              required:
              - name
              - path
              additionalProperties: false
              $schema: http://json-schema.org/draft-07/schema#
      operationId: postAnalyticsEvent
      x-operation-id-source: derived
components:
  securitySchemes:
    sessionCookie:
      type: apiKey
      in: cookie
      name: livegraph_session
    apiKey:
      type: apiKey
      in: header
      name: x-api-key