---
title: "Delete Content by ID"
method: DELETE
path: "/knowledge/content/{content_id}"
tags: ["Knowledge"]
---

# Delete Content by ID

`DELETE /knowledge/content/{content_id}`

Permanently remove a specific content item from the knowledge base. This action cannot be undone.

## Path parameters

- `content_id` string, required

## Query parameters

- `db_id` string, nullable — Database ID to use
- `knowledge_id` string, nullable — Knowledge base ID to use

## Response `200`

Successful Response

- ContentResponseSchema
  - `id` string, required — Unique identifier for the content
  - `name` string, nullable — Name of the content
  - `description` string, nullable — Description of the content
  - `type` string, nullable — MIME type of the content
  - `size` string, nullable — Size of the content in bytes
  - `linked_to` string, nullable — ID of related content if linked
  - `metadata` object, nullable — Additional metadata as key-value pairs
  - `access_count` integer, nullable — Number of times content has been accessed
  - `status` 'processing' | 'completed' | 'failed' — Enumeration of possible content processing statuses.
  - `status_message` string, nullable — Status message or error details
  - `created_at` string, date-time, nullable — Timestamp when content was created
  - `updated_at` string, date-time, nullable — Timestamp when content was last updated

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Content not found
- `422` — Validation Error
- `500` — Failed to delete content

---

[API](https://skmtc.net/agno/apis/agno-api-reference.md) · [All operations](https://skmtc.net/agno/apis/agno-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agno/agno-api-reference/versions/5f6149d395d0/schema)
