Agent Actions
Update built-in action settings.
Changed onput/api/v1/projects/{projectId}/actions/builtin/{actionKey}/settings
Request
- Base URLhttps://app.customgpt.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
projectIdinteger required
Example:1
The unique agent identifier.
actionKeystring required
Example:document_analyst
Action key (built-in tool key such as "document_analyst", or custom action tool_key such as "custom_mcp_connector_abc123").
Request body
Example request
{
"settings": {
"document_source": "both",
"allowed_file_types": [
"pdf"
],
"max_file_size": 50,
"max_files_per_prompt": 3,
"max_file_length": 50000,
"max_image_size": 7000,
"enable_reranker": true,
"target_url": "https://customgpt.ai",
"required_fields": [
"email"
],
"extra_options": [
"company"
],
"use_case": "book_a_call",
"custom_use_case": "Other",
"button_triggers": [
"every_response"
],
"extra_trigger_options": [
"contact_sales"
],
"button_title": "Book a call",
"cta_value": "https://customgpt.ai"
}
}Response
Built-in action settings updated.
Example response
{
"status": "success",
"data": {
"action": {
"key": "lead_capture",
"name": "Lead Capture",
"is_enabled": true
}
}
}Changes
- info
endpoint added
- info