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

# Delete knowledge item

> Remove one knowledge item from an evaluation agent.

# Delete Knowledge Item

Remove one knowledge item from an evaluation agent.

<Warning>
  This is a destructive cleanup action. Use it when a source item is outdated,
  duplicated, or should no longer inform evaluation.
</Warning>

Use this after listing knowledge items and confirming the `configId`.

## Endpoint

```http theme={null}
DELETE /api/agents/{id}/config/{configId}
```

## Authentication

Send your platform API key in the `x-api-key` header.

## Path Parameters

| Name       | Type           | Description          |
| ---------- | -------------- | -------------------- |
| `id`       | `string<uuid>` | Evaluation agent ID. |
| `configId` | `integer`      | Knowledge item ID.   |

## Success Response

Returns `204 No Content` when the knowledge item is deleted.


## OpenAPI

````yaml delete /api/agents/{id}/config/{configId}
openapi: 3.0.3
info:
  title: Rippletide Agent Evaluation API
  description: >-
    Public API for evaluation agents, test prompts, test results, and knowledge
    imports
  version: 1.0.0
  contact:
    name: Rippletide API Support
servers:
  - url: https://agent-evalserver-production.up.railway.app
    description: Production server
  - url: http://localhost:3001
    description: Development server
security: []
paths:
  /api/agents/{id}/config/{configId}:
    delete:
      tags:
        - Knowledge
      summary: Delete knowledge item
      description: Remove one knowledge item from an evaluation agent.
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: Evaluation agent ID.
        - name: configId
          in: path
          required: true
          schema:
            type: integer
          description: Knowledge item ID.
      responses:
        '204':
          description: Knowledge item deleted successfully
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Agent or knowledge item not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
        details:
          type: string
          nullable: true
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Platform API key for authenticated account-level API access

````