Update an agent. At least one field must be provided.
API key or access token
Agent ID
1Agent name
1 - 255Agent description
2000Agent endpoint URL
2048Agent protocol
MCP, A2A Which account types are allowed. advertiser_account = buyers must provide their own credentials, marketplace_account = use shared marketplace credentials (falls back to agent config)
1advertiser_account, marketplace_account Authentication method
API_KEY, NO_AUTH, JWT, OAUTH Authentication configuration. For API_KEY/JWT: provide new credentials. For OAUTH agents: triggers re-authorization and returns a new authorizationUrl.
Reporting type
WEBHOOK, BUCKET, POLLING Polling cadence (when reportingType is POLLING)
DAILY, MONTHLY Agent status
PENDING, ACTIVE, DISABLED Update agent
Response after updating an agent
Unique agent identifier
Agent display name
Current agent status
PENDING, ACTIVE, DISABLED List of fields that were updated
Present when OAUTH agent re-authorization is triggered — contains the new authorization URL