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

# Update App Component Layout



## OpenAPI

````yaml /api-reference/openapi.json post /api/runtime-security/apps/{app_uuid}/components/layout
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}/components/layout:
    post:
      tags:
        - runtime-security-apps
      summary: Update App Component Layout
      operationId: >-
        update_app_component_layout_api_runtime_security_apps__app_uuid__components_layout_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/AppComponentLayoutUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AppComponentRead'
                title: >-
                  Response Update App Component Layout Api Runtime Security
                  Apps  App Uuid  Components Layout Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    AppComponentLayoutUpdate:
      properties:
        components:
          items:
            $ref: '#/components/schemas/AppComponentLayoutItem'
          type: array
          title: Components
      type: object
      required:
        - components
      title: AppComponentLayoutUpdate
    AppComponentRead:
      properties:
        id:
          type: string
          title: Id
        key:
          type: string
          title: Key
        name:
          type: string
          title: Name
        kind:
          type: string
          enum:
            - llm
            - tool
            - retrieval
            - router
            - guardrail
            - output
            - custom
          title: Kind
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        icon:
          anyOf:
            - type: string
            - type: 'null'
          title: Icon
        color:
          anyOf:
            - type: string
            - type: 'null'
          title: Color
        position_x:
          type: number
          title: Position X
        position_y:
          type: number
          title: Position Y
        connects_to:
          items:
            type: string
          type: array
          title: Connects To
        metadata:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Metadata
        event_count_recent:
          type: integer
          title: Event Count Recent
          default: 0
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
      type: object
      required:
        - id
        - key
        - name
        - kind
        - position_x
        - position_y
        - created_at
        - updated_at
      title: AppComponentRead
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AppComponentLayoutItem:
      properties:
        id:
          type: string
          title: Id
        position_x:
          type: number
          title: Position X
        position_y:
          type: number
          title: Position Y
        connects_to:
          items:
            type: string
          type: array
          title: Connects To
      type: object
      required:
        - id
        - position_x
        - position_y
      title: AppComponentLayoutItem
    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

````