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

# List Crew Roster

> Paginated crew roster, filterable by verification + assignment status.
Staff-only; entitlement enforced at the router. Verification state is
attached inline (batched, no N+1); a user with no cache row reads as
`incomplete`. Both filters are org-scoped SQL subqueries (no IDOR/N+1).



## OpenAPI

````yaml /openapi.json get /api/v1/crew/roster
openapi: 3.1.0
info:
  title: Seamind Backend
  version: 0.1.0
servers: []
security: []
paths:
  /api/v1/crew/roster:
    get:
      tags:
        - crew-roster
      summary: List Crew Roster
      description: |-
        Paginated crew roster, filterable by verification + assignment status.
        Staff-only; entitlement enforced at the router. Verification state is
        attached inline (batched, no N+1); a user with no cache row reads as
        `incomplete`. Both filters are org-scoped SQL subqueries (no IDOR/N+1).
      operationId: list_crew_roster_api_v1_crew_roster_get
      parameters:
        - name: role
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Filter by cached role
            title: Role
          description: Filter by cached role
        - name: state
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Filter by account state
            title: State
          description: Filter by account state
        - name: verification_state
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Filter by profile verification rollup state
            title: Verification State
          description: Filter by profile verification rollup state
        - name: assignment_status
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Filter by ship-assignment status (assigned | unassigned)
            title: Assignment Status
          description: Filter by ship-assignment status (assigned | unassigned)
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 1000
            minimum: 1
            description: Items per page
            default: 10
            title: Limit
          description: Items per page
        - name: cursor
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Pagination cursor
            title: Cursor
          description: Pagination cursor
        - name: search
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                maxLength: 200
              - type: 'null'
            description: Search term
            title: Search
          description: Search term
        - name: include_count
          in: query
          required: false
          schema:
            type: boolean
            description: Include total count
            default: false
            title: Include Count
          description: Include total count
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedResponse_CrewRosterItemDTO_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    PaginatedResponse_CrewRosterItemDTO_:
      properties:
        items:
          items:
            $ref: '#/components/schemas/CrewRosterItemDTO'
          type: array
          title: Items
        nextCursor:
          anyOf:
            - type: string
            - type: 'null'
          title: Nextcursor
        hasMore:
          type: boolean
          title: Hasmore
          default: false
        totalCount:
          anyOf:
            - type: integer
            - type: 'null'
          title: Totalcount
      type: object
      required:
        - items
      title: PaginatedResponse[CrewRosterItemDTO]
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    CrewRosterItemDTO:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        email:
          type: string
          title: Email
        firstName:
          type: string
          title: Firstname
        lastName:
          type: string
          title: Lastname
        role:
          type: string
          title: Role
        state:
          type: string
          title: State
        lastLogin:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Lastlogin
        createdAt:
          type: string
          format: date-time
          title: Createdat
        verificationState:
          type: string
          title: Verificationstate
      type: object
      required:
        - id
        - email
        - firstName
        - lastName
        - role
        - state
        - lastLogin
        - createdAt
        - verificationState
      title: CrewRosterItemDTO
      description: >-
        One row of the crew roster: user display fields + verification rollup.


        ``role`` / ``state`` are the cached WorkOS role and account state
        (display

        only — never read for authz). ``verification_state`` is the cached
        profile

        rollup (incomplete | in_review | action_needed | approved); a user with
        no

        cache row yet reads as ``incomplete``.
    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
      scheme: bearer

````