Documents
Updates attributes of an existing document.
Updates attributes of an existing document, particularly name and uri.
patch/documents/{document_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
document_idstring required
Id of document to to be updated
Request body
Response
Successful operation
Example response
{
"id": "123e4567-e89b-12d3-a456-426655440000",
"name": "The Hitchhiker's Guide to the Galaxy",
"chat_session_id": "123e4567-e89b-12d3-a456-426655440000"
}Changes
No recorded changes to this operation across all 1 revision of this API.