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

# Trace Org Member Access

> Trace a member's roles to their direct and group sources.



## OpenAPI

````yaml https://platform.tracecat.com/api/openapi.json get /organization/members/{user_id}/access
openapi: 3.1.0
info:
  title: Tracecat API
  summary: Tracecat API
  description: The open source AI automation platform for security teams and agents.
  termsOfService: >-
    https://docs.google.com/document/d/e/2PACX-1vQvDe3SoVAPoQc51MgfGCP71IqFYX_rMVEde8zC4qmBCec5f8PLKQRdxa6tsUABT8gWAR9J-EVs2CrQ/pub
  contact:
    name: Tracecat Founders
    email: founders@tracecat.com
  license:
    name: AGPL-3.0
    url: https://www.gnu.org/licenses/agpl-3.0.html
  version: '1'
servers:
  - url: /api
security: []
tags:
  - name: public
    description: Public facing endpoints
  - name: workflows
    description: Workflow management
  - name: actions
    description: Action management
  - name: triggers
    description: Workflow triggers
  - name: secrets
    description: Secret management
  - name: variables
    description: Workspace variable management
paths:
  /organization/members/{user_id}/access:
    get:
      tags:
        - organization
      summary: Trace Org Member Access
      description: Trace a member's roles to their direct and group sources.
      operationId: organization-trace_org_member_access
      parameters:
        - name: user_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: User Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MemberAccessTrace'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyCookie: []
components:
  schemas:
    MemberAccessTrace:
      properties:
        user_id:
          type: string
          format: uuid
          title: User Id
        roles:
          items:
            $ref: '#/components/schemas/MemberRoleRead'
          type: array
          title: Roles
      type: object
      required:
        - user_id
        - roles
      title: MemberAccessTrace
      description: A member's roles and the sources of each role.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    MemberRoleRead:
      properties:
        role_id:
          type: string
          format: uuid
          title: Role Id
        role_name:
          type: string
          title: Role Name
        workspace_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Workspace Id
        sources:
          items:
            $ref: '#/components/schemas/MemberRoleSource'
          type: array
          title: Sources
      type: object
      required:
        - role_id
        - role_name
        - workspace_id
        - sources
      title: MemberRoleRead
      description: A member's role in one workspace or organization, with its sources.
    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
    MemberRoleSource:
      properties:
        type:
          $ref: '#/components/schemas/MemberRoleSourceType'
        group_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Group Id
        group_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Group Name
        external_group_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: External Group Id
        external_group_display_name:
          anyOf:
            - type: string
            - type: 'null'
          title: External Group Display Name
      type: object
      required:
        - type
      title: MemberRoleSource
      description: A direct assignment or group through which a member holds a role.
    MemberRoleSourceType:
      type: string
      enum:
        - direct
        - group
        - idp_group
  securitySchemes:
    APIKeyCookie:
      type: apiKey
      in: cookie
      name: fastapiusersauth

````

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