---
title: "Update a knowledge item by ID"
method: PATCH
path: "/v1/knowledge/{knowledgeId}"
tags: ["Knowledge"]
---

# Update a knowledge item by ID

`PATCH /v1/knowledge/{knowledgeId}`

Update an existing knowledge item by ID

## Path parameters

- `knowledgeId` string, required

## Response `200`

Update an existing Knowledge

- CreateOrUpdateKnowledgeResponseDto
  - `requestId` string
  - `resource` string
  - `data` KnowledgeResponseDto
    - `name` string, required — The friendly name of the Knowledge item. Up to 100 characters.
    - `file` string, required — The filename or download URL of the Knowledge item source file. When available, this will be a signed URL for downloading the file.
    - `metadata` object — Set of key-value pairs that you can attach to a Knowledge. This can be useful for storing any additional information you wish, in a structured format. You can specify up to 10 keys, with key names up to 40 characters long and values up to 500 characters long.
    - `settings` Settings
      - `appVisibility` 'visible' | 'hidden' — Whether the Knowledge is available in the Jasper app. Provides a way to omit Knowledge items created from the API, from being available in the Jasper app experience. One of "visible" or "hidden". Defaults to "visible".
      - `autoSummary` boolean — Specify if the summary should be created manually or automatically.
    - `id` string
    - `createdAt` string
    - `updatedAt` string
    - `processingState` string
    - `tags` string[]

## Other responses

- `400` — Bad request. May be missing required fields or may have badly formatted inputs or options.
- `404` — Not found. May have an incorrect URL path or Knowledge ID.
- `500` — Internal server error. Unable to update Knowledge by ID.

---

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