Skip to main content
PATCH
/
v5
/
agent_configs
/
{agent_config_id}
Update Agent Config
curl --request PATCH \
  --url https://api.egp.scale.com/v5/agent_configs/{agent_config_id} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "system_prompt": "<string>",
  "harness": "claude-code",
  "allowed_tools": [
    "Read"
  ],
  "model": "<string>"
}
'
{
  "id": "<string>",
  "name": "<string>",
  "system_prompt": "<string>",
  "harness": "<string>",
  "allowed_tools": [
    "<string>"
  ],
  "model": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "object": "agent_config",
  "description": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.gp.scale.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-api-key
string
header
required

Headers

x-selected-account-id
string | null

Path Parameters

agent_config_id
string
required

Body

application/json
name
string
Required string length: 1 - 255
description
string
Maximum string length: 2000
system_prompt
string
Required string length: 1 - 100000
harness
enum<string>

Supported agent harness strategies.

Mirrors PROVIDERS in golden-agent's project/harness/activity.py.

Available options:
claude-code,
codex,
litellm
allowed_tools
enum<string>[]

Tools an agent config may be granted.

Granting an MCP server name (Slack, Linear, etc.) authorizes every tool exposed by that server, scoped via the agent's credentials.

Available options:
Read,
Write,
Edit,
Bash,
Glob,
Grep,
List,
WebFetch,
WebSearch,
Task,
TodoWrite,
NotebookEdit,
ExitPlanMode,
Slack,
Linear,
GitHub,
Confluence,
Notion,
Datadog,
PagerDuty,
Salesforce,
Figma,
Granola
model
string
Required string length: 1 - 255

Response

Successful Response

id
string
required
name
string
required
system_prompt
string
required
harness
string
required
allowed_tools
string[]
required
model
string
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
object
string
default:agent_config
Allowed value: "agent_config"
description
string