---
title: "Update agent settings."
method: POST
path: "/api/v1/projects/{projectId}/settings"
tags: ["Agent Settings"]
---

# Update agent settings.

`POST /api/v1/projects/{projectId}/settings`

Update the agent (formerly known as project) settings for a specific agent. This endpoint allows you to update the configuration and settings associated with the agent.
Here is an example to get an agent settings: [API](https://github.com/Poll-The-People/customgpt-cookbook/blob/main/examples/Update_settings_for_a_particular_project.ipynb) [SDK](https://github.com/Poll-The-People/customgpt-cookbook/blob/main/examples/SDK_Update_project_settings.ipynb).

## Path parameters

- `projectId` integer, required

## Response `200`

Agent settings have been updated

- object
  - `status` 'error' | 'success' — The status of the response
  - `data` object
    - `updated` boolean — Whether the agent was updated successfully or not

## Other responses

- `400` — Update agent settings failed
- `401` — API Token is either missing or invalid
- `500` — Internal Server Error

---

[API](https://skmtc.net/poll-the-people/apis/customgpt-ai.md) · [All operations](https://skmtc.net/poll-the-people/apis/customgpt-ai/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/poll-the-people/customgpt-ai/revisions/b80e6dfcf78d/schema)
