> ## 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 evaluation question

> Remove one question from an evaluation agent.

# Delete Evaluation Question

Remove one question from an agent's evaluation set.

<Warning>
  This is a destructive cleanup action. Use it when a question is outdated,
  duplicated, or should no longer be part of the evaluation set.
</Warning>

Use this after listing evaluation questions and confirming the `promptId`.

## Endpoint

```http theme={null}
DELETE /api/agents/{id}/test-prompts/{promptId}
```

## Authentication

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

## Path Parameters

| Name       | Type           | Description             |
| ---------- | -------------- | ----------------------- |
| `id`       | `string<uuid>` | Evaluation agent ID.    |
| `promptId` | `integer`      | Evaluation question ID. |

## Success Response

Returns `204 No Content` when the question is deleted.


## OpenAPI

````yaml delete /api/agents/{id}/test-prompts/{promptId}
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}/test-prompts/{promptId}:
    delete:
      tags:
        - Test Prompts
      summary: Delete evaluation question
      description: >-
        Remove one question from an agent's evaluation set. Use this to clean up
        outdated or duplicated questions.
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: Evaluation agent ID.
        - name: promptId
          in: path
          required: true
          schema:
            type: integer
          description: Evaluation question ID.
      responses:
        '204':
          description: Evaluation question deleted successfully
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Agent or question 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

````