AppDirect Usage & Analytics API

Monitor organization and AI usage metrics

Operations 2

GET /api/v1/usage/ai Get organization usage metrics by AI #
GET /api/v1/usage/org Get organization usage metrics #

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/appdirect-usage-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

appdirect-usage-analytics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: The Companies API allows developers to manage marketplace companies and their user memberships.
  title: Companies AI Embed Usage & Analytics API
  license:
    name: Apache License, Version 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0
  version: v296.0-SNAPSHOT
servers:
- url: https://marketplace.appdirect.com/api
- url: https://virtserver.swaggerhub.com
tags:
- name: Usage & Analytics
  description: Monitor organization and AI usage metrics
paths:
  /api/v1/usage/ai:
    get:
      tags:
      - Usage & Analytics
      summary: Get organization usage metrics by AI
      description: Returns the usage metrics of the organization broken down by AI.
      operationId: getOrgUsageByAI
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgUsageByAI'
        '404':
          description: Organization not found
        '500':
          description: Internal Server Error
  /api/v1/usage/org:
    get:
      tags:
      - Usage & Analytics
      summary: Get organization usage metrics
      description: Returns usage metrics for the organization.
      operationId: getOrgUsage
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgUsage'
        '401':
          description: Missing authorization context. User must be authenticated.
        '403':
          description: Forbidden, the user is not authorized to perform this action.
        '500':
          description: Internal Server Error
components:
  schemas:
    AIUsage:
      type: object
      properties:
        aiId:
          type: string
          description: Unique identifier for the AI instance.
        aiDataTokensUsed:
          type:
          - number
          - 'null'
          description: Number of data tokens used by this AI instance.
        aiApiTokensUsed:
          type:
          - number
          - 'null'
          description: Number of API tokens used by this AI instance.
    OrgUsageByAI:
      type: object
      properties:
        orgUsage:
          $ref: '#/components/schemas/OrgUsage'
        aiUsages:
          type: array
          items:
            $ref: '#/components/schemas/AIUsage'
    OrgUsage:
      type: object
      properties:
        orgId:
          type: string
          description: Unique identifier for the organization.
        dataTokensUsed:
          type: number
          description: Number of data tokens used by the organization.
        dataUsageTokenLimit:
          type:
          - number
          - 'null'
          description: The data token usage limit for the organization, if any.
        apiTokensUsed:
          type: number
          description: Number of API tokens used by the organization.
        apiUsageTokenLimit:
          type:
          - number
          - 'null'
          description: The API token usage limit for the organization, if any.