> ## 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 Identity Documents

> List all identity documents for a user, each with its review state.
The response carries the upload_id but not a presigned URL — those are
minted on demand via the /download endpoint. Verification is batch-fetched
(no N+1).



## OpenAPI

````yaml /openapi.json get /api/v1/crew/users/{user_id}/identity-documents
openapi: 3.1.0
info:
  title: Seamind Backend
  version: 0.1.0
servers: []
security: []
paths:
  /api/v1/crew/users/{user_id}/identity-documents:
    get:
      tags:
        - crew-identity-documents
      summary: List Identity Documents
      description: >-
        List all identity documents for a user, each with its review state.

        The response carries the upload_id but not a presigned URL — those are

        minted on demand via the /download endpoint. Verification is
        batch-fetched

        (no N+1).
      operationId: >-
        list_identity_documents_api_v1_crew_users__user_id__identity_documents_get
      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:
                type: array
                items:
                  $ref: '#/components/schemas/CrewIdentityDocumentResponseDTO'
                title: >-
                  Response List Identity Documents Api V1 Crew Users  User Id 
                  Identity Documents Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    CrewIdentityDocumentResponseDTO:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        documentType:
          type: string
          title: Documenttype
        documentNumber:
          anyOf:
            - type: string
            - type: 'null'
          title: Documentnumber
        issuingCountry:
          anyOf:
            - type: string
            - type: 'null'
          title: Issuingcountry
        issueDate:
          anyOf:
            - type: string
              format: date
            - type: 'null'
          title: Issuedate
        expiryDate:
          anyOf:
            - type: string
              format: date
            - type: 'null'
          title: Expirydate
        uploadId:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Uploadid
        uploadedByUserId:
          type: string
          format: uuid
          title: Uploadedbyuserid
        status:
          $ref: '#/components/schemas/DocumentExpiryStatus'
        verification:
          anyOf:
            - $ref: '#/components/schemas/CrewVerificationResponseDTO'
            - type: 'null'
        notes:
          anyOf:
            - type: string
            - type: 'null'
          title: Notes
        createdAt:
          type: string
          format: date-time
          title: Createdat
        updatedAt:
          type: string
          format: date-time
          title: Updatedat
      type: object
      required:
        - id
        - documentType
        - uploadedByUserId
        - status
        - createdAt
        - updatedAt
      title: CrewIdentityDocumentResponseDTO
      description: API response shape with computed status.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    DocumentExpiryStatus:
      type: string
      enum:
        - valid
        - expiring_soon
        - expired
      title: DocumentExpiryStatus
      description: |-
        Computed at response time from `expiry_date - today()`.

        No `unknown` value — when there's no expiry_date we use VALID (the
        document doesn't expire; treat as good).
    CrewVerificationResponseDTO:
      properties:
        targetType:
          type: string
          title: Targettype
        targetId:
          type: string
          title: Targetid
        status:
          $ref: '#/components/schemas/VerificationStatus'
        rejectionReason:
          anyOf:
            - type: string
            - type: 'null'
          title: Rejectionreason
        reviewedAt:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Reviewedat
      type: object
      required:
        - targetType
        - targetId
        - status
      title: CrewVerificationResponseDTO
      description: |-
        API response shape (camelCase). Used both as the per-item entry in a
        profile summary and embedded as the `verification` field on a credential
        response.
    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
    VerificationStatus:
      type: string
      enum:
        - not_submitted
        - pending
        - verified
        - rejected
      title: VerificationStatus
      description: Per-item review state.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````