Skip to main content

Sync Background Agent

POST 

/api/background-agents/:id/sync

Syncs the agent to its external platform (Claude Managed Agents or AWS AgentCore). Creates or updates the external agent definition, uploads enabled skills, and stores fresh gateway credentials on the platform side.

Syncing rotates the agent's secret internally, so any previously issued plaintext secret stops working.

Only agents on the claude-managed-agents and aws-agentcore platforms can be synced.

Request

Responses

Agent synced successfully