> ## 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.

# Get Apps Posture

> Live per-App runtime posture over a rolling window.

Returns the allow/redact/block/flag verdict split, block-rate, p95 injection
score, event count and last event for every App with traffic in the window.
A single workspace-scoped aggregation so the Apps list can render posture
without one metrics fetch per row.



## OpenAPI

````yaml /api-reference/openapi.json get /api/runtime-security/apps/posture
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/apps/posture:
    get:
      tags:
        - runtime-security-apps
      summary: Get Apps Posture
      description: >-
        Live per-App runtime posture over a rolling window.


        Returns the allow/redact/block/flag verdict split, block-rate, p95
        injection

        score, event count and last event for every App with traffic in the
        window.

        A single workspace-scoped aggregation so the Apps list can render
        posture

        without one metrics fetch per row.
      operationId: get_apps_posture_api_runtime_security_apps_posture_get
      parameters:
        - name: window_hours
          in: query
          required: false
          schema:
            type: integer
            maximum: 168
            minimum: 1
            default: 24
            title: Window Hours
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppsPostureResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    AppsPostureResponse:
      properties:
        window_hours:
          type: integer
          title: Window Hours
        generated_at:
          type: string
          format: date-time
          title: Generated At
        apps:
          items:
            $ref: '#/components/schemas/AppPostureRead'
          type: array
          title: Apps
      type: object
      required:
        - window_hours
        - generated_at
        - apps
      title: AppsPostureResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AppPostureRead:
      properties:
        app_id:
          type: string
          title: App Id
        event_count:
          type: integer
          title: Event Count
        allow:
          type: integer
          title: Allow
        redact:
          type: integer
          title: Redact
        block:
          type: integer
          title: Block
        flag:
          type: integer
          title: Flag
        block_rate:
          type: number
          title: Block Rate
        p95_injection_score:
          type: number
          title: P95 Injection Score
        last_event_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Last Event At
      type: object
      required:
        - app_id
        - event_count
        - allow
        - redact
        - block
        - flag
        - block_rate
        - p95_injection_score
        - last_event_at
      title: AppPostureRead
    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

````