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

# List people

> The Console people of the tenant.



## OpenAPI

````yaml openapi/en/control.json GET /v1/users
openapi: 3.1.0
info:
  title: Niadra control API
  version: '1'
  description: >-
    Tenants, projects, sources, keys, people, configuration and usage. It never
    receives customer content.
servers:
  - url: https://control.api.niadra.com
security: []
paths:
  /v1/users:
    get:
      summary: List people
      description: >-
        Every person of the tenant with their role bindings and last sign-in.
        Needs the admin role.


        **Authentication.** Person token issued by the control plane
        (`Authorization: Bearer <JWT>`), with the role the operation needs.
      operationId: list_users_v1_users_get
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/UserOut'
                title: Response List Users V1 Users Get
                type: array
              example:
                - user_id: 0192f0a0-4e5f-7061-9c72-8d9e0f1a2b34
                  email: ana@acme.example
                  active: true
                  last_login_at: '2026-09-22T11:02:00Z'
                  roles:
                    - role: admin
                      space_id: null
                      source_ids: []
                  totp_uri: null
                - user_id: 0192f0a0-4e5f-7061-9c72-8d9e0f1a2b35
                  email: rui@acme.example
                  active: true
                  last_login_at: '2026-09-22T13:40:00Z'
                  roles:
                    - role: security
                      space_id: null
                      source_ids: []
                  totp_uri: null
          description: The people of the tenant.
      security:
        - personToken: []
components:
  schemas:
    UserOut:
      additionalProperties: false
      properties:
        active:
          title: Active
          type: boolean
        email:
          title: Email
          type: string
        last_login_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Last Login At
        roles:
          items:
            $ref: '#/components/schemas/BindingOut'
          title: Roles
          type: array
        totp_uri:
          anyOf:
            - type: string
            - type: 'null'
          description: Shown once, at creation, for enrollment.
          title: Totp Uri
        user_id:
          format: uuid
          title: User Id
          type: string
      required:
        - user_id
        - email
        - active
        - roles
      title: UserOut
      type: object
    BindingOut:
      additionalProperties: false
      properties:
        role:
          $ref: '#/components/schemas/Role'
        source_ids:
          items:
            format: uuid
            type: string
          title: Source Ids
          type: array
        space_id:
          anyOf:
            - format: uuid
              type: string
            - type: 'null'
          title: Space Id
      required:
        - role
        - space_id
        - source_ids
      title: BindingOut
      type: object
    Role:
      description: Console roles, combinable.
      enum:
        - admin
        - security
        - integration
        - review
        - analysis
        - vendor
      title: Role
      type: string
  securitySchemes:
    personToken:
      type: http
      scheme: bearer
      bearerFormat: JWT

````