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

# Update Experience

> Update a work experience

## Overview

The Update Experience endpoint lets you modify an existing work experience's details. Only include the fields you want to change. Pass `null` for optional fields to clear them.

<Note>
  **Scope required:** `experiences:write` | **Rate limit:** 20 requests/min
</Note>

## Request

```bash theme={null}
PATCH /v1/experiences/{id}
```

### Body Parameters

All fields are optional, but at least one must be provided.

<ParamField body="jobTitle" type="string">
  Job title (max 200 characters)
</ParamField>

<ParamField body="company" type="string">
  Company name (max 200 characters)
</ParamField>

<ParamField body="location" type="string | null">
  Work location (max 200 characters, null to clear)
</ParamField>

<ParamField body="startDate" type="string | null">
  ISO 8601 date string (null to clear)
</ParamField>

<ParamField body="endDate" type="string | null">
  ISO 8601 date string (null to clear)
</ParamField>

<ParamField body="isCurrent" type="boolean">
  Whether this is the current position
</ParamField>

<ParamField body="description" type="string | null">
  Role description (max 5000 characters, null to clear)
</ParamField>

<ParamField body="responsibilities" type="array | null">
  List of responsibilities (null to clear)
</ParamField>

<ParamField body="achievements" type="array | null">
  List of achievements (null to clear)
</ParamField>

### Example

```bash theme={null}
curl -X PATCH "https://api.mokaru.ai/v1/experiences/clx1234" \
  -H "Authorization: Bearer mk_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "isCurrent": false,
    "endDate": "2026-03-15",
    "achievements": ["Reduced bundle size by 40%", "Shipped design system v2"]
  }'
```

## Response

<ResponseField name="success" type="boolean">Whether the experience was updated</ResponseField>
<ResponseField name="id" type="string">The experience's ID</ResponseField>

```json theme={null}
{
  "success": true,
  "id": "clx1234..."
}
```
