Oviond Calculated Metrics API

The Calculated Metrics API from Oviond — 3 operation(s) for calculated metrics.

GitHub OpenAPI

Operations 5

GET /v1/calculated-metrics List Calculated Metrics #
POST /v1/calculated-metrics Create Calculated Metric #
PUT /v1/calculated-metrics/{id} Update Calculated Metric #
DELETE /v1/calculated-metrics/{id} Archive Calculated Metric #
POST /v1/calculated-metrics/{id}/duplicate Duplicate Calculated Metric #

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/oviond-com:oviond-com-calculated-metrics-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

oviond-com-calculated-metrics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Oviond Backend Calculated Metrics API
  version: 1.0.0
  description: Authentication, account management, billing, and media services for Oviond.
  x-logo:
    url: https://app.oviond.com/img/oviond-full-logo.svg
    altText: Oviond
servers:
- url: https://api.oviond.com
  description: Production
security:
- ApiKeyAuth: []
- BearerAuth: []
tags:
- name: Calculated Metrics
paths:
  /v1/calculated-metrics:
    get:
      tags:
      - Calculated Metrics
      summary: List Calculated Metrics
      description: List all calculated metrics for the current account
      responses:
        '200':
          description: Calculated metrics list
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListCalculatedMetricsResponse'
      operationId: list_calculated_metrics
    post:
      tags:
      - Calculated Metrics
      summary: Create Calculated Metric
      description: Create a new calculated metric
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateCalculatedMetricRequest'
      responses:
        '201':
          description: Metric created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateCalculatedMetricResponse'
      operationId: create_calculated_metric
  /v1/calculated-metrics/{id}:
    put:
      tags:
      - Calculated Metrics
      summary: Update Calculated Metric
      description: Update a calculated metric
      parameters:
      - schema:
          type: string
        required: true
        name: id
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateCalculatedMetricRequest'
      responses:
        '200':
          description: Metric updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessResponse'
        '404':
          description: Metric not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
      operationId: update_calculated_metric
    delete:
      tags:
      - Calculated Metrics
      summary: Archive Calculated Metric
      description: Archive a calculated metric. Recoverable from the archive.
      parameters:
      - schema:
          type: string
        required: true
        name: id
        in: path
      responses:
        '200':
          description: Metric archived
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessResponse'
        '404':
          description: Metric not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
      operationId: archive_calculated_metric
  /v1/calculated-metrics/{id}/duplicate:
    post:
      tags:
      - Calculated Metrics
      summary: Duplicate Calculated Metric
      description: Duplicate a calculated metric
      parameters:
      - schema:
          type: string
        required: true
        name: id
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DuplicateCalculatedMetricRequest'
      responses:
        '201':
          description: Duplicate metric created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateCalculatedMetricResponse'
        '404':
          description: Source metric not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
      operationId: duplicate_calculated_metric
