Documents
Counts a number of documents.
Counts a number of documents the user has access to. If owned parameter is enabled, it counts only the documents owned by the user.
get/documents/count
Request
- Base URLhttps://h2ogpte.genai.h2o.ai/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
ownedboolean
If true, it counts only the documents owned by the user.
chat_session_idstring
Count only the documents generated by this chat session, matching the filter of the same name on /documents so a filtered list can be paged.
Response
Successful operation
Changes
No recorded changes to this operation across all 1 revision of this API.