Skip to main content
Deepgram's Docs

Search documentation

Type to search this documentation.

Update Agent Metadata

PUT/v1/projects/{project_id}/agents/{agent_id}Update Agent Metadata

Updates 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_idstringpathrequired

The unique identifier of the project

agent_idstringpathrequired

The unique identifier of the agent configuration

Request body

Updated metadata for the agent configuration

application/json
objectUpdateAgentMetadataV1Request

UpdateAgentMetadataV1Request

Request body for updating agent configuration metadata

metadataobjectrequired

A map of string key-value pairs to associate with this agent configuration

Example request
{
  "metadata": {
    "additionalProp1": "string"
  }
}

Responses

200Agent configuration updatedapplication/json
objectAgentConfigurationV1

AgentConfigurationV1

A reusable agent configuration

agent_idstringrequired

The unique identifier of the agent configuration

configobjectrequired

The agent configuration object

created_atstring · date-time

Timestamp when the configuration was created

metadataobject

A map of arbitrary key-value pairs for labeling or organizing the agent configuration

updated_atstring · date-time

Timestamp when the configuration was last updated

Example response
{
  "agent_id": "string",
  "config": {},
  "created_at": "2026-06-09T00:00:00Z",
  "metadata": {
    "additionalProp1": "string"
  },
  "updated_at": "2026-06-09T00:00:00Z"
}
400Invalid Requestapplication/json
valueErrorResponse

ErrorResponse

oneOf · 3 options
Option 1stringErrorResponseTextError

ErrorResponseTextError

Option 2objectErrorResponseLegacyError

ErrorResponseLegacyError

err_codestring

The error code

err_msgstring

The error message

request_idstring

The request ID

Option 3objectErrorResponseModernError

ErrorResponseModernError

categorystring

The category of the error

detailsstring

A description of the error

messagestring

A message about the error

request_idstring

The unique identifier of the request

Example response
{
  "err_code": "string",
  "err_msg": "string",
  "request_id": "string"
}
Documentation menu