Aha.io Assistant usage API

The Assistant usage API from Aha.io — 1 operation(s) for assistant usage.

Operations 1

GET /usage/assistant_users List assistant users within a time window #

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/aha:aha-assistant-usage-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

aha-assistant-usage-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Aha! Assistant usage API
  version: 1.0.0
  description: Complete API documentation for Aha! generated from actual test responses
  contact:
    name: Aha! Support
    url: https://www.aha.io/support
servers:
- url: https://{account-domain}.aha.io/api/v1
  description: Aha! API Server
  variables:
    account-domain:
      description: Your Aha! account domain
      default: company
security:
- OAuth2: []
- ApiKeyAuth: []
- CookieAuth: []
tags:
- name: Assistant usage
paths:
  /usage/assistant_users:
    get:
      summary: List assistant users within a time window
      description: Retrieve per-user AI assistant activity to monitor adoption trends and export daily usage snapshots.
      tags:
      - Assistant usage
      parameters:
      - name: page
        in: query
        required: false
        schema:
          type: string
        example: '1'
      - name: per_page
        in: query
        required: false
        schema:
          type: string
        example: '30'
      - name: start_at
        in: query
        required: false
        schema:
          type: string
        example: '2019-01-01T00:00:00Z'
      - name: end_at
        in: query
        required: false
        schema:
          type: string
        example: '2019-01-01T00:00:00Z'
      responses:
        '200':
          description: Successful operation
          headers:
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
          content:
            application/json; charset=utf-8:
              schema:
                $ref: '#/components/schemas/AssistantusageGetResponse'
              example:
                users:
                - id: 871344824
                  name: Joan Smith
                  email: no-reply@aha.io
                  message_count: 2
                - id: 1020675218
                  name: Mary Humpty
                  email: no-reply@aha.io
                  message_count: 1
                pagination:
                  total_records: 2
                  total_pages: 1
                  current_page: 1
        '422':
          description: Validation error
          headers:
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
          content:
            application/json; charset=utf-8:
              schema:
                $ref: '#/components/schemas/AssistantusageGet422Response'
              example:
                error: end_at must be after start_at
      security:
      - OAuth2: []
      - ApiKeyAuth: []
      - CookieAuth: []
      operationId: getUsageAssistantUsers
      x-operation-id-source: derived
components:
  schemas:
    AssistantusageGetResponse:
      type: object
      properties:
        users:
          type: array
          items:
            type: object
            properties:
              id:
                type: integer
                example: 871344824
              name:
                type: string
                example: Joan Smith
              email:
                type: string
                example: no-reply@aha.io
              message_count:
                type: integer
                example: 2
            example:
              id: 871344824
              name: Joan Smith
              email: no-reply@aha.io
              message_count: 2
          example:
          - id: 871344824
            name: Joan Smith
            email: no-reply@aha.io
            message_count: 2
          - id: 1020675218
            name: Mary Humpty
            email: no-reply@aha.io
            message_count: 1
        pagination:
          type: object
          properties:
            total_records:
              type: integer
              example: 2
            total_pages:
              type: integer
              example: 1
            current_page:
              type: integer
              example: 1
          example:
            total_records: 2
            total_pages: 1
            current_page: 1
      example:
        users:
        - id: 871344824
          name: Joan Smith
          email: no-reply@aha.io
          message_count: 2
        - id: 1020675218
          name: Mary Humpty
          email: no-reply@aha.io
          message_count: 1
        pagination:
          total_records: 2
          total_pages: 1
          current_page: 1
    AssistantusageGet422Response:
      type: object
      properties:
        error:
          type: string
          example: end_at must be after start_at
      example:
        error: end_at must be after start_at
  securitySchemes:
    OAuth2:
      type: oauth2
      description: OAuth2 authentication with bearer tokens
      flows:
        authorizationCode:
          authorizationUrl: https://{account-domain}.aha.io/oauth/authorize
          tokenUrl: https://{account-domain}.aha.io/oauth/token
          scopes: {}
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: API key authentication using Bearer token in Authorization header. Generate API keys at https://secure.aha.io/settings/api_keys
    CookieAuth:
      type: apiKey
      in: cookie
      name: session
      description: Cookie-based authentication for web browser integration
x-provenance:
  method: harvested
  publisher: Aha.io
  source: https://www.aha.io/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)