---
title: "Delete Agent"
method: DELETE
path: "/api/v1/agents/{agent_id}"
tags: ["agents"]
---

# Delete Agent

`DELETE /api/v1/agents/{agent_id}`

Delete an agent that is not referenced by any dependent resources. The request succeeds if the agent was already deleted.

## Path parameters

- `agent_id` string, required

## Response `200`

Successful Response

- DeleteAgentResponse
  - `agent_id` string, required — ID of the deleted agent.

## Changes

- **2026-09-19** `290842c6677f` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/trajectory/apis/trajectory-api/changes/api/v1/agents/:agent_id/delete.md)

---

[API](https://skmtc.dev/trajectory/apis/trajectory-api.md) · [All operations](https://skmtc.dev/trajectory/apis/trajectory-api/llms.txt) · [OpenAPI document](https://skmtc.dev/trajectory/apis/trajectory-api/revisions/8331f8435ce8?raw)
