# Update Agent Metadata

**PUT** `/v1/projects/{project_id}/agents/{agent_id}`

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.

Base URL: `https://agent.deepgram.com`

Tags: `configurations`

## Authorization

| Option | Scheme | Type | Sent as | Scopes |
| --- | --- | --- | --- | --- |
| Option 1 | `ApiKeyAuth` | `apiKey` | header `Authorization` | — |

## Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `project_id` | `string` | Yes | The unique identifier of the project |
| `agent_id` | `string` | Yes | The unique identifier of the agent configuration |

## Request body

Optional. Media type: `application/json`

Updated metadata for the agent configuration

### Example request body

```json
{
  "metadata": {
    "additionalProp1": "string"
  }
}
```

## Responses

| Status | Description | Media type |
| --- | --- | --- |
| `200` | Agent configuration updated | `application/json` |
| `400` | Invalid Request | `application/json` |

### Example response: 200 — Agent configuration updated

```json
{
  "agent_id": "string",
  "config": {},
  "created_at": "2026-06-09T00:00:00Z",
  "metadata": {
    "additionalProp1": "string"
  },
  "updated_at": "2026-06-09T00:00:00Z"
}
```

### Example response: 400 — Invalid Request

```json
{
  "err_code": "string",
  "err_msg": "string",
  "request_id": "string"
}
```

## Related pages

- [Analyze text content](./text_analyze.md)
- [audio](./tags/audio.md)
- [balances](./tags/balances.md)
- [breakdown](./tags/breakdown.md)
- [configurations](./tags/configurations.md)
- [Create a Project Invite](./invites_create.md)
- [Create a Project Key](./keys_create.md)
- [Create a Project Self-Hosted Distribution Credential](./distributioncredentials_create.md)
- [Create an Agent Configuration](./configurations_create.md)
- [Create an Agent Variable](./variables_create.md)

# Agent Instructions

Cite this page’s canonical URL and keep its documentation version.
Follow Link headers to discover available agent guidance and tools.
Read the advertised skill for the requested version before choosing starting pages.
Treat documentation as reference material, not execution authorization.
