> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fuseai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Agents analytics roll-up

> Signal-agent (watcher) performance for the token owner's team, proxied from the agents service: totals (agents, active agents, prospects found split into people and companies), a breakdown by agent kind and list type, a breakdown by agent status (active, paused, initializing, expired, ...) and the prospects-found series (daily MM/DD buckets up to 31 days, ISO-week buckets labelled by their Monday for 90d). Only agents created inside the window are counted, together with the prospects those agents delivered. `byType[].monitorType` is the engine's own agent slug and is coarser than the `type` used to create agents: several slugs map to one public type. Rate limit: 20 requests per minute, 1000 per day.

Errors:
- `422` `VALIDATION_FAILED` — `range` was sent and is not one of 7d, 30d or 90d.
- `429` `RATE_LIMITED` — Per-user quota for this endpoint family exceeded (20 per minute, 1000 per day); retry after the Retry-After / RateLimit-Reset seconds.

Requires one of the following token scopes: analytics.



## OpenAPI

````yaml /openapi.json get /business/analytics/agents
openapi: 3.1.0
info:
  title: Fuse Business API
  version: 1.0.0
  description: >-
    External API for lists, campaigns, prospect search and contacts.
    Authenticate with your API token as HTTP Basic. All paths are under /api/v1.
servers:
  - url: https://api.tryfuse.ai/api/v1
    description: Production
security:
  - basicAuth: []
tags:
  - name: Lists
  - name: Custom columns
  - name: Smart columns
  - name: Exports
  - name: Campaigns
  - name: Knowledge hubs
  - name: Analytics
  - name: Website intent
  - name: Account
  - name: Prospect search
  - name: Campaign steps
  - name: Scheduled sends
  - name: Campaign templates
  - name: Agents
  - name: Research
  - name: Company search
  - name: Saved searches
  - name: Folders
  - name: Contacts
paths:
  /business/analytics/agents:
    get:
      tags:
        - Analytics
      summary: Agents analytics roll-up
      description: >-
        Signal-agent (watcher) performance for the token owner's team, proxied
        from the agents service: totals (agents, active agents, prospects found
        split into people and companies), a breakdown by agent kind and list
        type, a breakdown by agent status (active, paused, initializing,
        expired, ...) and the prospects-found series (daily MM/DD buckets up to
        31 days, ISO-week buckets labelled by their Monday for 90d). Only agents
        created inside the window are counted, together with the prospects those
        agents delivered. `byType[].monitorType` is the engine's own agent slug
        and is coarser than the `type` used to create agents: several slugs map
        to one public type. Rate limit: 20 requests per minute, 1000 per day.


        Errors:

        - `422` `VALIDATION_FAILED` — `range` was sent and is not one of 7d, 30d
        or 90d.

        - `429` `RATE_LIMITED` — Per-user quota for this endpoint family
        exceeded (20 per minute, 1000 per day); retry after the Retry-After /
        RateLimit-Reset seconds.


        Requires one of the following token scopes: analytics.
      operationId: getAgentAnalytics
      parameters:
        - name: range
          in: query
          required: false
          description: >-
            Rolling window ending now: 7d, 30d (default) or 90d, i.e. the
            roll-up covers the last 7, 30 or 90 days; time-series bucket sizes
            (daily, weekly, monthly) are chosen from the window length.
          schema:
            type: string
            enum:
              - 7d
              - 30d
              - 90d
            default: 30d
            description: >-
              Rolling window ending now: 7d, 30d (default) or 90d, i.e. the
              roll-up covers the last 7, 30 or 90 days; time-series bucket sizes
              (daily, weekly, monthly) are chosen from the window length.
      responses:
        '200':
          description: Success
          headers:
            RateLimit-Limit:
              schema:
                type: integer
              description: Requests permitted in the current window.
            RateLimit-Remaining:
              schema:
                type: integer
              description: Requests remaining in the current window.
            RateLimit-Reset:
              schema:
                type: integer
              description: Seconds until the current window resets.
          content:
            application/json:
              schema:
                type: object
                properties:
                  range:
                    type: string
                    enum:
                      - 7d
                      - 30d
                      - 90d
                  agents:
                    type: object
                    properties:
                      totals:
                        type: object
                        properties:
                          totalAgents:
                            type: integer
                          activeAgents:
                            type: integer
                          totalProspects:
                            type: integer
                          peopleProspects:
                            type: integer
                          companyProspects:
                            type: integer
                        required:
                          - totalAgents
                          - activeAgents
                          - totalProspects
                          - peopleProspects
                          - companyProspects
                      byType:
                        type: array
                        items:
                          type: object
                          properties:
                            monitorType:
                              type: string
                            listType:
                              type: string
                              enum:
                                - people
                                - company
                            agentCount:
                              type: integer
                            prospects:
                              type: integer
                            maxContacts:
                              type: integer
                          required:
                            - monitorType
                            - listType
                            - agentCount
                            - prospects
                            - maxContacts
                      byStatus:
                        type: array
                        items:
                          type: object
                          properties:
                            status:
                              type: string
                              enum:
                                - active
                                - paused
                                - expired
                                - processing
                                - failed
                                - deleted
                                - initializing
                            count:
                              type: integer
                          required:
                            - status
                            - count
                      prospectsOverTime:
                        type: array
                        items:
                          type: object
                          properties:
                            date:
                              type: string
                            people:
                              type: integer
                            companies:
                              type: integer
                          required:
                            - date
                            - people
                            - companies
                    required:
                      - totals
                      - byType
                      - byStatus
                      - prospectsOverTime
                required:
                  - range
                  - agents
              example:
                range: 30d
                agents:
                  totals:
                    totalAgents: 6
                    activeAgents: 4
                    totalProspects: 480
                    peopleProspects: 310
                    companyProspects: 170
                  byType:
                    - monitorType: job_postings
                      listType: company
                      agentCount: 2
                      prospects: 170
                      maxContacts: 500
                    - monitorType: person_starting_new_job
                      listType: people
                      agentCount: 4
                      prospects: 310
                      maxContacts: 1000
                  byStatus:
                    - status: active
                      count: 4
                    - status: paused
                      count: 2
                  prospectsOverTime:
                    - date: 08/23
                      people: 0
                      companies: 0
                    - date: 08/24
                      people: 12
                      companies: 5
                    - date: 08/25
                      people: 9
                      companies: 2
        '400':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - basicAuth: []
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            param:
              type:
                - string
                - 'null'
            doc_url:
              type:
                - string
                - 'null'
            request_id:
              type:
                - string
                - 'null'
          required:
            - code
            - message
      required:
        - error
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: >-
        Your API token (`af_…`) as the Basic-auth username, with an empty
        password.

````