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

# Read compact workspace Overview panels

> Requires `dashboard.read`. Results are scoped to the authenticated tenant. This reference is generated from source; consult the authenticated live schema for deployment-specific availability. Returns only `needsAttention`, `integrationHealth` and `discovery`; it does not include alignment percentages, assessment counts or control results. The mounted workspace Overview reads alignment statistics separately. `needsAttention` is capped at four open findings. `organizationId` is the canonical optional client filter; the legacy `organization_id` spelling is also accepted, and `organizationId` takes precedence if both are supplied. Without a client filter, client lists and discovery scope cover the tenant. With one, `needsAttention`, `organizationsInScope`, `organizationsObserved` and `unobservedOrganizations` are narrowed to that client; `fullyObserved` follows the selected client scope. `integrationHealth` (up to six integrations, ordered by name), `connectedIntegrations`, `totalIntegrations`, `unmappedRemoteCompanies` and `everSwept` remain tenant-wide. `unobservedOrganizations` is capped at six entries. `everSwept` reports whether any tenant sweep completed or failed; `everLooked` is true when the selected scope has active, non-superseded, unretracted facts or the tenant has a terminal sweep. These are discovery signals, not a freshness threshold or a passing control result. Neither is a client-specific assessment timestamp. A missing or foreign client ID returns 404; a caller without `dashboard.read` receives 403. This read neither starts collection nor evaluates controls.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/dashboard/workspace-home
openapi: 3.1.0
info:
  title: Alignr API
  version: 0.1.0
  description: >-
    Selected read operations. Generated from the Alignr application; no tenant
    data is included.
servers:
  - url: https://api.alignr.io
security: []
paths:
  /api/v1/dashboard/workspace-home:
    get:
      tags:
        - Dashboard
      summary: Read compact workspace Overview panels
      description: >-
        Requires `dashboard.read`. Results are scoped to the authenticated
        tenant. This reference is generated from source; consult the
        authenticated live schema for deployment-specific availability. Returns
        only `needsAttention`, `integrationHealth` and `discovery`; it does not
        include alignment percentages, assessment counts or control results. The
        mounted workspace Overview reads alignment statistics separately.
        `needsAttention` is capped at four open findings. `organizationId` is
        the canonical optional client filter; the legacy `organization_id`
        spelling is also accepted, and `organizationId` takes precedence if both
        are supplied. Without a client filter, client lists and discovery scope
        cover the tenant. With one, `needsAttention`, `organizationsInScope`,
        `organizationsObserved` and `unobservedOrganizations` are narrowed to
        that client; `fullyObserved` follows the selected client scope.
        `integrationHealth` (up to six integrations, ordered by name),
        `connectedIntegrations`, `totalIntegrations`, `unmappedRemoteCompanies`
        and `everSwept` remain tenant-wide. `unobservedOrganizations` is capped
        at six entries. `everSwept` reports whether any tenant sweep completed
        or failed; `everLooked` is true when the selected scope has active,
        non-superseded, unretracted facts or the tenant has a terminal sweep.
        These are discovery signals, not a freshness threshold or a passing
        control result. Neither is a client-specific assessment timestamp. A
        missing or foreign client ID returns 404; a caller without
        `dashboard.read` receives 403. This read neither starts collection nor
        evaluates controls.
      operationId: workspace_home_api_v1_dashboard_workspace_home_get
      parameters:
        - name: organization_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: uuid
              - type: 'null'
            title: Organization Id
        - name: organizationId
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: uuid
              - type: 'null'
            title: Organizationid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkspaceHomeRead'
        '403':
          description: The authenticated user or API key lacks `dashboard.read`.
        '404':
          description: >-
            The selected Organization does not exist in the authenticated
            tenant.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - BearerAuth: []
components:
  schemas:
    WorkspaceHomeRead:
      properties:
        needsAttention:
          items:
            $ref: '#/components/schemas/WorkspaceNeedsAttentionItem'
          type: array
          title: Needsattention
        integrationHealth:
          items:
            $ref: '#/components/schemas/WorkspaceIntegrationHealth'
          type: array
          title: Integrationhealth
        discovery:
          $ref: '#/components/schemas/WorkspaceDiscoveryPosture'
      type: object
      required:
        - needsAttention
        - integrationHealth
        - discovery
      title: WorkspaceHomeRead
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    WorkspaceNeedsAttentionItem:
      properties:
        detectionId:
          type: string
          format: uuid
          title: Detectionid
        ref:
          type: string
          title: Ref
        title:
          type: string
          title: Title
        subject:
          type: string
          title: Subject
        organizationId:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Organizationid
        organizationName:
          type: string
          title: Organizationname
        severity:
          type: string
          title: Severity
        actionLabel:
          type: string
          title: Actionlabel
      type: object
      required:
        - detectionId
        - ref
        - title
        - subject
        - organizationId
        - organizationName
        - severity
        - actionLabel
      title: WorkspaceNeedsAttentionItem
    WorkspaceIntegrationHealth:
      properties:
        mode:
          type: string
          title: Mode
          default: unverified
        integrationId:
          type: string
          format: uuid
          title: Integrationid
        name:
          type: string
          title: Name
        icon:
          type: string
          title: Icon
        status:
          type: string
          title: Status
        lastSyncAt:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Lastsyncat
          description: >-
            Most recent fully completed collection; partial or failed attempts
            do not advance it.
        latestAttemptAt:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Latestattemptat
          description: >-
            Started-at time of the newest recorded sync attempt, regardless of
            outcome.
        latestAttemptStatus:
          anyOf:
            - type: string
            - type: 'null'
          title: Latestattemptstatus
          description: >-
            Outcome of the newest attempt: running, completed, partial or
            failed.
        authRequiredMappingCount:
          type: integer
          title: Authrequiredmappingcount
          description: >-
            Current customer mappings requiring authorisation for this
            integration.
          default: 0
      type: object
      required:
        - integrationId
        - name
        - icon
        - status
        - lastSyncAt
      title: WorkspaceIntegrationHealth
      description: >-
        Tenant-wide connection health with complete evidence and latest attempt
        split.
    WorkspaceDiscoveryPosture:
      properties:
        connectedIntegrations:
          type: integer
          title: Connectedintegrations
        totalIntegrations:
          type: integer
          title: Totalintegrations
        unmappedRemoteCompanies:
          type: integer
          title: Unmappedremotecompanies
        organizationsInScope:
          type: integer
          title: Organizationsinscope
        organizationsObserved:
          type: integer
          title: Organizationsobserved
        unobservedOrganizations:
          items:
            $ref: '#/components/schemas/WorkspaceUnobservedOrganization'
          type: array
          title: Unobservedorganizations
        everSwept:
          type: boolean
          title: Everswept
        everLooked:
          type: boolean
          title: Everlooked
        fullyObserved:
          type: boolean
          title: Fullyobserved
      type: object
      required:
        - connectedIntegrations
        - totalIntegrations
        - unmappedRemoteCompanies
        - organizationsInScope
        - organizationsObserved
        - unobservedOrganizations
        - everSwept
        - everLooked
        - fullyObserved
      title: WorkspaceDiscoveryPosture
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    WorkspaceUnobservedOrganization:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        name:
          type: string
          title: Name
        unmapped:
          type: boolean
          title: Unmapped
      type: object
      required:
        - id
        - name
        - unmapped
      title: WorkspaceUnobservedOrganization
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: An Alignr API key.

````

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