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

# Search patient profiles

> 
**Global Search is exclusive to specific workspaces only. Please reach out to support.**

Search patient profiles by **username**, **mobile**, or **full name** (prefix match).

The `limit` parameter controls the number of results fetched internally (default: 50, maximum: 50).




## OpenAPI

````yaml get /profiles/v1/patient/search
openapi: 3.0.3
info:
  title: Patient APIs
  description: Patient Directory CRUD
  version: 1.0.0
servers:
  - url: https://api.eka.care
security: []
paths:
  /profiles/v1/patient/search:
    get:
      tags:
        - Patient
      summary: Search patient profiles
      description: >

        **Global Search is exclusive to specific workspaces only. Please reach
        out to support.**


        Search patient profiles by **username**, **mobile**, or **full name**
        (prefix match).


        The `limit` parameter controls the number of results fetched internally
        (default: 50, maximum: 50).
      parameters:
        - in: header
          name: client-id
          required: true
          schema:
            type: string
            example: EC_1431
        - in: query
          name: prefix
          required: true
          description: >
            The search term to match against patient profiles.

            This can be a **username**, **mobile number**, or **full name**
            (prefix match).
          schema:
            type: string
            example: '121'
        - in: query
          name: limit
          schema:
            type: integer
            example: 10
        - in: query
          name: select
          required: false
          description: >
            Comma-separated list of additional fields to include in the
            response.

            Example: `abha,dob,gen`


            Valid optional fields:  `abha`, `c_ate`, `dob`, `gen`, `u_ate`,
            `is_age`
          schema:
            type: string
          example: mobile, fln
      responses:
        '200':
          description: A list of patient profiles matching search query (PREfix search)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchPatientProfile'
        '500':
          description: Server error
      security:
        - bearerAuth: []
components:
  schemas:
    SearchPatientProfile:
      type: array
      items:
        type: object
        properties:
          username:
            type: string
            example: '1111111111'
          mobile:
            type: string
            example: 98765XXXXX
          oid:
            type: string
            example: '17552615662165'
          fln:
            type: string
            example: Veena
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````