Sumvid Events API

The events API from Sumvid, for events.

GitHub OpenAPI

Operations 2

POST /events Track Event #
GET /events/funnel Get Funnel #

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/sumvid-app:sumvid-app-events-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

sumvid-app-events-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: summarize-vid Events API
  description: YouTube video transcript summarizer (Claude Haiku).
  version: 0.6.0
  x-guidance: 'Paid agent calls are POST /v1/summarize, POST /v1/transcript, POST /v1/channel/new, and POST /v1/json/format. Send the request with no authorization to receive HTTP 402. The payment requirements are in the PAYMENT-REQUIRED header and the JSON body. Retry with a PAYMENT-SIGNATURE header. Prices are on each operation under x-payment-info. Discovery documents: GET /.well-known/x402 and GET /.well-known/x402.json.'
tags:
- name: Events
paths:
  /events:
    post:
      tags:
      - Events
      summary: Track Event
      description: 'First-party funnel analytics. Unauthenticated, on purpose — anonymous

        visitors are the point, so there''s no `get_current_user_id` dependency.


        Accepted risk: there is no rate limiting anywhere in this backend, so

        this endpoint is spammable. Inserts are cheap and the table is

        operator-read-only, so poisoning is an annoyance, not a breach — rate

        limiting is future backend work, not part of this change.


        Always 204: an unknown/non-allowlisted `name` is silently dropped rather

        than erroring (a 4xx here would be console noise on every page load), and

        a DB failure is logged, not raised, so analytics never surfaces an error

        to a visitor. Malformed JSON bodies still 422 via FastAPI''s normal

        request validation, which is unchanged.'
      operationId: track_event_events_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TrackEventRequest'
        required: true
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /events/funnel:
    get:
      tags:
      - Events
      summary: Get Funnel
      description: 'Operator-only aggregate funnel readout by name over a time window.

        Admin-gated the same way as /queue: ADMIN_USER_IDS via require_admin —

        no separate token/env mechanism needed.


        Note the default is "30d" here, not None/all-time like the /stats/*

        endpoints — this preserves the feature''s original 30-day default lookback.'
      operationId: get_funnel_events_funnel_get
      security:
      - HTTPBearer: []
      parameters:
      - name: window
        in: query
        required: false
        schema:
          type: string
          default: 30d
          title: Window
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FunnelResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    FunnelResponse:
      properties:
        window:
          type: string
          title: Window
        counts:
          additionalProperties:
            type: integer
          type: object
          title: Counts
      type: object
      required:
      - window
      - counts
      title: FunnelResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    TrackEventRequest:
      properties:
        name:
          type: string
          title: Name
        path:
          anyOf:
          - type: string
          - type: 'null'
          title: Path
        locale:
          anyOf:
          - type: string
          - type: 'null'
          title: Locale
      type: object
      required:
      - name
      title: TrackEventRequest
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer