StepMetrics API

StepMetrics API as documented publicly. Contract generated from the documentation by API Evangelist (2026-11-26); not the provider's own document.

GitHub OpenAPI

Operations 39

GET /v1/calendar the same across the workspace (traffic only) #
POST /v1/collect POST /v1/collect #
GET /v1/dashboard Each chart with its numbers #
DELETE /v1/dashboard-charts Remove every chart #
GET /v1/dashboard-charts Get the charts, in order #
PUT /v1/dashboard-charts Replace every chart #
GET /v1/event-checks Event Checks: Find Missing or Repeated Events #
GET /v1/event-detail who did an event: country, page, source, device, network, and each occurrence with its IP #
GET /v1/monitors every site's uptime status, in one call #
PATCH /v1/orgs/{orgid} Set dashboard charts via organization patch #
GET /v1/overview GET /v1/overview also returns timeseriesBySite - the same buckets split by site #
GET /v1/ratio-metrics Each ratio with both counts and its value #
PUT /v1/ratio-metrics Replace every ratio #
GET /v1/sites/{id}/breakdown/{dimension} breakdown by dimension (channel, network, country, …) #
GET /v1/sites/{id}/calendar the period as calendar rows: ?units=day,week,month,quarter, each counted on its own #
GET /v1/sites/{id}/clickstream every event, newest first, paged by cursor (Pro) #
GET /v1/sites/{id}/direct what the Direct source is made of, in named groups #
GET /v1/sites/{id}/funnels/{funnelid} ordered funnel #
GET /v1/sites/{id}/heatmap visits by weekday and hour, in the tz you ask for #
GET /v1/sites/{id}/loyalty visits as new or returning, visits per person, time since the last visit #
DELETE /v1/sites/{id}/monitor turn off, and keep it off (admin) #
GET /v1/sites/{id}/monitor one site's monitor #
PUT /v1/sites/{id}/monitor create or update (admin) #
POST /v1/sites/{id}/monitor/check run one check now (admin) #
GET /v1/sites/{id}/monitor/checks individual checks, most recent first #
GET /v1/sites/{id}/monitor/history uptime and response time per bucket, plus outages #
GET /v1/sites/{id}/monitor/incidents outages, with cause and resolution #
GET /v1/sites/{id}/not-found pages served with an error, and the link that led there #
GET /v1/sites/{id}/overview everything the dashboard needs, in one call #
GET /v1/sites/{id}/pages top pages #
GET /v1/sites/{id}/realtime visitors active in the last 30 minutes #
GET /v1/sites/{id}/returning new browsers by source, and how many came back within 7 and 30 days #
GET /v1/sites/{id}/sources acquisition sources #
GET /v1/sites/{id}/speed Core Web Vitals from visitors' browsers, overall and by page #
GET /v1/sites/{id}/summary totals + named conversion counts #
GET /v1/sites/{id}/timeseries visitors/pageviews per hour, day, week, month, quarter or year #
GET /v1/sites/{siteid}/reading GET /v1/sites/:siteId/reading lists pages with their figures #

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/stepmetrics-co:stepmetrics-co-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

stepmetrics-co-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: StepMetrics API
  version: '2026-11-26'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-26: 39 operation(s) read from 7 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; StepMetrics has published no machine-readable contract that the
    pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 1
    documentation: 38
    pages-with-code: 1
    pages-read: 7
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-26'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://stepmetrics.co/docs/api
  - https://stepmetrics.co/docs/mobile
  - https://stepmetrics.co/docs/custom-events
  - https://stepmetrics.co/docs/search-console
  - https://stepmetrics.co/docs/dashboards
  - https://stepmetrics.co/docs/reading
  - https://stepmetrics.co/docs/event-checks
servers:
- url: https://app.stepmetrics.co
paths:
  /v1/calendar:
    get:
      operationId: get_v1_calendar
      tags:
      - Calendar
      summary: the same across the workspace (traffic only)
      x-source: https://stepmetrics.co/docs/api
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/collect:
    post:
      operationId: post_v1_collect
      tags:
      - Collect
      summary: POST /v1/collect
      x-source: https://stepmetrics.co/docs/mobile
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: javascript
        snippet: "fetch('https://app.stepmetrics.co/v1/collect', {\nmethod: 'POST',\nheaders: { 'content-type': 'application/json' },\nbody: JSON.stringify({\n\
          \ siteId: YOUR_SITE_ID,\n name,\n path,\n client: { platform: Platform.OS, device: Platform.isPad ? 'tablet' : 'mobile' },\n props,\n\
          })"
  /v1/dashboard:
    get:
      operationId: get_v1_dashboard
      tags:
      - Dashboard
      summary: Each chart with its numbers
      x-source: https://stepmetrics.co/docs/dashboards
      parameters:
      - name: period
        in: query
        required: false
        schema:
          type: string
        description: Time period for the data, e.g., 7d
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1DashboardResponse'
      x-evidence:
        kind: documentation
  /v1/dashboard-charts:
    delete:
      operationId: delete_v1_dashboard_charts
      tags:
      - Dashboard Charts
      summary: Remove every chart
      x-source: https://stepmetrics.co/docs/dashboards
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    get:
      operationId: get_v1_dashboard_charts
      tags:
      - Dashboard Charts
      summary: Get the charts, in order
      x-source: https://stepmetrics.co/docs/dashboards
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1DashboardChartsResponse'
      x-evidence:
        kind: documentation
    put:
      operationId: put_v1_dashboard_charts
      tags:
      - Dashboard Charts
      summary: Replace every chart
      x-source: https://stepmetrics.co/docs/dashboards
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PutV1DashboardChartsRequest'
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/event-checks:
    get:
      operationId: get_v1_event_checks
      tags:
      - Event Checks
      summary: 'Event Checks: Find Missing or Repeated Events'
      x-source: https://stepmetrics.co/docs/event-checks
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/event-detail:
    get:
      operationId: get_v1_event_detail
      tags:
      - Event Detail
      summary: 'who did an event: country, page, source, device, network, and each occurrence with its IP'
      x-source: https://stepmetrics.co/docs/api
      parameters:
      - name: event
        in: query
        required: true
        schema:
          type: string
        description: event id, e.g., :id:signup
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/monitors:
    get:
      operationId: get_v1_monitors
      tags:
      - Monitors
      summary: every site's uptime status, in one call
      x-source: https://stepmetrics.co/docs/api
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/orgs/{orgid}:
    patch:
      operationId: patch_v1_orgs_orgid
      tags:
      - Orgs
      summary: Set dashboard charts via organization patch
      x-source: https://stepmetrics.co/docs/dashboards
      parameters:
      - name: orgid
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchV1OrgsOrgidRequest'
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/overview:
    get:
      operationId: get_v1_overview
      tags:
      - Overview
      summary: GET /v1/overview also returns timeseriesBySite - the same buckets split by site
      description: Returns an overview of the workspace, including timeseries data aggregated by site.
      x-source: https://stepmetrics.co/docs/api
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/ratio-metrics:
    get:
      operationId: get_v1_ratio_metrics
      tags:
      - Ratio Metrics
      summary: Each ratio with both counts and its value
      x-source: https://stepmetrics.co/docs/dashboards
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1RatioMetricsResponse'
      x-evidence:
        kind: documentation
    put:
      operationId: put_v1_ratio_metrics
      tags:
      - Ratio Metrics
      summary: Replace every ratio
      x-source: https://stepmetrics.co/docs/dashboards
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PutV1RatioMetricsRequest'
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/search:
    get:
      operationId: get_v1_search
      tags:
      - Search
      summary: Every site at once
      x-source: https://stepmetrics.co/docs/search-console
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/sites/{id}/breakdown/{dimension}:
    get:
      operationId: get_v1_sites_id_breakdown_dimension
      tags:
      - Sites
      summary: breakdown by dimension (channel, network, country, …)
      x-source: https://stepmetrics.co/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: dimension
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/sites/{id}/calendar:
    get:
      operationId: get_v1_sites_id_calendar
      tags:
      - Sites
      summary: 'the period as calendar rows: ?units=day,week,month,quarter, each counted on its own'
      x-source: https://stepmetrics.co/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/sites/{id}/clickstream:
    get:
      operationId: get_v1_sites_id_clickstream
      tags:
      - Sites
      summary: every event, newest first, paged by cursor (Pro)
      x-source: https://stepmetrics.co/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: period
        in: query
        required: false
        schema:
          type: string
        description: window size, default 24h
      - name: limit
        in: query
        required: false
        schema:
          type: integer
        description: max 500
      - name: nextCursor
        in: query
        required: false
        schema:
          type: string
        description: cursor for older rows
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/sites/{id}/direct:
    get:
      operationId: get_v1_sites_id_direct
      tags:
      - Sites
      summary: what the Direct source is made of, in named groups
      x-source: https://stepmetrics.co/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/sites/{id}/funnels/{funnelid}:
    get:
      operationId: get_v1_sites_id_funnels_funnelid
      tags:
      - Sites
      summary: ordered funnel
      x-source: https://stepmetrics.co/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: funnelid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/sites/{id}/heatmap:
    get:
      operationId: get_v1_sites_id_heatmap
      tags:
      - Sites
      summary: visits by weekday and hour, in the tz you ask for
      x-source: https://stepmetrics.co/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/sites/{id}/links:
    get:
      operationId: get_v1_sites_id_links
      tags:
      - Sites
      summary: clicks on links to other sites and on links to files
      x-source: https://stepmetrics.co/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/sites/{id}/loyalty:
    get:
      operationId: get_v1_sites_id_loyalty
      tags:
      - Sites
      summary: visits as new or returning, visits per person, time since the last visit
      x-source: https://stepmetrics.co/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/sites/{id}/monitor:
    delete:
      operationId: delete_v1_sites_id_monitor
      tags:
      - Sites
      summary: turn off, and keep it off (admin)
      description: Turns off the monitor for the specified site.
      x-source: https://stepmetrics.co/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    get:
      operationId: get_v1_sites_id_monitor
      tags:
      - Sites
      summary: one site's monitor
      x-source: https://stepmetrics.co/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    put:
      operationId: put_v1_sites_id_monitor
      tags:
      - Sites
      summary: create or update (admin)
      description: Creates or updates a monitor for the specified site.
      x-source: https://stepmetrics.co/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/sites/{id}/monitor/check:
    post:
      operationId: post_v1_sites_id_monitor_check
      tags:
      - Sites
      summary: run one check now (admin)
      description: Runs a single monitor check immediately for the specified site.
      x-source: https://stepmetrics.co/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/sites/{id}/monitor/checks:
    get:
      operationId: get_v1_sites_id_monitor_checks
      tags:
      - Sites
      summary: individual checks, most recent first
      x-source: https://stepmetrics.co/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/sites/{id}/monitor/history:
    get:
      operationId: get_v1_sites_id_monitor_history
      tags:
      - Sites
      summary: uptime and response time per bucket, plus outages
      x-source: https://stepmetrics.co/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: period
        in: query
        required: false
        schema:
          type: string
      - name: bucket
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/sites/{id}/monitor/incidents:
    get:
      operationId: get_v1_sites_id_monitor_incidents
      tags:
      - Sites
      summary: outages, with cause and resolution
      x-source: https://stepmetrics.co/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/sites/{id}/not-found:
    get:
      operationId: get_v1_sites_id_not_found
      tags:
      - Sites
      summary: pages served with an error, and the link that led there
      x-source: https://stepmetrics.co/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/sites/{id}/overview:
    get:
      operationId: get_v1_sites_id_overview
      tags:
      - Sites
      summary: everything the dashboard needs, in one call
      x-source: https://stepmetrics.co/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/sites/{id}/pages:
    get:
      operationId: get_v1_sites_id_pages
      tags:
      - Sites
      summary: top pages
      x-source: https://stepmetrics.co/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/sites/{id}/realtime:
    get:
      operationId: get_v1_sites_id_realtime
      tags:
      - Sites
      summary: visitors active in the last 30 minutes
      x-source: https://stepmetrics.co/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/sites/{id}/returning:
    get:
      operationId: get_v1_sites_id_returning
      tags:
      - Sites
      summary: new browsers by source, and how many came back within 7 and 30 days
      x-source: https://stepmetrics.co/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/sites/{id}/sources:
    get:
      operationId: get_v1_sites_id_sources
      tags:
      - Sites
      summary: acquisition sources
      x-source: https://stepmetrics.co/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/sites/{id}/speed:
    get:
      operationId: get_v1_sites_id_speed
      tags:
      - Sites
      summary: Core Web Vitals from visitors' browsers, overall and by page
      x-source: https://stepmetrics.co/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/sites/{id}/summary:
    get:
      operationId: get_v1_sites_id_summary
      tags:
      - Sites
      summary: totals + named conversion counts
      x-source: https://stepmetrics.co/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/sites/{id}/timeseries:
    get:
      operationId: get_v1_sites_id_timeseries
      tags:
      - Sites
      summary: visitors/pageviews per hour, day, week, month, quarter or year
      x-source: https://stepmetrics.co/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/sites/{siteid}/reading:
    get:
      operationId: get_v1_sites_siteid_reading
      tags:
      - Sites
      summary: GET /v1/sites/:siteId/reading lists pages with their figures
      x-source: https://stepmetrics.co/docs/reading
      parameters:
      - name: siteid
        in: path
        required: true
        schema:
          type: string
      - name: path
        in: query
        required: false
        schema:
          type: string
        description: Filter to a specific page path, e.g., /pricing
      - name: period
        in: query
        required: false
        schema:
          type: string
        description: Time period for the reading data (same as other read endpoints)
      - name: segment
        in: query
        required: false
        schema:
          type: string
        description: Segment identifier for the reading data (same as other read endpoints)
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
components:
  schemas:
    GetV1DashboardResponse:
      type: object
      properties:
        buckets:
          type: array
          description: Start of each day, week or month
        values:
          type: array
          description: One value per bucket for every series, including totals
    GetV1DashboardChartsResponse:
      type: object
      properties:
        id:
          type: string
          description: Chart identifier
        type:
          type: string
          description: Chart type (e.g., metrics, funnel, ratio_metric)
        title:
          type: string
          description: Chart title
        display:
          type: string
          description: 'Display mode: bars, stacked, lines or totals'
        series:
          type: array
          description: Series definitions for the chart
        siteIds:
          type: array
          description: Optional list of site IDs the chart applies to
    PutV1DashboardChartsRequest:
      type: object
      properties:
        '[]':
          type: array
          description: Array of chart objects to store; send [] for a blank page
      required:
      - '[]'
    PatchV1OrgsOrgidRequest:
      type: object
      properties:
        dashboardCharts:
          type: array
          description: Array of chart objects to store in the workspace configuration
      required:
      - dashboardCharts
    GetV1RatioMetricsResponse:
      type: object
      properties:
        label:
          type: string
          description: Human‑readable name of the ratio metric
        numerator:
          type: object
          description: Definition of the numerator side
        denominator:
          type: object
          description: Definition of the denominator side
        unit:
          type: string
          description: Unit of the ratio (percent, ratio, per_100, per_1000, per_10000)
        siteIds:
          type: array
          description: Optional list of site IDs the ratio applies to
        segment:
          type: object
          description: Optional traffic segment filter
        current:
          type: object
          description: Current period result with numerator, denominator, value and display
        previous:
          type: object
          description: Previous period result with numerator, denominator, value and display
    PutV1RatioMetricsRequest:
      type: object
      properties:
        '[]':
          type: array
          description: Array of ratio metric objects to store
      required:
      - '[]'
tags:
- name: Calendar
- name: Collect
- name: Dashboard
- name: Dashboard Charts
- name: Event Checks
- name: Event Detail
- name: Monitors
- name: Orgs
- name: Overview
- name: Ratio Metrics
- name: Search
- name: Sites