Collections
Updates attributes of an existing collection.
Updates of an existing collection, particularly name and description.
patch/collections/{collection_id}
Request
- Base URLhttps://h2ogpte.genai.h2o.ai/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
collection_idstring required
Id of collection to to be updated
Request body
Response
Successful operation
Example response
{
"id": "123e4567-e89b-12d3-a456-426655440000",
"name": "My sci-fi library",
"description": "Collection of my favourite sci-fi books",
"embedding_model": "BAAI/bge-large-en-v1.5",
"prompt_template_id": "4e400991-c459-455f-995c-dc6f55ffdb90"
}Changes
No recorded changes to this operation across all 1 revision of this API.