Edge Impulse Metrics API

The Metrics API from Edge Impulse — 3 operation(s) for metrics.

Operations 3

GET /api-metrics Get public metrics #
POST /api-metrics/website/pageviews Log website pageview #
POST /api-metrics/events Log analytics event #

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/edge-impulse-metrics-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

edge-impulse-metrics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Edge Impulse Metrics API
  version: 1.0.0
servers:
- url: https://studio.edgeimpulse.com/v1
security:
- ApiKeyAuthentication: []
- JWTAuthentication: []
- JWTHttpHeaderAuthentication: []
tags:
- name: Metrics
paths:
  /api-metrics:
    get:
      summary: Get public metrics
      security: []
      description: Get information about number of projects, compute and data samples. Updated once per hour.
      x-internal-api: true
      tags:
      - Metrics
      operationId: getPublicMetrics
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetPublicMetricsResponse'
  /api-metrics/website/pageviews:
    post:
      summary: Log website pageview
      x-internal-api: true
      security: []
      description: Log a website pageview. Used for website analytics.
      tags:
      - Metrics
      operationId: logWebsitePageview
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LogWebsitePageviewRequest'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericApiResponse'
  /api-metrics/events:
    post:
      summary: Log analytics event
      security: []
      x-internal-api: true
      description: Log an analytics event.
      tags:
      - Metrics
      operationId: logAnalyticsEvent
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LogAnalyticsEventRequest'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericApiResponse'
components:
  schemas:
    GetPublicMetricsResponse:
      allOf:
      - $ref: '#/components/schemas/GenericApiResponse'
      - type: object
        required:
        - projects
        - data_samples
        - jobs
        properties:
          projects:
            type: integer
          data_samples:
            type: integer
          jobs:
            type: integer
    LogAnalyticsEventRequest:
      type: object
      required:
      - eventName
      - eventProperties
      properties:
        sessionId:
          type: string
          description: Optional session ID for users who have not signed in yet. Helps match anonymous activity with user activity once they sign in.
        eventName:
          type: string
        eventProperties:
          type: object
    GenericApiResponse:
      type: object
      required:
      - success
      properties:
        success:
          type: boolean
          description: Whether the operation succeeded
        error:
          type: string
          description: Optional error description (set if 'success' was false)
    LogWebsitePageviewRequest:
      type: object
      required:
      - sessionId
      - pageUrl
      properties:
        sessionId:
          type: string
        pageUrl:
          type: string
        pageReferrer:
          type: string
  securitySchemes:
    ApiKeyAuthentication:
      type: apiKey
      in: header
      name: x-api-key
    JWTAuthentication:
      type: apiKey
      in: cookie
      name: jwt
    JWTHttpHeaderAuthentication:
      type: apiKey
      in: header
      name: x-jwt-token