Sarj AI Developer API Analytics API

The analytics API from Sarj AI Developer API — 1 operation(s) for analytics.

Operations 1

POST /v1/analytics/dashboard Get Dashboard #

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/sarj-ai-developer-api-analytics-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 email required.

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

OpenAPI Specification

sarj-ai-developer-api-analytics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sarj Ai Developer Analytics API
  version: 1.0.0
  description: 'Operations tagged analytics across 2 of this provider''s published API definitions: sarj-ai-developer-api-analytics-api-openapi.yml, sarj-ai-developer-api-voice-platform-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://platform-api.sarj.ai/api/v1
  description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: analytics
paths:
  /v1/analytics/dashboard:
    post:
      tags:
      - analytics
      summary: Get Dashboard
      operationId: analyticsGetDashboard
      requestBody:
        content:
          application/json:
            schema:
              anyOf:
              - $ref: '#/components/schemas/StandardPeriod'
              - $ref: '#/components/schemas/CustomPeriod'
              title: Period Input
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DashboardResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    servers:
    - url: https://platform-api.sarj.ai/api/v1
      description: Base URL declared by the provider in apis.yml (roadmap#122).
components:
  schemas:
    DashboardResponse:
      properties:
        kpi:
          $ref: '#/components/schemas/KPI'
        chart:
          items:
            $ref: '#/components/schemas/SeriesPoint'
          type: array
          title: Chart
      type: object
      required:
      - kpi
      - chart
      title: DashboardResponse
    SeriesPoint:
      properties:
        bucket:
          type: string
          title: Bucket
        inbound:
          type: integer
          title: Inbound
        outbound:
          type: integer
          title: Outbound
      type: object
      required:
      - bucket
      - inbound
      - outbound
      title: SeriesPoint
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    CustomPeriod:
      properties:
        period:
          type: string
          const: custom
          title: Period
          default: custom
        start_date:
          type: string
          format: date-time
          title: Start Date
        end_date:
          type: string
          format: date-time
          title: End Date
      type: object
      required:
      - start_date
      - end_date
      title: CustomPeriod
    StandardPeriod:
      properties:
        period:
          type: string
          enum:
          - today
          - week
          - month
          - quarter
          title: Period
      type: object
      required:
      - period
      title: StandardPeriod
    KPI:
      properties:
        total_calls:
          type: integer
          title: Total Calls
        average_duration_seconds:
          type: integer
          title: Average Duration Seconds
        success_rate:
          type: number
          title: Success Rate
        total_calls_trend_percentage:
          type: number
          title: Total Calls Trend Percentage
        success_rate_trend_percentage:
          type: number
          title: Success Rate Trend Percentage
        average_duration_trend_percentage:
          type: number
          title: Average Duration Trend Percentage
        trend_period_label:
          type: string
          title: Trend Period Label
        inbound_calls:
          type: integer
          title: Inbound Calls
        outbound_calls:
          type: integer
          title: Outbound Calls
        scenarios_used:
          type: integer
          title: Scenarios Used
      type: object
      required:
      - total_calls
      - average_duration_seconds
      - success_rate
      - total_calls_trend_percentage
      - success_rate_trend_percentage
      - average_duration_trend_percentage
      - trend_period_label
      - inbound_calls
      - outbound_calls
      - scenarios_used
      title: KPI
    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
x-refined-from:
- sarj-ai-developer-api-analytics-api-openapi.yml
- sarj-ai-developer-api-voice-platform-openapi.json