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

# Content Preferences

> Get or update content preferences for a project

### GET - Retrieve preferences

<ParamField path="projectId" type="string" required>Project UUID</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl "https://app.ranked.ai/api/v1/projects/{projectId}/content/preferences" \
    -H "Authorization: Bearer rk_live_your_api_key"
  ```
</RequestExample>

### PATCH - Update preferences

Requires a **Read + Write** API key.

<RequestExample>
  ```bash cURL theme={null}
  curl -X PATCH "https://app.ranked.ai/api/v1/projects/{projectId}/content/preferences" \
    -H "Authorization: Bearer rk_live_your_write_key" \
    -H "Content-Type: application/json" \
    -d '{ "preferences": "Write in a professional but friendly tone. Focus on local tree care topics." }'
  ```
</RequestExample>
