---
title: "Update knowledge"
method: PUT
path: "/v1/Knowledge/{id}"
---

# Update knowledge

`PUT /v1/Knowledge/{id}`

Update knowledge

## Path parameters

- `id` string, required

## Request body

- AssistantsV1ServiceUpdateKnowledgeRequest
  - `description` string — The description of the knowledge source.
  - `knowledge_source_details` object — The details of the knowledge source based on the type.
  - `name` string — The name of the knowledge source.
  - `policy` AssistantsV1ServiceCreatePolicyRequest
    - `description` string — The description of the policy.
    - `id` string — The Policy ID.
    - `name` string — The name of the policy.
    - `policy_details` unknown, required
    - `type` string — The description of the policy.
  - `type` string — The description of the knowledge source.
  - `embedding_model` string — The embedding model to be used for the knowledge source. It's only applicable to 'Database' type.

## Response `200`

OK

- AssistantsV1ServiceKnowledge
  - `description` string — The type of knowledge source.
  - `id` string, required — The description of knowledge.
  - `account_sid` string — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Knowledge resource.
  - `knowledge_source_details` object — The details of the knowledge source based on the type.
  - `name` string, required — The name of the knowledge source.
  - `status` string — The status of processing the knowledge source ('QUEUED', 'PROCESSING', 'COMPLETED', 'FAILED')
  - `type` string, required — The type of knowledge source ('Web', 'Database', 'Text', 'File')
  - `url` string — The url of the knowledge resource.
  - `embedding_model` string — The embedding model to be used for the knowledge source.
  - `date_created` string, date-time, required — The date and time in GMT when the Knowledge was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
  - `date_updated` string, date-time, required — The date and time in GMT when the Knowledge was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.

---

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