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

# List users



## OpenAPI

````yaml https://api.select.dev/v2/openapi.json get /users
openapi: 3.1.0
info:
  title: SELECT API (v2)
  version: 0.1.0
servers:
  - url: https://api.select.dev/v2
    description: SELECT API v2
security: []
paths:
  /users:
    get:
      tags:
        - users
      summary: List users
      operationId: list_users_route_users_get
      parameters:
        - name: page_token
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Opaque cursor from a previous response. Omit on the first call.
            title: Page Token
          description: Opaque cursor from a previous response. Omit on the first call.
        - name: max_results
          in: query
          required: false
          schema:
            type: integer
            default: 50
            title: Max Results
        - name: x-tenant-id
          in: header
          required: true
          schema:
            type: string
            description: The organization ID the request is scoped to.
            title: X-Tenant-Id
          description: The organization ID the request is scoped to.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListResponse_UserV2_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    ListResponse_UserV2_:
      properties:
        items:
          items:
            $ref: '#/components/schemas/UserV2'
          type: array
          title: Items
        page_token:
          anyOf:
            - type: string
            - type: 'null'
          title: Page Token
          description: Opaque cursor for the next page; empty/absent on the last page.
        row_count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Row Count
          description: >-
            Best-effort total for the filtered result set; may be null when
            expensive.
      type: object
      required:
        - items
      title: ListResponse[UserV2]
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    UserV2:
      properties:
        id:
          type: string
          title: Id
          description: The unique identifier of the user.
          readOnly: true
          x-terraform-computed: true
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
          description: The user's display name.
        email_address:
          type: string
          title: Email Address
          description: The user's email address.
          x-doit-confidentiality: customer-data
          x-doit-pii: true
        identity_provider:
          type: string
          title: Identity Provider
          description: The identity provider the user authenticates through.
          readOnly: true
          x-terraform-computed: true
        picture:
          anyOf:
            - type: string
            - type: 'null'
          title: Picture
          description: URL of the user's profile picture, if available.
          readOnly: true
          x-terraform-computed: true
        last_login_sso_groups:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Last Login Sso Groups
          description: SSO groups the user belonged to at their most recent login.
          readOnly: true
          x-terraform-computed: true
        num_pages_visited_last_2_months:
          anyOf:
            - type: integer
            - type: 'null'
          title: Num Pages Visited Last 2 Months
          description: Number of app pages the user visited in the last two months.
          readOnly: true
          x-terraform-computed: true
        last_login_time:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Login Time
          description: >-
            When the user last logged in — RFC 3339 UTC, e.g.
            2026-06-05T10:30:00Z.
          readOnly: true
          x-terraform-computed: true
        last_activity_time:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Activity Time
          description: When the user was last active in the app — RFC 3339 UTC.
          readOnly: true
          x-terraform-computed: true
      type: object
      required:
        - id
        - name
        - email_address
        - identity_provider
        - picture
        - last_login_sso_groups
        - num_pages_visited_last_2_months
        - last_login_time
        - last_activity_time
      title: User
      description: A member of an organization, with their SELECT usage activity.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      description: Organization API key (sl_…).
      scheme: bearer

````