Update agent
Changed onApply a partial update to an existing agent configuration.
Gateway contract
The Node gateway validates the request body via Zod middleware before forwarding to the Python agent service. The agentKey path param and the request body are both validated. Query parameters are ignored by the controller, and body fields the validator does not know are dropped rather than refused. The body may be omitted: an empty update succeeds and changes nothing.
Update semantics
Only fields present in the request body are updated. models may be omitted (the agent's existing models are kept), set to an empty array (clears the agent's models so it falls back to the organization's default LLM at chat time), or set to a non-empty array. When a non-empty array is provided, the gateway Zod middleware requires at least one object entry with isReasoning: true.
Permissions
The authenticated user must have can_edit on the agent (typically the owner). Service-account and shareWithOrg transitions follow additional Python business rules.
Success response
Returns a lightweight success envelope only. Use GET /agents/{agentKey} to read the persisted agent after an update.
Request
- Base URLhttps://app.pipeshub.com/api/v1
- URLhttps://app.pipeshub.com/api/v1/agents/{agentKey}
- Auth
- HTTP bearer
- or OAuth 2Authorization code: /api/v1/oauth2/authorizeClient credentialsToken URL: /api/v1/oauth2/token scopes: agent:write
Path parameters
Unique agent identifier
Request body
Example request
{
"name": "Renamed Agent"
}Response
Agent updated successfully
Example response
{
"message": "Agent updated successfully"
}Changes
- breaking
added to the
//request propertyallOflist - breaking
removed
subschema #1subschema #2from therequest propertyanyOflist - breaking
removed the enum value
calendarof the request property// - breaking
removed the enum value
clickupof the request property// - breaking
removed the enum value
confluenceof the request property// - breaking
removed the enum value
confluencedatacenterof the request property// - breaking
removed the enum value
docsof the request property// - breaking
removed the enum value
driveof the request property// - breaking
removed the enum value
githubof the request property// - breaking
removed the enum value
gmailof the request property// - breaking
removed the enum value
jiraof the request property// - breaking
removed the enum value
jiradatacenterof the request property// - breaking
removed the enum value
lumosof the request property// - breaking
removed the enum value
mariadbof the request property// - breaking
removed the enum value
onedriveof the request property// - breaking
removed the enum value
outlookof the request property// - breaking
removed the enum value
redshiftof the request property// - breaking
removed the enum value
salesforceof the request property// - breaking
removed the enum value
sharepointof the request property// - breaking
removed the enum value
sheetsof the request property// - breaking
removed the enum value
slackof the request property// - breaking
removed the enum value
teamsof the request property// - breaking
removed the enum value
zoomof the request property// - breaking
the
//request property's minLength was increased from0to1 - breaking
the
request property's minLength was increased from0to1 - breaking
the
////request property's minLength was increased from0to1 - breaking
the
////request property's minLength was increased from0to1 - breaking
removed
subschema #1subschema #2from the/request propertyoneOflist - breaking
added the pattern
\Sto the request property// - breaking
added the pattern
\Sto the request property - breaking
added the pattern
\Sto the request property//// - breaking
added the pattern
\Sto the request property//// - breaking
the
//request property type changed fromstringto no type - warning
the
request property's maxLength was set to128 - info
added the new optional request property
- info
request body became optional
- info
added
subschema #1subschema #2to therequest propertyanyOflist - info
added
subschema #1subschema #2to the/request propertyoneOflist
- breaking
- info
added the new optional request property
- info
added the new optional request property
- info
added the new
docsenum value to the request property// - info
added the new
sheetsenum value to the request property//
- info