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

# Read the access directory

> One page of everyone the customer's employee records list, seated or not, beside their served seat.



## OpenAPI

````yaml /openapi.generated.json get /access/directory
openapi: 3.1.0
info:
  description: >-
    Public API reference. Generated from apps/engine/openapi.yaml by make
    docs-openapi-write. Do not edit.
  title: Nexio platform API
  version: '1'
servers:
  - url: https://api.usenexio.com
security: []
tags:
  - name: Access
  - name: Catalog
  - name: Conversations
  - name: Documents
  - name: Engines
  - name: Events
  - name: Feedback
  - name: Graph
  - name: Records
  - name: Roadmap
  - name: Runs
  - name: Webhooks
  - name: accounts
  - name: actions
  - name: activities
  - name: activity-feed
  - name: attachments
  - name: audit
  - name: benefit-plans
  - name: billing-transactions
  - name: carrier_documents
  - name: certificate-holders
  - name: certificate_drafts
  - name: certificates
  - name: change_feed
  - name: claims
  - name: classes
  - name: codes
  - name: commission_facts
  - name: connections
  - name: contacts
  - name: contingencies
  - name: conversations
  - name: customer
  - name: customer_contacts
  - name: deals
  - name: dependents
  - name: document_extractions
  - name: documents
  - name: drivers
  - name: eforms
  - name: employees
  - name: events
  - name: feature_requests
  - name: form-templates
  - name: invoices
  - name: leads
  - name: line_schedules_other
  - name: loss_history
  - name: machines
  - name: markets
  - name: motor-carriers
  - name: notes
  - name: opportunities
  - name: opportunity-signals
  - name: pages
  - name: personal_lines_detail
  - name: placement_choices
  - name: placement_feedback
  - name: placements
  - name: policies
  - name: policy_parties
  - name: policy_personnel
  - name: policy_transactions
  - name: premium_rows
  - name: procedures
  - name: proposals
  - name: quote_comparisons
  - name: quotes
  - name: records
  - name: register-views
  - name: renewal-entries
  - name: risk_review_choices
  - name: rollups
  - name: seats
  - name: sec-filings
  - name: service_agreements
  - name: submissions
  - name: suspenses
  - name: tasks
  - name: umbrella_underlying
  - name: underwriting_questions
  - name: uploaded_documents
  - name: vehicles
  - name: workflows
paths:
  /access/directory:
    get:
      tags:
        - Access
      summary: Read the access directory
      description: >-
        One page of everyone the customer's employee records list, seated or
        not, beside their served seat.
      operationId: listAccessDirectory
      parameters:
        - description: A name search.
          explode: false
          in: query
          name: q
          schema:
            description: A name search.
            type: string
        - description: Only people on this platform.
          explode: false
          in: query
          name: platform
          schema:
            description: Only people on this platform.
            type: string
        - description: Only people in this market.
          explode: false
          in: query
          name: market
          schema:
            description: Only people in this market.
            type: string
        - description: Only people who report to this manager.
          explode: false
          in: query
          name: manager_id
          schema:
            description: Only people who report to this manager.
            type: string
        - description: all, seated, held or none.
          explode: false
          in: query
          name: access
          schema:
            description: all, seated, held or none.
            type: string
        - description: 0 skips the book counts; default 1.
          explode: false
          in: query
          name: book
          schema:
            description: 0 skips the book counts; default 1.
            type: string
        - description: A positive integer; default 1.
          explode: false
          in: query
          name: page
          schema:
            description: A positive integer; default 1.
            type: string
        - description: A positive integer, at most the directory's maximum page size.
          explode: false
          in: query
          name: page_size
          schema:
            description: A positive integer, at most the directory's maximum page size.
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DirectoryPage'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Not Found
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Conflict
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Internal Server Error
        '503':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Service Unavailable
      security:
        - bearer: []
