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

# Read an owned retained assessment and its source-authorized conversation

> Current Person authority and source permissions are rechecked. resultRef selects a retained revision; after is a history cursor, not an evidence timestamp. Historical revisions are read-only. Missing source access hides the affected analysis. The token owner selects only their own conversation in the granted workspace. External source-domain grants remain necessary for provider, prediction and semantic evidence. At most 200 unique source checks and a 20-second cooperative budget; capped reads fail explicitly. Use view=summary for polling. Running summaries contain operational metadata only; completed summaries project the selected result and its dependencies, without replaying the entire conversation.



## OpenAPI

````yaml /api-reference/workforce/openapi.json get /api/v1/workforce/setup/assessment
openapi: 3.1.0
info:
  title: Atlas workforce API
  version: 2026-10-preview
  description: >-
    Authenticated workforce staffing-to-draft operations. Released together with
    matching MCP operations. Deploy the reviewed native guard migrations before
    enabling this feature.
servers:
  - url: /
security:
  - AtlasIntegrationBearer: []
paths:
  /api/v1/workforce/setup/assessment:
    get:
      summary: Read an owned retained assessment and its source-authorized conversation
      description: >-
        Current Person authority and source permissions are rechecked. resultRef
        selects a retained revision; after is a history cursor, not an evidence
        timestamp. Historical revisions are read-only. Missing source access
        hides the affected analysis. The token owner selects only their own
        conversation in the granted workspace. External source-domain grants
        remain necessary for provider, prediction and semantic evidence. At most
        200 unique source checks and a 20-second cooperative budget; capped
        reads fail explicitly. Use view=summary for polling. Running summaries
        contain operational metadata only; completed summaries project the
        selected result and its dependencies, without replaying the entire
        conversation.
      operationId: readWorkforceSetupAssessment
      parameters:
        - name: X-Workspace-Id
          in: header
          required: true
          schema:
            type: string
            format: uuid
          description: >-
            Selector within saved grants and current issuer authority; never
            grants authority.
        - name: sessionId
          in: query
          required: true
          schema:
            type: string
            format: uuid
        - name: resultRef
          in: query
          required: false
          schema:
            type: string
            minLength: 1
            maxLength: 200
        - name: after
          in: query
          required: false
          schema:
            default: 0
            type: integer
            minimum: 0
            maximum: 100000
        - name: view
          in: query
          required: false
          schema:
            default: history
            type: string
            enum:
              - history
              - summary
          description: >-
            summary returns lightweight operational progress while running,
            without replaying source queries. A completed plan still rechecks
            source access.
      responses:
        '200':
          description: >-
            Authorized native result. Configuration success does not establish
            operational readiness.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkforceSetupHistory'
        '400':
          description: Missing or malformed transport fields
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing, invalid or expired bearer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Saved grant or current authority denied
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Scoped resource not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Stale source/revision or conflicting request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '413':
          description: Body exceeds 64 KiB
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Invalid or unsupported input
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Concurrent compute limit; retry after 5 seconds
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Required evidence or service unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    WorkforceSetupHistory:
      type: object
      required:
        - sessionId
        - history
        - historyLength
        - workforceAssessment
        - workforceAssessmentResultRef
        - assessmentVersions
        - state
        - assessmentAvailability
      properties:
        sessionId:
          type: string
          format: uuid
        history:
          type: array
          items:
            type: object
        historySources:
          type: array
          items:
            type:
              - string
              - 'null'
        historyLength:
          type: integer
        workforceAssessment:
          anyOf:
            - $ref: '#/components/schemas/WorkforceSetupAssessment'
            - type: 'null'
        workforceAssessmentResultRef:
          type:
            - string
            - 'null'
        assessmentWorkspace:
          type: object
          properties:
            id:
              type: string
            label:
              type: string
        assessmentWindow:
          type:
            - object
            - 'null'
          properties:
            start:
              type: string
              format: date-time
            end:
              type: string
              format: date-time
            timezone:
              type: string
        assessmentVersions:
          type: array
          items:
            type: object
            properties:
              resultRef:
                type: string
              revision:
                type: integer
              current:
                type: boolean
              observedAt:
                type: string
                format: date-time
        state:
          type: object
          properties:
            status:
              type: string
            turnId:
              type: string
            step:
              type: integer
            error:
              type: string
        assessmentAvailability:
          type: object
          required:
            - state
          properties:
            state:
              enum:
                - available
                - unavailable
                - pending
                - wrong_workspace
            reason:
              type: string
            code:
              type: string
              description: >-
                Actionable evidence-read code, including
                workforce.budget_exceeded.
            capped:
              type: boolean
              description: >-
                True when evidence reauthorization reached its bound. No
                partially checked source content is returned; authorized run
                status and stop controls remain available.
        progress:
          type: object
          required:
            - startedAt
            - steps
          properties:
            startedAt:
              type: string
              format: date-time
            steps:
              type: array
              items:
                type: object
                required:
                  - id
                  - label
                  - detail
                  - state
                properties:
                  id:
                    enum:
                      - sources
                      - demand
                      - people
                      - plan
                  label:
                    type: string
                  detail:
                    type: string
                  state:
                    enum:
                      - waiting
                      - checking
                      - checked
                      - needs_attention
            timezone:
              type: string
              description: >-
                Operating timezone of the requested setup history window, when
                available.
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            details: {}
          required:
            - code
            - message
          additionalProperties: false
      required:
        - error
      additionalProperties: false
    WorkforceSetupAssessment:
      type: object
      properties:
        kind:
          const: workforce_setup_assessment
        workspaceId:
          type: string
          format: uuid
        revision:
          type: string
          format: uuid
        observedAt:
          type: string
          format: date-time
        recommendations:
          type: array
          maxItems: 20
          items:
            type: object
            properties:
              key:
                type: string
              kind:
                enum:
                  - forecast_group
                  - scheduling_group
              reason:
                type: string
              configuration:
                type: object
              command:
                type:
                  - object
                  - 'null'
                description: >-
                  Exact native command, including generated retry key and
                  captured source fingerprint. Null when validation fails.
              createReady:
                type: boolean
              operationalReadiness:
                const: not_verified
              issues:
                type: array
                items:
                  type: string
              evidenceRefs:
                type: array
                items:
                  type: string
              assumptions:
                type: array
                items:
                  type: string
              forecastGroupKey:
                type: string
              members:
                type: array
                maxItems: 100
                items:
                  $ref: '#/components/schemas/SchedulingMemberCreate'
              review:
                $ref: '#/components/schemas/WorkforceSetupReview'
            required:
              - key
              - kind
              - configuration
              - command
              - createReady
              - operationalReadiness
              - issues
              - members
        issues:
          type: array
          items:
            $ref: '#/components/schemas/WorkforceSetupFinding'
        window:
          $ref: '#/components/schemas/WorkforceAssessmentWindow'
      required:
        - kind
        - workspaceId
        - revision
        - observedAt
        - recommendations
        - issues
    SchedulingMemberCreate:
      type: object
      properties:
        request_key:
          type: string
          format: uuid
          pattern: >-
            ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
        subject:
          anyOf:
            - type: object
              properties:
                person_id:
                  type: string
                  format: uuid
                  pattern: >-
                    ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
              required:
                - person_id
              additionalProperties: false
            - type: object
              properties:
                employment_assignment_id:
                  type: string
                  format: uuid
                  pattern: >-
                    ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
              required:
                - employment_assignment_id
              additionalProperties: false
        valid_from:
          type: string
          format: date-time
          pattern: >-
            ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
        valid_to:
          default: null
          anyOf:
            - type: string
              format: date-time
              pattern: >-
                ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
            - type: 'null'
        is_primary:
          default: false
          type: boolean
        fte_weight:
          default: 1
          type: number
          exclusiveMinimum: 0
          maximum: 1
        member_state:
          default: active
          type: string
          enum:
            - active
            - on_leave
            - in_training
            - ramping
        reason:
          type: string
          minLength: 1
          maxLength: 2000
      required:
        - subject
        - valid_from
        - reason
      additionalProperties: false
    WorkforceSetupReview:
      type: object
      properties:
        planning:
          type: object
          properties:
            from:
              type: string
            to:
              type: string
            timezone:
              type: string
            residualUnplannedShrinkage:
              type: number
              minimum: 0
              exclusiveMaximum: 1
            basis:
              type: string
              minLength: 1
              maxLength: 2000
            evidenceRefs:
              minItems: 1
              maxItems: 50
              type: array
              items:
                type: string
                minLength: 1
                maxLength: 200
          required:
            - from
            - to
            - timezone
            - residualUnplannedShrinkage
            - basis
            - evidenceRefs
          additionalProperties: false
        queues:
          default: []
          maxItems: 100
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                maxLength: 200
              name:
                type: string
                maxLength: 2000
              interactions:
                anyOf:
                  - type: string
                    maxLength: 2000
                  - type: 'null'
              handleTime:
                anyOf:
                  - type: string
                    maxLength: 2000
                  - type: 'null'
              calendar:
                anyOf:
                  - type: string
                    maxLength: 2000
                  - type: 'null'
              serviceTarget:
                anyOf:
                  - type: string
                    maxLength: 2000
                  - type: 'null'
              grain:
                anyOf:
                  - type: string
                    maxLength: 2000
                  - type: 'null'
              evidenceRefs:
                minItems: 1
                maxItems: 50
                type: array
                items:
                  type: string
                  minLength: 1
                  maxLength: 200
            required:
              - id
              - name
              - interactions
              - handleTime
              - calendar
              - serviceTarget
              - grain
              - evidenceRefs
            additionalProperties: false
        people:
          default: []
          maxItems: 100
          type: array
          items:
            type: object
            properties:
              name:
                type: string
                maxLength: 2000
              personId:
                anyOf:
                  - type: string
                    format: uuid
                    pattern: >-
                      ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                  - type: 'null'
              memberRequestKey:
                anyOf:
                  - type: string
                    format: uuid
                    pattern: >-
                      ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                  - type: 'null'
              providerLink:
                type: string
                maxLength: 2000
              workHandled:
                type: string
                maxLength: 2000
              assignment:
                type: string
                maxLength: 2000
              qualification:
                type: string
                maxLength: 2000
              availability:
                type: string
                maxLength: 2000
              exclusion:
                anyOf:
                  - type: string
                    maxLength: 2000
                  - type: 'null'
              evidenceRefs:
                minItems: 1
                maxItems: 50
                type: array
                items:
                  type: string
                  minLength: 1
                  maxLength: 200
            required:
              - name
              - personId
              - memberRequestKey
              - providerLink
              - workHandled
              - assignment
              - qualification
              - availability
              - exclusion
              - evidenceRefs
            additionalProperties: false
        decisions:
          default: []
          maxItems: 20
          type: array
          items:
            type: object
            properties:
              key:
                type: string
                maxLength: 100
              question:
                type: string
                maxLength: 2000
              explanation:
                type: string
                maxLength: 2000
              field:
                type: string
                enum:
                  - calendar
                  - service_target
                  - context
            required:
              - key
              - question
              - explanation
              - field
            additionalProperties: false
        evidence:
          default: []
          maxItems: 50
          type: array
          items:
            type: object
            properties:
              summary:
                type: string
                maxLength: 2000
              resultRefs:
                minItems: 1
                maxItems: 50
                type: array
                items:
                  type: string
                  minLength: 1
                  maxLength: 200
            required:
              - summary
              - resultRefs
            additionalProperties: false
        reuses:
          default: []
          maxItems: 30
          type: array
          items:
            type: string
            maxLength: 2000
      additionalProperties: false
    WorkforceSetupFinding:
      type: object
      properties:
        code:
          type: string
          maxLength: 120
        message:
          type: string
          maxLength: 2000
        category:
          type: string
          enum:
            - decision
            - staffing
            - evidence
        reason:
          type: string
          enum:
            - missing
            - denied
            - unavailable
            - stale
            - incomplete
            - choice
        recommendationKeys:
          maxItems: 20
          type: array
          items:
            type: string
            maxLength: 100
        evidenceRefs:
          minItems: 1
          maxItems: 50
          type: array
          items:
            type: string
            minLength: 1
            maxLength: 200
      required:
        - code
        - message
      additionalProperties: false
    WorkforceAssessmentWindow:
      type: object
      additionalProperties: false
      required:
        - start
        - end
        - timezone
      properties:
        start:
          type: string
          format: date-time
        end:
          type: string
          format: date-time
        timezone:
          type: string
          description: Valid IANA history timezone
      description: >-
        Requested historical evidence window, strictly positive and at most 366
        elapsed days. Does not assert source completeness.
  securitySchemes:
    AtlasIntegrationBearer:
      type: http
      scheme: bearer
      bearerFormat: atlas_mcp_
      description: >-
        Existing Atlas integration connection with explicit api:connect plus
        appropriate native domain grants. atlas_ingest_ and browser cookies are
        not accepted.

````

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