---
title: "Update User Profile"
method: PATCH
path: "/v1/users/me"
tags: ["users"]
---

# Update User Profile

`PATCH /v1/users/me`

## Request

- Base URL: `https://api.pioneer.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pioneer.ai/v1/users/me`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/pioneer/apis/brain-api/docs/v1/users/me/patch.ts> (a function with typed inputs; its response is checked against the schema)

Update the caller's profile.

Args:
    request: Profile update payload.
    auth: Authenticated caller.
    service: User service.

Returns:
    Update confirmation.

## Request body

- UpdateUserProfileRequest: Request for updating user profile fields. Attributes: onboarded: Mark onboarding as complete. intent: User's chosen workflow intent from onboarding. agent_mode: Preferred agent mode ('mle' or 'auto'). preferred_language: Preferred code language for inference snippets. preferred_framework: Preferred API framework for inference snippets. team_size: Self-reported team size bucket from onboarding. org_name: Organisation name from onboarding (persisted + Attio). use_case: Free-text use case from onboarding (persisted + Attio).
  - `onboarded` boolean, nullable
  - `intent` string, nullable
  - `agent_mode` string, nullable
  - `preferred_language` string, nullable
  - `preferred_framework` string, nullable
  - `adaptive_learning_cadence` string, nullable
  - `team_size` string, nullable
  - `org_name` string, nullable
  - `use_case` string, nullable
  - `training_opt_out` boolean, nullable

## Response `200`

Successful Response

- UpdateUserProfileResponse: Response for user profile update.
  - `success` boolean, required
  - `message` string, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-24** `0e5e86e2bae5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/pioneer/apis/brain-api/changes/v1/users/me/patch.md)

---

[API](https://skmtc.dev/pioneer/apis/brain-api.md) - [All operations](https://skmtc.dev/pioneer/apis/brain-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pioneer/apis/brain-api/revisions/0e5e86e2bae5?raw)
