> ## Documentation Index
> Fetch the complete documentation index at: https://docs.orova.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Agent

> Update an existing agent

## Request

```bash theme={null}
curl -X PUT "https://app.orova.ai/api/agents/AGENT_ID" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Updated Agent Name",
    "system_prompt": "Updated instructions...",
    "llm_model": "gpt-4o"
  }'
```

## Path parameters

| Parameter | Type   | Description |
| --------- | ------ | ----------- |
| `id`      | string | Agent ID    |

## Body parameters

All fields from [Create Agent](/api-reference/agents/create) are accepted. Only include the fields you want to update.

## Response

Returns the updated agent object.
