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

# One person's effective access

> What one person in the key's organization can see and do now, with the rules that decided it. Every read is audited.



## OpenAPI

````yaml /openapi.generated.json get /access/effective/{principal}
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/effective/{principal}:
    get:
      tags:
        - Access
      summary: One person's effective access
      description: >-
        What one person in the key's organization can see and do now, with the
        rules that decided it. Every read is audited.
      operationId: getAccessEffective
      parameters:
        - description: >-
            A WorkOS user id in the key's organization. A sign-in email goes in
            the body of POST /access/effective/search.
          in: path
          name: principal
          required: true
          schema:
            description: >-
              A WorkOS user id in the key's organization. A sign-in email goes
              in the body of POST /access/effective/search.
            type: string
        - description: >-
            The operator id the calling app names, recorded in the read's audit
            row. An email operator goes in the search body.
          explode: false
          in: query
          name: operator
          schema:
            description: >-
              The operator id the calling app names, recorded in the read's
              audit row. An email operator goes in the search body.
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EffectiveAccessReport'
          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:
    EffectiveAccessReport:
      additionalProperties: false
      properties:
        assigned_roots:
          additionalProperties:
            items:
              type: string
            type:
              - array
              - 'null'
          type: object
        book_scope:
          $ref: '#/components/schemas/EffectiveAccessBookScope'
        datasets:
          additionalProperties:
            $ref: '#/components/schemas/DatasetRule'
          type: object
        denied_fields:
          items:
            type: string
          type:
            - array
            - 'null'
        documents:
          additionalProperties:
            type: string
          type: object
        entitlement_schema_version:
          format: int64
          type: integer
        exceptions:
          items:
            $ref: '#/components/schemas/ExceptionGrant'
          type:
            - array
            - 'null'
        head:
          type: string
        identity_evidence:
          items:
            $ref: '#/components/schemas/EffectiveIdentityEvidence'
          type:
            - array
            - 'null'
        identity_rev:
          type: string
        policy_version:
          additionalProperties:
            format: int64
            type: integer
          type: object
        policy_versions:
          additionalProperties:
            format: int64
            type: integer
          type: object
        principal:
          type: string
        readiness:
          $ref: '#/components/schemas/EffectiveAccessReadiness'
        refused:
          type: string
        resolved_at:
          format: date-time
          type: string
        roles:
          items:
            type: string
          type:
            - array
            - 'null'
        source:
          $ref: '#/components/schemas/EffectiveAccessSource'
        surfaces:
          additionalProperties:
            type: string
          type: object
        system_grants:
          items:
            type: string
          type:
            - array
            - 'null'
        vocabulary_hash:
          type: string
        workflows:
          additionalProperties:
            $ref: '#/components/schemas/WorkflowRule'
          type: object
      required:
        - entitlement_schema_version
        - vocabulary_hash
        - readiness
        - source
        - identity_evidence
        - principal
        - roles
        - surfaces
        - datasets
        - denied_fields
        - documents
        - book_scope
        - policy_versions
        - workflows
        - system_grants
        - exceptions
        - policy_version
        - assigned_roots
        - resolved_at
        - head
        - identity_rev
      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
    EffectiveAccessBookScope:
      additionalProperties: false
      properties:
        book_coverage:
          $ref: '#/components/schemas/BookCoverageCheck'
        kind:
          type: string
        partial:
          items:
            $ref: '#/components/schemas/Partial'
          type:
            - array
            - 'null'
        producer_code_count:
          format: int64
          type: integer
      required:
        - kind
        - producer_code_count
        - partial
      type: object
    DatasetRule:
      additionalProperties: false
      properties:
        access:
          type: string
        scope:
          type: string
      required:
        - scope
        - access
      type: object
    ExceptionGrant:
      additionalProperties: false
      properties:
        action:
          type: string
        approved_by:
          type: string
        ends_at:
          format: date-time
          type: string
        id:
          type: string
        principal_id:
          type: string
        reason:
          type: string
        revoked_at:
          format: date-time
          type: string
        scope:
          $ref: '#/components/schemas/ExceptionScope'
        starts_at:
          format: date-time
          type: string
        state:
          enum:
            - scheduled
            - live
            - ended
            - revoked
          type: string
        workflow:
          type: string
      required:
        - id
        - principal_id
        - workflow
        - action
        - scope
        - reason
        - approved_by
        - starts_at
        - ends_at
        - state
      type: object
    EffectiveIdentityEvidence:
      additionalProperties: false
      properties:
        employee_source_row_key:
          type: string
        producer_codes:
          items:
            $ref: '#/components/schemas/BookProducerCodes'
          type:
            - array
            - 'null'
        review_reason:
          type: string
        status:
          type: string
        verified_at:
          format: date-time
          type: string
        verified_pin:
          $ref: '#/components/schemas/BookIdentityPin'
        via:
          type: string
      required:
        - status
        - producer_codes
      type: object
    EffectiveAccessReadiness:
      additionalProperties: false
      properties:
        blockers:
          items:
            $ref: '#/components/schemas/EffectiveAccessBlocker'
          type:
            - array
            - 'null'
        connection_id:
          type: string
        org_id:
          type: string
        preview:
          type: boolean
        state:
          type: string
      required:
        - state
        - blockers
        - org_id
        - connection_id
        - preview
      type: object
    EffectiveAccessSource:
      additionalProperties: false
      properties:
        identity_rev:
          type: string
      required:
        - identity_rev
      type: object
    WorkflowRule:
      additionalProperties: false
      properties:
        actions:
          items:
            type: string
          type:
            - array
            - 'null'
        execution:
          additionalProperties:
            type: string
          type: object
        scope:
          type: string
      required:
        - scope
        - actions
        - execution
      type: object
    BookCoverageCheck:
      additionalProperties: false
      properties:
        missing_agencies:
          items:
            type: string
          type:
            - array
            - 'null'
        reason:
          type: string
        result:
          type: string
      required:
        - result
      type: object
    Partial:
      additionalProperties: false
      properties:
        principal_id:
          type: string
        reason:
          type: string
      required:
        - principal_id
        - reason
      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
    BookProducerCodes:
      additionalProperties: false
      properties:
        ams360_datasource:
          type: string
        codes:
          items:
            type: string
          type:
            - array
            - 'null'
        observed_names:
          additionalProperties:
            type: string
          type: object
        original_ams360_datasource:
          type: string
        owners:
          additionalProperties:
            $ref: '#/components/schemas/BookProducerCodeOwner'
          type: object
      required:
        - ams360_datasource
        - codes
      type: object
    BookIdentityPin:
      additionalProperties: false
      properties:
        at:
          format: date-time
          type: string
        objects:
          items:
            $ref: '#/components/schemas/ObjectMetadata'
          type:
            - array
            - 'null'
      required:
        - at
        - objects
      type: object
    EffectiveAccessBlocker:
      additionalProperties: false
      properties:
        code:
          type: string
      required:
        - code
      type: object
    BookProducerCodeOwner:
      additionalProperties: false
      properties:
        owner_ams360_datasource:
          type: string
        owner_employee_id:
          type: string
        owner_name:
          type: string
        owner_status:
          type: string
        owner_verified_batch_set_id:
          type: string
        owner_verified_pin:
          type: string
      required:
        - owner_employee_id
        - owner_status
        - owner_verified_batch_set_id
      type: object
    ObjectMetadata:
      additionalProperties: false
      properties:
        last_altered:
          format: date-time
          type: string
        object:
          type: string
      required:
        - object
        - last_altered
      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.