H2O.ai Collections API
The Collections API from H2O.ai — 40 operation(s) for collections.
Operations 56
POST
/collections/{collection_id}/chunks/match
Finds chunks related to a message using semantic search
#
POST
/collections/{collection_id}/chunks/search
Finds chunks related to a message using lexical search
#
POST
/collections/reset_all_collection_expirations
Reset all collection expiry dates and inactivity intervals that have been set
#
PUT
/collections/{collection_id}/prompt_template
Updates a prompt template reference of a collection
#
DELETE
/collections/{collection_id}/prompt_template
Removes a prompt template reference from the collection
#
PUT
/collections/{collection_id}/inactivity_interval
Updates an inactivity interval of a collection
#
DELETE
/collections/{collection_id}/inactivity_interval
Removes an inactivity interval from the collection
#
PUT
/collections/{collection_id}/size_limit
Sets a maximum limit on the total size of documents (sum) added to a collection
#
POST
/collections/{collection_id}/is_public
Updates a flag specifying whether a collection is private or public
#
DELETE
/collections/{collection_id}/prompt_settings
Resets the prompt settings for a given collection
#
PUT
/collections/{collection_id}/documents/{document_id}
Import an already stored document to an existing collection
#
DELETE
/collections/{collection_id}/documents/{document_id}
Removes the document from the collection
#
POST
/collections/{collection_id}/documents/insert_job
Creates job to insert document to the collection
#
POST
/collections/{collection_id}/documents/delete_job
Creates job to remove documents from the collection
#
GET
/collections/{collection_id}/permissions
Returns a list of access permissions for a given collection
#
GET
/collections/{collection_id}/group_permissions
Returns a list of group access permissions for a given collection
#
GET
/collections/{collection_id}/public_permissions
Returns the public permissions for a given collection
#
POST
/collections/{collection_id}/import_collection_job
Creates job to import collection to the collection
#
POST
/collections/{collection_id}/migrate_scheduled_connectors
Migrate scheduled connectors from another collection
#
POST
/collections/{collection_id}/migrate_chat_sessions_job
Creates a job to migrate all chat sessions from one collection to another
#
Documentation
Documentation
https://docs.h2o.ai/enterprise-h2ogpte/
APIReference
https://h2ogpte.genai.h2o.ai/swagger-ui/
GettingStarted
https://docs.h2o.ai/enterprise-h2ogpte/get-started
Authentication
https://docs.h2o.ai/enterprise-h2ogpte/guide/apis
Documentation
https://docs.h2o.ai/mlops/
APIReference
https://docs.h2o.ai/mlops/model-scoring/mlops-scoring-rest-api
Specifications
Schemas & Data
JSONSchema
https://artifacts.apis.io/h2o-ai/json-schema/h2o-ai-collection-schema.json
JSONSchema
https://artifacts.apis.io/h2o-ai/json-schema/h2o-ai-collection-settings-schema.json
JSONSchema
https://artifacts.apis.io/h2o-ai/json-schema/h2o-ai-document-schema.json
JSONSchema
https://artifacts.apis.io/h2o-ai/json-schema/h2o-ai-scheduled-connector-details-schema.json
JSONSchema
https://artifacts.apis.io/h2o-ai/json-schema/h2o-ai-collection-update-request-schema.json
JSONSchema
https://artifacts.apis.io/h2o-ai/json-schema/h2o-ai-collection-create-request-schema.json