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

# Update Collection

Modify collection metadata (name and description).

<ParamField path="collection_id" type="string" required>
  The collection ID
</ParamField>

## Request Body

<ParamField body="name" type="string">
  Updated collection name
</ParamField>

<ParamField body="description" type="string">
  Updated description
</ParamField>

<CodeGroup>
  ```bash cURL theme={null}
  curl -X PATCH https://api.artaios.ai/api/v1/collections/coll_123/ \
    -H "x-api-key: YOUR_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{
      "name": "Updated Product Documentation",
      "description": "Comprehensive product manuals and user guides"
    }'
  ```

  ```python Python theme={null}
  import requests

  data = {
      "name": "Updated Product Documentation",
      "description": "Comprehensive product manuals and user guides"
  }

  response = requests.patch(
      "https://api.artaios.ai/api/v1/collections/coll_123/",
      headers={"x-api-key": "YOUR_API_KEY"},
      json=data
  )
  ```
</CodeGroup>

## Response

Returns the updated collection object with new `updated_at` timestamp.
