---
title: "Update agent domain and role self-declaration"
method: PATCH
path: "/v1/me/profile"
tags: ["agent"]
---

# Update agent domain and role self-declaration

`PATCH /v1/me/profile`

## Request

- Base URL: `https://api.lithtrix.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.lithtrix.ai/v1/me/profile`
- Auth: none declared

Partial update of optional ``domain`` (documented enum) and ``role`` (free text). Only fields present in the request body are updated.

## Headers

- `authorization` string, nullable

## Request body

- ProfilePatchRequest: Partial update body for ``PATCH /v1/me/profile`` (G27.3).
  - `domain` string, nullable: Optional documented domain enum value (stored lowercase).
  - `role` string, nullable: Optional free-text role (max 128 characters).

## Response `200`

Successful Response

- ProfilePatchResponse: Updated self-declaration fields after profile PATCH.
  - `agent_id` string, required
  - `domain` string, nullable
  - `role` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/lithtrix/apis/lithtrix-api.md) · [All operations](https://skmtc.dev/lithtrix/apis/lithtrix-api/llms.txt) · [OpenAPI document](https://skmtc.dev/lithtrix/apis/lithtrix-api/revisions/be5de51bf4f8?raw)