components:
  schemas:
    DirectoryPage:
      additionalProperties: false
      properties:
        data:
          items:
            $ref: '#/components/schemas/DirectoryRow'
          type:
            - array
            - 'null'
        page:
          format: int64
          type: integer
        page_size:
          format: int64
          type: integer
        source:
          $ref: '#/components/schemas/DirectorySource'
        total:
          format: int64
          type: integer
      required:
        - data
        - total
        - page
        - page_size
        - source
      type: object
    ErrorEnvelope:
      additionalProperties: false
      properties:
        code:
          description: The stable machine-readable error code. One meaning forever.
          type: string
        details:
          description: Structured detail for the code.
        message:
          description: A human-readable sentence about this occurrence.
          type: string
      required:
        - code
        - message
      type: object
    DirectoryRow:
      additionalProperties: false
      properties:
        ams:
          $ref: '#/components/schemas/DirectoryAMS'
        flags:
          items:
            type: string
          type:
            - array
            - 'null'
        hr_mismatch_flags:
          items:
            type: string
          type:
            - array
            - 'null'
        person:
          $ref: '#/components/schemas/DirectoryPerson'
        presentation:
          $ref: '#/components/schemas/PersonPresentation'
        seat:
          anyOf:
            - $ref: '#/components/schemas/DirectorySeat'
            - type: 'null'
      required:
        - person
        - ams
        - seat
        - flags
        - hr_mismatch_flags
        - presentation
      type: object
    DirectorySource:
      additionalProperties: false
      properties:
        as_of:
          format: date-time
          type: string
        book_counts:
          type: string
        book_counts_as_of:
          format: date-time
          type: string
        book_counts_note:
          type: string
        can_open:
          type: string
        mode:
          type: string
        seat_window:
          type: string
        table:
          type: string
      required:
        - table
        - as_of
        - mode
        - book_counts
        - can_open
        - seat_window
      type: object
    DirectoryAMS:
      additionalProperties: false
      properties:
        boundary_unit:
          type: string
        datasource:
          type: string
        employee_code:
          type: string
        employee_id:
          type: string
        families:
          items:
            type: string
          type:
            - array
            - 'null'
        groups:
          items:
            $ref: '#/components/schemas/BookScopeAMSGroup'
          type:
            - array
            - 'null'
        matched:
          type: boolean
        status:
          type: string
      required:
        - matched
        - groups
        - families
      type: object
    DirectoryPerson:
      additionalProperties: false
      properties:
        chain:
          items:
            $ref: '#/components/schemas/DirectoryChainLink'
          type:
            - array
            - 'null'
        email:
          type: string
        employee_id:
          type: string
        employment_status:
          type: string
        hire_date:
          type: string
        hr_role:
          type: string
        is_producer:
          type: boolean
        job_title:
          type: string
        management_level:
          format: int64
          type: integer
        manager_id:
          type: string
        manager_name:
          type: string
        market:
          type: string
        name:
          type: string
        platform:
          type: string
        rls_scope:
          type: string
        user_principal_name:
          type: string
      required:
        - hr_role
        - employee_id
        - name
        - user_principal_name
        - email
        - job_title
        - is_producer
        - management_level
        - manager_id
        - manager_name
        - platform
        - market
        - rls_scope
        - employment_status
        - hire_date
        - chain
      type: object
    PersonPresentation:
      additionalProperties: false
      properties:
        access:
          enum:
            - seated
            - held
            - none
          type: string
        label:
          type: string
        mismatch:
          type: boolean
        state:
          enum:
            - held
            - seated
            - seated_mismatched
            - not_signed_in
            - no_seat
          type: string
        tone:
          enum:
            - neutral
            - positive
            - warning
            - danger
            - null
          type:
            - string
            - 'null'
      required:
        - state
        - label
        - tone
        - access
        - mismatch
      type: object
    DirectorySeat:
      additionalProperties: false
      properties:
        book:
          anyOf:
            - $ref: '#/components/schemas/DirectoryBook'
            - type: 'null'
        email:
          type: string
        exceptions:
          items:
            $ref: '#/components/schemas/DirectoryException'
          type:
            - array
            - 'null'
        hold_reason:
          type: string
        last_resolved_at:
          format: date-time
          type: string
        last_seen_at:
          format: date-time
          type: string
        pending:
          type: boolean
        policy_source:
          type: string
        principal:
          type: string
        role:
          type: string
        state:
          type: string
        system_grants:
          items:
            type: string
          type:
            - array
            - 'null'
      required:
        - state
        - pending
        - email
        - system_grants
        - exceptions
        - book
      type: object
    BookScopeAMSGroup:
      additionalProperties: false
      properties:
        code:
          type: string
        long:
          type: string
        short:
          type: string
      required:
        - code
        - short
        - long
      type: object
    DirectoryChainLink:
      additionalProperties: false
      properties:
        employee_id:
          type: string
        level:
          format: int64
          type: integer
        name:
          type: string
      required:
        - level
        - employee_id
        - name
      type: object
    DirectoryBook:
      additionalProperties: false
      properties:
        can_open:
          format: int64
          type:
            - integer
            - 'null'
        own_as_client_manager:
          format: int64
          type: integer
        own_as_producer:
          format: int64
          type: integer
      required:
        - own_as_producer
        - own_as_client_manager
        - can_open
      type: object
    DirectoryException:
      additionalProperties: false
      properties:
        action:
          type: string
        ends_at:
          format: date-time
          type: string
        id:
          type: string
        reason:
          type: string
        scope:
          $ref: '#/components/schemas/ExceptionScope'
        starts_at:
          format: date-time
          type: string
        state:
          enum:
            - scheduled
            - live
          type: string
        workflow:
          type: string
      required:
        - id
        - workflow
        - action
        - scope
        - starts_at
        - ends_at
        - reason
        - state
      type: object
    ExceptionScope:
      additionalProperties: false
      properties:
        kind:
          type: string
        root_ids:
          items:
            type: string
          type:
            - array
            - 'null'
        root_type:
          type: string
      required:
        - kind
      type: object
  securitySchemes:
    bearer:
      description: The org's platform API key.
      scheme: bearer
      type: http

````

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