GitBook · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for GitBook Site Insights API

5 actions 5 updates phrasing extends openapi/gitbook-site-insights-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for GitBook's API. It is a proposal applied on top of the contract, not a document GitBook publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 5

$.info
$.paths['/orgs/{organizationId}/sites/{siteId}/agent-feedback'].post
$.paths['/orgs/{organizationId}/sites/{siteId}/insights/events'].post
$.paths['/orgs/{organizationId}/sites/{siteId}/insights/events/aggregate'].post
$.paths['/orgs/{organizationId}/sites/{siteId}/insights/visitor-segments'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for GitBook Site Insights API
  version: 1.0.0
extends: openapi/gitbook-site-insights-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-26'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 4
- target: $.paths['/orgs/{organizationId}/sites/{siteId}/agent-feedback'].post
  update:
    x-apievangelist-phrasing:
      intent: Submit agent feedback about site content
      effect: write
      questions:
      - How do I report outdated or incorrect content a site assistant found?
      - Can I tell the site why an AI agent flagged a page as missing?
      instructions:
      - text: Submit agent feedback {feedback} about page {pageId} on site {siteId} in org {org}.
        slots:
          feedback: requestBody.feedback
          pageId: requestBody.pageId
          siteId: path.siteId
          org: path.organizationId
      - text: Report that the agent found {feedback} on {url} while trying to achieve goal {goal}.
        slots:
          feedback: requestBody.feedback
          url: requestBody.url
          goal: requestBody.goal
      method: generated
      generated: '2026-11-26'
- target: $.paths['/orgs/{organizationId}/sites/{siteId}/insights/events'].post
  update:
    x-apievangelist-phrasing:
      intent: Track events on a site
      effect: write
      questions:
      - How do I send custom events from my site to its insights?
      - Can I record a site event for a specific user session?
      instructions:
      - text: Track events {events} on site {siteId} in org {org}.
        slots:
          events: requestBody.events
          siteId: path.siteId
          org: path.organizationId
      - text: Record the custom event {events} for this site visit.
        slots:
          events: requestBody.events
      method: generated
      generated: '2026-11-26'
- target: $.paths['/orgs/{organizationId}/sites/{siteId}/insights/events/aggregate'].post
  update:
    x-apievangelist-phrasing:
      intent: Query a site's analytics events
      effect: read
      questions:
      - How many visitors did my site get last month?
      - Which pages had the most 404s in a time range?
      - Can I group site events by date or by URL path?
      instructions:
      - text: Aggregate site events for site {siteId} in org {org} over {range}.
        slots:
          siteId: path.siteId
          org: path.organizationId
          range: requestBody.range
      - text: Show {select} for site {siteId} grouped by {groupBy} from {range}.
        slots:
          select: requestBody.select
          siteId: path.siteId
          groupBy: requestBody.groupBy
          range: requestBody.range
      method: generated
      generated: '2026-11-26'
- target: $.paths['/orgs/{organizationId}/sites/{siteId}/insights/visitor-segments'].get
  update:
    x-apievangelist-phrasing:
      intent: List a site's visitor segments
      effect: read
      questions:
      - What visitor segments are defined for my site?
      - Can I see the segments used to group site visitors?
      instructions:
      - text: List the visitor segments for site {siteId} in org {org}.
        slots:
          siteId: path.siteId
          org: path.organizationId
      - text: Show the site visitor segments.
      method: generated
      generated: '2026-11-26'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay 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.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/gitbook-site-insights-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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.