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

# Update Profile Settings

> Set the JSON Schema, custom instructions, or enabled flag that control profile generation for the project.



## OpenAPI

````yaml post /v2/profiles/settings/
openapi: 3.0.1
info:
  title: Mem0 API Docs
  description: mem0.ai API Docs
  contact:
    email: support@mem0.ai
  license:
    name: Apache 2.0
  version: v1
servers:
  - url: https://api.mem0.ai/
security:
  - ApiKeyAuth: []
paths:
  /v2/profiles/settings/:
    post:
      tags:
        - profiles
      summary: Update profile settings
      description: >-
        Update the project's profile settings. Only the fields present in the
        body are written, so one setting can change without re-sending the
        others.
      operationId: profiles_settings_update
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              description: >-
                Only the fields present are written. `schema` and
                `custom_instructions` nest under `entities.user`; a flat body is
                rejected.
              properties:
                enabled:
                  type: boolean
                  description: >-
                    Whether profile generation runs for this project.
                    Project-wide.
                entities:
                  type: object
                  description: Settings for user profiles, under `user`.
                  properties:
                    user:
                      type: object
                      properties:
                        schema:
                          type: object
                          additionalProperties: true
                          nullable: true
                          description: >-
                            JSON Schema describing the profile. Every property
                            needs a description. Send null to clear it.
                        custom_instructions:
                          type: string
                          nullable: true
                          description: >-
                            Extra guidance for the extraction step. Send null to
                            clear it.
      responses:
        '200':
          description: Settings as stored after the update.
          content:
            application/json:
              schema:
                type: object
                properties:
                  enabled:
                    type: boolean
                    description: >-
                      Whether profile generation runs for this project.
                      Project-wide.
                  entities:
                    type: object
                    description: Settings for user profiles, under `user`.
                    properties:
                      user:
                        type: object
                        properties:
                          schema:
                            type: object
                            additionalProperties: true
                            nullable: true
                            description: >-
                              JSON Schema describing the profile. Every property
                              needs a description.
                          custom_instructions:
                            type: string
                            nullable: true
                            description: Extra guidance for the extraction step.
                  capabilities:
                    type: object
                    properties:
                      jobs:
                        type: boolean
                      estimates:
                        type: boolean
                      samples:
                        type: boolean
                      full_rebuild:
                        type: boolean
                        description: >-
                          Whether a project-wide rebuild (regenerate/backfill)
                          is available. Currently false.
        '400':
          description: The schema is not a valid profile schema.
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: >-
        API key authentication. Prefix your Mem0 API key with 'Token '. Example:
        'Token your_api_key'

````