Update a text splitter
PATCH/text-splitters/:text_splitter_id
Changes the description of a text splitter. "description": null removes the description, and an omitted field keeps the current description. The provider and the parameters cannot change, and a request that names any other field is refused with HTTP 422. Different parameters require a new text splitter.
Permissions. Write on the text splitter.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
The text splitter was updated. The body is the updated text splitter.
The body is not valid JSON.
The authentication headers are missing or invalid, or the API key is inactive or expired. Errors lists the messages.
The license is not valid (Invalid license: <reason>).
No text splitter with this identifier exists, or the key lacks write permission on the text splitter (Text Splitter not found, with the identifier in details.id).
The body names a field other than description, or the value has the wrong type.