---
title: "Update built-in action settings."
method: PUT
path: "/api/v1/projects/{projectId}/actions/builtin/{actionKey}/settings"
tags: ["Agent Actions"]
---

# Update built-in action settings.

`PUT /api/v1/projects/{projectId}/actions/builtin/{actionKey}/settings`

## Request

- Base URL: `https://app.customgpt.ai`
- URL: `https://app.customgpt.ai/api/v1/projects/{projectId}/actions/builtin/{actionKey}/settings`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/poll-the-people/apis/customgpt-ai/docs/api/v1/projects/:projectId/actions/builtin/:actionKey/settings/put.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `projectId` integer, required
- `actionKey` string, required

## Request body

- object
  - `settings` object: Settings for the specified built-in action.
    - `document_source` 'both' | 'knowledge_base' | 'attachments'
    - `allowed_file_types` string[]
    - `max_file_size` integer
    - `max_files_per_prompt` integer
    - `max_file_length` integer
    - `max_image_size` integer
    - `enable_reranker` boolean
    - `target_url` string
    - `required_fields` string[]
    - `extra_options` string[]
    - `is_collect_utm_tags_enabled` boolean
    - `use_case` string
    - `custom_use_case` string
    - `button_triggers` string[]
    - `extra_trigger_options` string[]
    - `button_title` string
    - `cta_value` string

## Response `200`

Built-in action settings updated.

- object
  - `status` 'error' | 'success': The status of the response
  - `data` object
    - `action` object: Updated action details.
      - `key` string
      - `name` string
      - `is_enabled` boolean
      - `settings` object, nullable: Updated settings for the action. Sensitive fields such as `token` are obfuscated.

## Other responses

- `400`: Bad Argument
- `401`: API Token is either missing or invalid
- `404`: Agent not found
- `422`: Bad Argument
- `500`: Internal Server Error

## Changes

- **2026-11-03** `77aab4354382`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/poll-the-people/apis/customgpt-ai/changes/api/v1/projects/:projectId/actions/builtin/:actionKey/settings/put.md)

---

[API](https://skmtc.dev/poll-the-people/apis/customgpt-ai.md) - [All operations](https://skmtc.dev/poll-the-people/apis/customgpt-ai/llms.txt) - [OpenAPI document](https://skmtc.dev/poll-the-people/apis/customgpt-ai/revisions/77aab4354382?raw)
