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

# List Profiles

> Get paginated list of profiles.

Use the `query` parameter to search profiles by name or user_id.
This is useful when you have many profiles and need to find a specific user.

Example: If you set `user_id` to your internal user identifier when creating profiles,
you can later search for that user by passing their identifier as the `query` parameter.



## OpenAPI

````yaml /cloud/openapi/v3.json get /profiles
openapi: 3.1.0
info:
  title: Browser Use Public API v3
  summary: Browser Use session-based agent API (v3)
  version: 3.0.0
servers:
  - url: https://api.browser-use.com/api/v3
    description: Production server
security: []
paths:
  /profiles:
    get:
      tags:
        - Profiles
      summary: List Profiles
      description: >-
        Get paginated list of profiles.


        Use the `query` parameter to search profiles by name or user_id.

        This is useful when you have many profiles and need to find a specific
        user.


        Example: If you set `user_id` to your internal user identifier when
        creating profiles,

        you can later search for that user by passing their identifier as the
        `query` parameter.
      operationId: list_profiles_profiles_get
      parameters:
        - name: pageSize
          in: query
          required: false
          schema:
            type: integer
            maximum: 100
            minimum: 1
            default: 10
            title: Pagesize
        - name: pageNumber
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            default: 1
            title: Pagenumber
        - name: query
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                maxLength: 200
              - type: 'null'
            title: Query
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProfileListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    ProfileListResponse:
      properties:
        items:
          items:
            $ref: '#/components/schemas/ProfileView'
          type: array
          title: Items
          description: List of profile views for the current page
        totalItems:
          type: integer
          title: Total Items
          description: Total number of items in the list
        pageNumber:
          type: integer
          title: Page Number
          description: Page number
        pageSize:
          type: integer
          title: Page Size
          description: Number of items per page
      type: object
      required:
        - items
        - totalItems
        - pageNumber
        - pageSize
      title: ProfileListResponse
      description: Response model for paginated profile list requests.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ProfileView:
      properties:
        id:
          type: string
          format: uuid
          title: ID
          description: Unique identifier for the profile
        userId:
          anyOf:
            - type: string
            - type: 'null'
          title: User ID
          description: >-
            Your internal user identifier for this profile. Use this to
            associate a profile with a user in your system.
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
          description: Optional name for the profile
        lastUsedAt:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Last Used At
          description: Timestamp when the profile was last used
        createdAt:
          type: string
          format: date-time
          title: Created At
          description: Timestamp when the profile was created
        updatedAt:
          type: string
          format: date-time
          title: Updated At
          description: Timestamp when the profile was last updated
        cookieDomains:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Cookie Domains
          description: List of domain URLs that have cookies stored for this profile
      type: object
      required:
        - id
        - createdAt
        - updatedAt
      title: ProfileView
      description: >-
        View model for representing a profile. A profile lets you preserve the
        login state between sessions.


        We recommend that you create a separate profile for each user of your
        app.

        You can assign a user_id to each profile to easily identify which user
        the profile belongs to.
    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:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-Browser-Use-API-Key

````