Agent C Analytics API

The analytics API from Agent C — 3 operation(s) for analytics.

GitHub OpenAPI

Operations 3

GET /v1/analytics/overview Get Analytics Overview #
GET /v1/analytics/content-performance Get Content Performance #
GET /v1/analytics/credit-usage Get Credit Usage #

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/theagentc-io:theagentc-io-analytics-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

theagentc-io-analytics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Agent C Analytics API
  description: AI COO platform — Jarvis Jr. manages your social media content.
  version: 0.1.0
tags:
- name: Analytics
paths:
  /v1/analytics/overview:
    get:
      tags:
      - Analytics
      summary: Get Analytics Overview
      description: 'Get top-line analytics overview for the workspace.


        Returns:

        - total_content: Total content pieces created

        - content_by_type: Breakdown by content type (text, image, video, thread, carousel, pin)

        - content_by_platform: Breakdown by platform (x, youtube, pinterest, instagram)

        - content_status_breakdown: Breakdown by status (draft, pending_approval, approved, posted, failed)

        - total_runs: Total pipeline runs executed

        - successful_runs: Runs with status=completed

        - failed_runs: Runs with status=failed

        - total_credits_used: Total credits consumed this period

        - average_credits_per_run: Average credits used per run

        - content_posted_this_month: Count of posted content'
      operationId: get_analytics_overview_v1_analytics_overview_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                title: Response Get Analytics Overview V1 Analytics Overview Get
      security:
      - HTTPBearer: []
  /v1/analytics/content-performance:
    get:
      tags:
      - Analytics
      summary: Get Content Performance
      description: 'Get content performance metrics.


        Returns:

        - by_content_type: Performance metrics grouped by content type

        - by_platform: Performance metrics grouped by platform

        - time_series: Daily breakdown of content creation and posting over the period

        - total_created: Total content created in period

        - total_posted: Total content posted in period

        - total_failed: Total content that failed'
      operationId: get_content_performance_v1_analytics_content_performance_get
      security:
      - HTTPBearer: []
      parameters:
      - name: days
        in: query
        required: false
        schema:
          type: integer
          maximum: 365
          minimum: 1
          description: Number of days to analyze
          default: 30
          title: Days
        description: Number of days to analyze
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                title: Response Get Content Performance V1 Analytics Content Performance Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/analytics/credit-usage:
    get:
      tags:
      - Analytics
      summary: Get Credit Usage
      description: 'Get credit usage breakdown over time.


        Returns:

        - total_spent: Total credits spent in period

        - total_added: Total credits added in period (resets, purchases)

        - by_reason: Breakdown by transaction reason

        - time_series: Daily credit usage over the period

        - average_daily_spend: Average credits consumed per day'
      operationId: get_credit_usage_v1_analytics_credit_usage_get
      security:
      - HTTPBearer: []
      parameters:
      - name: days
        in: query
        required: false
        schema:
          type: integer
          maximum: 365
          minimum: 1
          description: Number of days to analyze
          default: 30
          title: Days
        description: Number of days to analyze
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                title: Response Get Credit Usage V1 Analytics Credit Usage Get
        '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
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer