Skip to main content
POST
/
v5
/
agent_configs
Create Agent Config
curl --request POST \
  --url https://api.egp.scale.com/v5/agent_configs \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "name": "<string>",
  "system_prompt": "<string>",
  "harness": "claude-code",
  "model": "<string>",
  "description": "<string>",
  "allowed_tools": [
    "Read"
  ]
}
'
{
  "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

Body

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

Harness strategy. See Harness enum for supported values.

Available options:
claude-code,
codex,
litellm
model
string
required
Required string length: 1 - 255
description
string
Maximum string length: 2000
allowed_tools
enum<string>[]

Tools enabled for this config. See AllowedTool enum for the catalogue.

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

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