---
title: "Dismiss Gap"
method: DELETE
path: "/voice/knowledge-base/{agentId}/gaps/{gapId}"
tags: ["Voice Agent Intelligence"]
---

# Dismiss Gap

`DELETE /voice/knowledge-base/{agentId}/gaps/{gapId}`

## Request

- Base URL: `https://api.speakai.co/v1`
- URL: `https://api.speakai.co/v1/voice/knowledge-base/{agentId}/gaps/{gapId}`
- Auth: API key in header `x-speakai-key` and API key in header `x-access-token`

### Dismiss Gap

Requires the OWNER or ADMIN role. Marks the gap dismissed without writing anything to the knowledge base.

## Path parameters

- `agentId` string, required
- `gapId` string, required

## Response `200`

OK

- object
  - `status` 'success'
  - `message` string

## Other responses

- `403`: Caller's role is not OWNER or ADMIN
- `404`: Gap not found

---

[API](https://skmtc.dev/speakai/apis/speak-ai-api.md) · [All operations](https://skmtc.dev/speakai/apis/speak-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/speakai/apis/speak-ai-api/revisions/52d777e6d46e?raw)
