---
title: "Delete agent"
method: DELETE
path: "/v1/agents/{id}"
tags: ["Agents"]
---

# Delete agent

`DELETE /v1/agents/{id}`

## Request

- Base URL: `https://api.marketintell.ai`
- URL: `https://api.marketintell.ai/v1/agents/{id}`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Delete an agent you own. Cascades to its run history and memory. Disables the agent first if it's currently enabled, so any in-flight execution completes cleanly. Returns 404 if the agent doesn't exist or isn't owned by the calling key.

## Path parameters

- `id` string, required

## Response `200`

Agent deleted

- object
  - `success` boolean, required
  - `deleted` integer

## Other responses

- `404`: Not found

---

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