Rename an agent. The old name continues to resolve via the alias table.
agents
Rename an agent. The old name continues to resolve via the alias table.
Rename agent_name to payload["new_name"] for the caller’s org.
Writes a forwarding alias so URLs that referenced the old name
keep working — resolve_agent_id checks agent_name_alias
when the primary lookup misses. See
app/services/agent_service.py::rename_agent.
POST
Rename an agent. The old name continues to resolve via the alias table.
Authorizations
Enter your API key (e.g. dai_sk_test_key_001)
Headers
Path Parameters
Cookies
Body
application/json
The body is of type Payload · object.
Response
Renamed.
The response is of type Response Rename Agent Endpoint Api V1 Agents Agent Name Rename Post · object.