components:
  schemas:
    CreateCalculatedMetricResponse:
      type: object
      properties:
        success:
          type: boolean
          enum:
          - true
        data:
          type: object
          properties:
            id:
              type: string
          required:
          - id
      required:
      - success
      - data
    MetricSelection:
      type: object
      properties:
        value:
          type: string
        label:
          type: string
        data_view:
          type: string
      required:
      - value
    FormulaToken:
      type: object
      properties:
        id:
          type: string
        type:
          type: string
          enum:
          - METRIC
          - NUMBER
          - OPERATOR
        query:
          $ref: '#/components/schemas/MetricQuery'
        number:
          type:
          - number
          - 'null'
        operator:
          type:
          - string
          - 'null'
          enum:
          - +
          - '-'
          - '*'
          - /
          - ×
          - ÷
          - (
          - )
      required:
      - id
      - type
    MetricQuery:
      type:
      - object
      - 'null'
      properties:
        datasource_id:
          type: string
          enum:
          - advanced-web-ranking
          - ac
          - adroll
          - ahrefs
          - basecamp
          - brightlocal
          - call-rail
          - drip
          - keywords
          - sendin-blue
          - sendgrid
          - moosend
          - mautic
          - mailer-lite
          - pingdom
          - uptime-robot
          - piwik-pro
          - wordpress
          - pabbly-connect
          - ment
          - twilio
          - switchy
          - vimeo
          - pinterest
          - pinterest-ads
          - gtres
          - paypal
          - gps
          - gs
          - CUSTOM_IMPORT
          - CUSTOM_DATA
          - CALCULATION
          - GOALS
          - str
          - wistia
          - ca-mon
          - convertkit
          - woocommerce
          - xero
          - matomo
          - go-high-level
          - wcs
          - bing-webmaster-tools
          - pipedrive
          - salesforce
          - tiktok
          - tiktok-ads
          - twr
          - twr-ads
          - spf
          - ytbe
          - google-local-services-ads
          - klaviyo
          - gsh
          - ga4
          - lkdin-ads
          - lkdin-pg
          - mlchmp
          - inst-ads
          - inst
          - fb-ads
          - fb-pg
          - gmb
          - serpstat
          - hubspot
          - gadw
          - sem-rush
          - se-ranking
          - microsoft-ads
          - plausible
          - snapchat-ads
          - microsoft-clarity
          - serp-watch
          - vbout
          - moz
          - chatgpt-ads
          - omnisend
          - lemlist
          - airtable
          - nozzle
          - surnex
          - jira
          - clickup
          - make
          - freshdesk
          - chart-mogul
          - amplitude
          - harvest
          - zoho-crm
          - clockify
          - adtraction
          - shopify
          - copper
          - help-scout-docs
          - close-crm
          - simplesat
          - help-scout-mailbox
          - paddle
          - endorsal
          - seocrawl
          - encharge
          - teamwork
          - slack
          - asana
          - typeform
          - appfigures
          - intercom
          - bigcommerce
          - monday
          - demo
        data_view:
          type: string
        metrics:
          type: array
          items:
            $ref: '#/components/schemas/MetricSelection'
        dimensions:
          type: array
          items:
            $ref: '#/components/schemas/DimensionSelection'
        filters:
          type: array
          items:
            $ref: '#/components/schemas/WidgetFilter'
        advanced:
          type: object
          additionalProperties: {}
    DimensionSelection:
      type: object
      properties:
        value:
          type: string
        label:
          type: string
        data_view:
          type: string
      required:
      - value
    ListCalculatedMetricsResponse:
      type: object
      properties:
        success:
          type: boolean
          enum:
          - true
        data:
          type: array
          items:
            $ref: '#/components/schemas/CalculatedMetric'
      required:
      - success
      - data
    CalculatedMetric:
      type: object
      properties:
        id:
          type: string
          example: metric123
        name:
          type: string
          example: CTR
        formula:
          $ref: '#/components/schemas/Formula'
        symbol:
          type: string
          enum:
          - numbers
          - decimal
          - '%'
          - currency
          example: '%'
        accountid:
          type: string
        created_at: {}
        updated_at: {}
      required:
      - id
      - name
      - formula
      - accountid
    DuplicateCalculatedMetricRequest:
      type: object
      properties:
        new_name:
          type: string
          example: CTR (Copy)
      required:
      - new_name
    SuccessResponse:
      type: object
      properties:
        success:
          type: boolean
          enum:
          - true
      required:
      - success
    CreateCalculatedMetricRequest:
      type: object
      properties:
        name:
          type: string
          minLength: 1
          example: CTR
        formula:
          $ref: '#/components/schemas/Formula'
        symbol:
          type: string
          enum:
          - numbers
          - decimal
          - '%'
          - currency
          example: '%'
      required:
      - name
      - formula
      - symbol
    WidgetFilter:
      type: object
      properties:
        id:
          anyOf:
          - type: number
          - type: string
        field:
          type: string
          example: sessionMedium
        operator:
          type: string
          description: 'Canonical: equals, not_equals, contains, not_contains, starts_with, ends_with, greater_than, less_than, greater_than_or_equal, less_than_or_equal (vendor tokens also accepted).'
          example: contains
        value:
          anyOf:
          - type: string
          - type: number
          - type: boolean
          - type: array
            items: {}
          example: cpc
        logicalOperator:
          type: string
          enum:
          - and
          - or
    Formula:
      anyOf:
      - type: array
        items:
          $ref: '#/components/schemas/FormulaToken'
      - type: string
      description: 'Array of formula tokens in evaluation order. CTR = clicks ÷ impressions × 100 is five tokens: METRIC(clicks), OPERATOR(÷), METRIC(impressions), OPERATOR(×), NUMBER(100). Operators accept both the Unicode × ÷ the UI writes and the ASCII * / on migrated rows.'
    UpdateCalculatedMetricRequest:
      type: object
      properties:
        name:
          type: string
          minLength: 1
        formula:
          $ref: '#/components/schemas/Formula'
        symbol:
          type: string
          enum:
          - numbers
          - decimal
          - '%'
          - currency
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: Oviond API key (prefix `oviond_`) sent as a Bearer token — the credential for REST/programmatic and headless integrations. Manage keys in Settings → API Keys. API keys do NOT authenticate the MCP endpoint (/mcp), which uses OAuth 2.1 + PKCE.
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Supabase-issued JWT used by the Oviond web app session. External API consumers should authenticate with an Oviond API key (ApiKeyAuth) instead.