Skip to main content
PATCH
Update a custom agent

Authorizations

Authorization
string
header
required

API key with dtk_live_ prefix. Obtain it from API Keys in the account sidebar. New keys start with all supported scopes selected for the chosen project, and you can narrow them to specific read/write scopes as needed.

Path Parameters

projectId
string<uuid>
required
agentKey
string
required

A custom agent key from listManagedAgents.

Body

application/json
displayName
string
Required string length: 1 - 80
description
string
Required string length: 1 - 240
instructions
string
Required string length: 1 - 12000
modelId
string
Required string length: 1 - 120
quickActions
string[]
Required array length: 1 - 6 elements
Required string length: 1 - 160
toolAllowlist
string[]
Minimum array length: 1

Response

The custom agent

data
object
required
meta
object
required