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

# Create App Insights Run



## OpenAPI

````yaml /api-reference/openapi.json post /api/runtime-security/apps/{app_uuid}/insights/runs
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/{app_uuid}/insights/runs:
    post:
      tags:
        - runtime-security-apps
      summary: Create App Insights Run
      operationId: >-
        create_app_insights_run_api_runtime_security_apps__app_uuid__insights_runs_post
      parameters:
        - name: app_uuid
          in: path
          required: true
          schema:
            type: string
            title: App Uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InsightsRunCreate'
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InsightsRunRead'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    InsightsRunCreate:
      properties:
        window_days:
          type: integer
          maximum: 90
          minimum: 1
          title: Window Days
          default: 7
        enable_concept_labelling:
          type: boolean
          title: Enable Concept Labelling
          description: >-
            Run Layer D (concept-level shortcut detection). On by default, ships
            with a rule-based labeler that has no external cost.
          default: true
        enable_live_probing:
          type: boolean
          title: Enable Live Probing
          description: >-
            Run Layer C (counterfactual perturbations re-scanned through the
            live firewall). Off by default because it generates synthetic scan
            load.
          default: false
      type: object
      title: InsightsRunCreate
    InsightsRunRead:
      properties:
        id:
          type: string
          title: Id
        status:
          type: string
          enum:
            - pending
            - running
            - complete
            - failed
          title: Status
        window_days:
          type: integer
          title: Window Days
        events_scanned:
          type: integer
          title: Events Scanned
        findings_count:
          type: integer
          title: Findings Count
        error:
          anyOf:
            - type: string
            - type: 'null'
          title: Error
        summary:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Summary
        created_at:
          type: string
          format: date-time
          title: Created At
        started_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Started At
        completed_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Completed At
      type: object
      required:
        - id
        - status
        - window_days
        - events_scanned
        - findings_count
        - created_at
      title: InsightsRunRead
    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

````