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

# Get standard client assignments

> Requires `organization.read + detection_rule.read`. Results are scoped to the authenticated tenant. This reference is generated from source; consult the authenticated live schema for deployment-specific availability. Returns the saved applicability scope and assigned client IDs. An empty `organizationIds` list for selected scope means no clients are assigned; workspace scope applies to all clients. This read does not change assignments or run checks.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/standards/{standard_id}/assignments
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/standards/{standard_id}/assignments:
    get:
      tags:
        - Standards
      summary: Get standard client assignments
      description: >-
        Requires `organization.read + detection_rule.read`. Results are scoped
        to the authenticated tenant. This reference is generated from source;
        consult the authenticated live schema for deployment-specific
        availability. Returns the saved applicability scope and assigned client
        IDs. An empty `organizationIds` list for selected scope means no clients
        are assigned; workspace scope applies to all clients. This read does not
        change assignments or run checks.
      operationId: get_standard_assignments_api_v1_standards__standard_id__assignments_get
      parameters:
        - name: standard_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Standard Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardAssignmentsRead'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - BearerAuth: []
components:
  schemas:
    StandardAssignmentsRead:
      properties:
        standardId:
          type: string
          format: uuid
          title: Standardid
        scopeMode:
          type: string
          enum:
            - workspace
            - selected
          title: Scopemode
        organizationIds:
          items:
            type: string
            format: uuid
          type: array
          title: Organizationids
      type: object
      required:
        - standardId
        - scopeMode
        - organizationIds
      title: StandardAssignmentsRead
    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
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  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.