> ## 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 Ships

> List ships for the authenticated user's organization with pagination.

Includes enriched data (crew_count).



## OpenAPI

````yaml /openapi.json get /api/v1/shared/ships
openapi: 3.1.0
info:
  title: Seamind Backend
  version: 0.1.0
servers: []
security: []
paths:
  /api/v1/shared/ships:
    get:
      tags:
        - shared-ships
      summary: List Ships
      description: |-
        List ships for the authenticated user's organization with pagination.

        Includes enriched data (crew_count).
      operationId: list_ships_api_v1_shared_ships_get
      parameters:
        - 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_ShipDetailDTO_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    PaginatedResponse_ShipDetailDTO_:
      properties:
        items:
          items:
            $ref: '#/components/schemas/app__domain__ship__ShipDetailDTO'
          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[ShipDetailDTO]
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    app__domain__ship__ShipDetailDTO:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        name:
          type: string
          title: Name
        imoNumber:
          anyOf:
            - type: string
            - type: 'null'
          title: Imonumber
        mmsiNumber:
          anyOf:
            - type: string
            - type: 'null'
          title: Mmsinumber
        callSign:
          anyOf:
            - type: string
            - type: 'null'
          title: Callsign
        flagName:
          anyOf:
            - type: string
            - type: 'null'
          title: Flagname
        portOfRegistry:
          anyOf:
            - type: string
            - type: 'null'
          title: Portofregistry
        crewCount:
          type: integer
          title: Crewcount
          default: 0
        createdAt:
          type: string
          format: date-time
          title: Createdat
      type: object
      required:
        - id
        - name
        - createdAt
      title: ShipDetailDTO
      description: Ship with enriched data for API responses (includes crew_count).
    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

````