Refresh cached agent card

Re-fetch the agent card from the configured agentCardUrl (or derived A2A well-known URL) and update the cached copy. Detects skill changes, auto-applies roles to new skills, and returns a change report.

Authentication

AuthorizationBearer
API key or Clerk session token

Path parameters

idstringRequired

Response

Updated agent with change report
agentTypestring
changeReportmap from strings to any
claudeManagedConfigmap from strings to any or null
configmap from strings to any or null
createdAtstring
descriptionstring or null
externalConfigmap from strings to any or null
iconstring or null
idstring
namestring
organizationIdstring or null
primaryFlowIdstring or null
statusstring
updatedAtstring
userIdstring

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error
502
Bad Gateway Error