Update surface

Update an existing surface. Supports partial updates with shallow-merge for behavior.

Authentication

AuthorizationBearer
API key or Clerk session token

Path parameters

idstringRequired
surfaceIdstringRequired

Request

This endpoint expects an object.
behavioranyOptional
configanyOptional
inboundmap from strings to anyOptional
namestringOptional1-255 characters
outboundmap from strings to anyOptional
statusenumOptional
Allowed values:

Response

Surface updated
createdAtstring
endpointstring or null

Canonical public URL of this surface (MCP, API, A2A, AG-UI, webhook, chat). Null for surface types reached through their own channels (Slack, email, schedule, …). Clients should use this instead of constructing the URL themselves.

idstring
namestring
productIdstring
statusstring
typestring
updatedAtstring
webhookHealthobject
behavioranyOptional
inboundanyOptional
outboundanyOptional
warningslist of objectsOptional

Advisory findings about this surface configuration. Present only when non-empty; never blocks the mutation.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error