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

# Search consumers by name, email, SSN, or date of birth.

> Search consumer core identities using partial or exact field matches.

Parameters
----
`network_id` : `UUID`.
    Network scope for the search.

`first_name` : `str`, optional.
    Case-insensitive partial match on first name.

`last_name` : `str`, optional.
    Case-insensitive partial match on last name.

`personal_email` : `str`, optional.
    Case-insensitive partial match on email.

`social_security_number` : `str`, optional.
    Exact match on SSN.

`date_of_birth` : `str`, optional.
    Exact match on date of birth (``YYYY-MM-DD``).

`limit` : `int`.
    Maximum number of results (1-100). Defaults to 20.

Returns
----
`results` : `list[ConsumerSearchResult]`.
    Matching consumer core identities.

Examples
-----
```
GET /entities/consumer/search?network_id=...&first_name=John&last_name=Doe&limit=10
```



## OpenAPI

````yaml GET /v1/entities/consumer/search
openapi: 3.1.0
info:
  title: SOLO Network API
  version: v1
servers:
  - url: https://api.solo.one
    description: Production
  - url: https://api.sandbox.solo.one
    description: Sandbox
security: []
paths:
  /v1/entities/consumer/search:
    get:
      tags:
        - Entities
      summary: Search consumer core identities by name, email, SSN, or date of birth.
      description: >-
        Search consumer core identities using partial or exact field matches.


        Parameters

        ----

        `network_id` : `UUID`.
            Network scope for the search.

        `first_name` : `str`, optional.
            Case-insensitive partial match on first name.

        `last_name` : `str`, optional.
            Case-insensitive partial match on last name.

        `personal_email` : `str`, optional.
            Case-insensitive partial match on email.

        `social_security_number` : `str`, optional.
            Exact match on SSN.

        `date_of_birth` : `str`, optional.
            Exact match on date of birth (``YYYY-MM-DD``).

        `limit` : `int`.
            Maximum number of results (1-100). Defaults to 20.

        Returns

        ----

        `results` : `list[ConsumerSearchResult]`.
            Matching consumer core identities.

        Examples

        -----

        ```

        GET
        /entities/consumer/search?network_id=...&first_name=John&last_name=Doe&limit=10

        ```
      operationId: search_consumers_v1_entities_consumer_search_get
      parameters:
        - name: network_id
          in: query
          required: true
          schema:
            type: string
            format: uuid
            description: Network scope for the search
            title: Network Id
          description: Network scope for the search
        - name: first_name
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Partial match on first name
            title: First Name
          description: Partial match on first name
        - name: last_name
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Partial match on last name
            title: Last Name
          description: Partial match on last name
        - name: personal_email
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Partial match on email
            title: Personal Email
          description: Partial match on email
        - name: social_security_number
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Exact match on SSN
            title: Social Security Number
          description: Exact match on SSN
        - name: date_of_birth
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Exact match on date of birth (YYYY-MM-DD)
            title: Date Of Birth
          description: Exact match on date of birth (YYYY-MM-DD)
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 100
            minimum: 1
            description: Max results
            default: 20
            title: Limit
          description: Max results
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ConsumerSearchResult'
                title: Response Search Consumers V1 Entities Consumer Search Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    ConsumerSearchResult:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        identifier:
          type: string
          title: Identifier
        created_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Created At
        updated_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Updated At
        first_name:
          anyOf:
            - type: string
            - type: 'null'
          title: First Name
        last_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Name
        personal_email:
          anyOf:
            - type: string
            - type: 'null'
          title: Personal Email
        date_of_birth:
          anyOf:
            - type: string
            - type: 'null'
          title: Date Of Birth
        social_security_number:
          anyOf:
            - type: string
            - type: 'null'
          title: Social Security Number
      type: object
      required:
        - id
        - identifier
      title: ConsumerSearchResult
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````