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

# Discovery Activity

> Daily connections to AI services: this window against the one before it.

Read from the per-day rollup, never from ``hit_count`` (a running total with
no time dimension). Both series are the same length and gap-filled with
zeros so the trend can be drawn like-for-like.

``collecting_since`` is the first day we have any rollup for. It is null on a
workspace whose agents have not reported since the rollup shipped, which is
the honest signal that there is nothing to chart yet rather than a flat zero
line implying no AI traffic.



## OpenAPI

````yaml /api-reference/openapi.json get /api/runtime-security/discovery/activity
openapi: 3.1.0
info:
  title: Blindsight API
  version: 0.1.0
  description: >-
    The full Blindsight REST surface, generated from the running application.
    Replace the server host with your own deployment.


    For the Runtime Security integration surface (scan, proxy, tool calls) see
    the Runtime Security spec, which is hand written and carries worked
    examples.
servers:
  - url: https://api.your-blindsight.com
    description: Your Blindsight deployment
security: []
paths:
  /api/runtime-security/discovery/activity:
    get:
      tags:
        - runtime-security-discovery
      summary: Discovery Activity
      description: >-
        Daily connections to AI services: this window against the one before it.


        Read from the per-day rollup, never from ``hit_count`` (a running total
        with

        no time dimension). Both series are the same length and gap-filled with

        zeros so the trend can be drawn like-for-like.


        ``collecting_since`` is the first day we have any rollup for. It is null
        on a

        workspace whose agents have not reported since the rollup shipped, which
        is

        the honest signal that there is nothing to chart yet rather than a flat
        zero

        line implying no AI traffic.
      operationId: discovery_activity_api_runtime_security_discovery_activity_get
      parameters:
        - name: days
          in: query
          required: false
          schema:
            type: integer
            maximum: 365
            minimum: 2
            description: Length of the trend window in days
            default: 30
            title: Days
          description: Length of the trend window in days
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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

````