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

# Get Threat Blocker blocks by weekday and hour

> Count when the Threat Blocker's Threat Intelligence blocks happen: a weekday by hour grid, Monday first, hours 0 to 23 in Italian time. It is the heatmap on the status page. Every role that can see the appliance can read it.



## OpenAPI

````yaml get /api/v1/atb/{atb_id}/activity-week
openapi: 3.1.0
info:
  title: Aegister API
  version: 2.10.0
servers: []
security: []
paths:
  /api/v1/atb/{atb_id}/activity-week:
    get:
      tags:
        - atb
      summary: ATB Threat Intelligence blocks by weekday and hour
      description: >-
        When the Threat Intelligence blocks happen: a weekday x hour matrix
        (Monday first, hours 0-23 in

        Europe/Rome) of the ATB's `action:deny AND crime_level:high` traffic,
        the same set the insights

        view counts as `ti_blocked`. Feeds the status page heatmap.
      operationId: atb_activity_week_retrieve
      parameters:
        - in: path
          name: atb_id
          schema:
            type: integer
          required: true
        - in: query
          name: minutes
          schema:
            type: number
            default: 10080
          description: Window in minutes (30-43200).
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: integer
                    description: |-
                      Any value different from 0 indicates an error.  
                      More details can be found in `messages`.
                    minimum: 0
                    maximum: 0
                    examples:
                      - 0
                  messages:
                    type: array
                    description: >-
                      If `error` is `1`, contains zero or more details on the
                      error.
                    examples:
                      - []
                  data:
                    type: object
          description: ''
        '401':
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: integer
                    description: |-
                      Any value different from 0 indicates an error.  
                      More details can be found in `messages`.
                    minimum: 0
                    maximum: 0
                    examples:
                      - 1
                  messages:
                    type: array
                    description: >-
                      If `error` is `1`, contains zero or more details on the
                      error.
                    examples:
                      - - 9153
          description: ''
        '404':
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: integer
                    description: |-
                      Any value different from 0 indicates an error.  
                      More details can be found in `messages`.
                    minimum: 0
                    maximum: 0
                    examples:
                      - 1
                  messages:
                    type: array
                    description: >-
                      If `error` is `1`, contains zero or more details on the
                      error.
                    examples:
                      - []
          description: ''
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-Aegister-Token

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.