# Mark a question Otto couldn't answer handled (https://notert.io/docs/api/reference/mark-a-question-otto-couldn-t-answer-handled)

`PUT /api/v1/otto/gaps/{id}/handled`

Marks one of the questions gaps lists handled, as the Knowledge page's Mark as handled does, once the page or article that answers it is written, so it leaves the list. Nothing a customer sees changes, and one marked already answers as it stands. Needs knowledge:write and a role that may edit.

Access: A token with knowledge:write.

## Path parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | Yes | The question's id from gaps. At most 64 characters. |

## Response 200

| Field | Type | Description |
| --- | --- | --- |
| `id` | string | The question's id, which markGapHandled takes. |
| `handled` | boolean | Whether it stands handled now, true for one marked before too; false for one gone or no question gaps lists. |

## Errors

| Status | Code | Message |
| --- | --- | --- |
| 400 | `BAD_REQUEST` | Input validation failed. |
| 401 | `UNAUTHORIZED` | Send a valid API token or OAuth access token as a Bearer token. |
| 403 | `CONNECTION_NOT_ALLOWED` | The person who connected this app can't use it in the workspace now. |
| 403 | `FORBIDDEN` | The teammate who holds this API token's secret can't change Otto's knowledge. Only an owner or admin can. |
| 403 | `HOLDER_NOT_ALLOWED` | The teammate who holds this API token's secret can't do this in the workspace now. A teammate who can should roll it in the workspace's settings. |
| 403 | `INSUFFICIENT_SCOPE` | This API token can't change what Otto reads or its description. Create one that may in the workspace's settings. |
| 403 | `NETWORK_NOT_ALLOWED` | This API token works only from the networks it was made for. Call from one of them, or create a token for this one in the workspace's settings. |
| 403 | `NO_SEAT` | This workspace's plan has no seat for you. |
| 403 | `WORKSPACE_SUSPENDED` | This workspace is suspended. |
| 409 | `CHANGED_MEANWHILE` | Something changed meanwhile. Try again. |
| 429 | `TOO_MANY_REQUESTS` | Too Many Requests. Its data holds `retryAfter`. |

## Example request

```sh
curl -X PUT https://app.notert.io/api/v1/otto/gaps/string/handled \
  -H "Authorization: Bearer $NOTERT_API_TOKEN"
```

## Example response 200

```json
{
  "id": "4b8e2d1f-6a3c-4e5b-9d7f-1c3e5a7b9d2f",
  "handled": true
}
```
