/v1/projects/{project_id}/agents/{agent_id}Update Agent MetadataUpdates the metadata associated with an agent configuration. The config itself is immutable—to change the configuration, delete the existing agent and create a new one.
Parameters
project_idstringpathrequiredThe unique identifier of the project
agent_idstringpathrequiredThe unique identifier of the agent configuration
Request body
Updated metadata for the agent configuration
application/json
UpdateAgentMetadataV1Request
Request body for updating agent configuration metadata
metadataobjectrequiredA map of string key-value pairs to associate with this agent configuration
{
"metadata": {
"additionalProp1": "string"
}
}Responses
AgentConfigurationV1
A reusable agent configuration
agent_idstringrequiredThe unique identifier of the agent configuration
configobjectrequiredThe agent configuration object
created_atstring · date-timeTimestamp when the configuration was created
metadataobjectA map of arbitrary key-value pairs for labeling or organizing the agent configuration
updated_atstring · date-timeTimestamp when the configuration was last updated
{
"agent_id": "string",
"config": {},
"created_at": "2026-06-09T00:00:00Z",
"metadata": {
"additionalProp1": "string"
},
"updated_at": "2026-06-09T00:00:00Z"
}ErrorResponse
oneOf · 3 options
ErrorResponseTextError
ErrorResponseLegacyError
err_codestringThe error code
err_msgstringThe error message
request_idstringThe request ID
ErrorResponseModernError
categorystringThe category of the error
detailsstringA description of the error
messagestringA message about the error
request_idstringThe unique identifier of the request
{
"err_code": "string",
"err_msg": "string",
"request_id": "string"
}