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

# Search chips by phone number

> Search for chips by partial phone number match.

    This endpoint searches through the chip catalog for phone numbers
    that match the search term (last digits or contains).

    **Notes:**
    - Minimum 4 characters required for search
    - Searches for phone numbers ending with or containing the search term
    - Case insensitive search



## OpenAPI

````yaml /generated/specs/diagnostics.json post /api/v1/catalog/chips/search
openapi: 3.0.0
info:
  title: Raul API - Diagnostico
  description: Health, consumo, conectividad, SIMs, webhooks fallidos y estados tecnicos.
  version: 2.0.0
  contact: {}
servers:
  - url: https://api.raul.ugps.io
    description: Production
security: []
tags: []
paths:
  /api/v1/catalog/chips/search:
    post:
      tags:
        - Chip Catalog
      summary: Search chips by phone number
      description: |-
        Search for chips by partial phone number match.

            This endpoint searches through the chip catalog for phone numbers
            that match the search term (last digits or contains).

            **Notes:**
            - Minimum 4 characters required for search
            - Searches for phone numbers ending with or containing the search term
            - Case insensitive search
      operationId: ChipCatalogController_searchChips
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChipSearchRequestDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChipSearchResponseDto'
        '400':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmnifyErrorDto'
        '500':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmnifyErrorDto'
      security:
        - bearerAuth: []
components:
  schemas:
    ChipSearchRequestDto:
      type: object
      properties:
        search_term:
          type: string
          description: Search term (last 4+ digits of phone number)
          example: '0587'
          minLength: 4
      required:
        - search_term
    ChipSearchResponseDto:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/ChipCatalogItemDto'
        total_matches:
          type: number
        search_term:
          type: string
        timestamp:
          type: string
      required:
        - data
        - total_matches
        - search_term
        - timestamp
    EmnifyErrorDto:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
        details:
          type: string
      required:
        - error
        - message
    ChipCatalogItemDto:
      type: object
      properties:
        sim_id:
          type: number
        phone_number:
          type: string
        iccid:
          type: string
        status_id:
          type: object
        status_description:
          type: object
        endpoint_id:
          type: object
        last_connection:
          type: object
        operator:
          type: object
        network_type:
          type: object
      required:
        - sim_id
        - phone_number
        - iccid
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Bearer token authentication

````