Documents
Finds a document by id.
Returns a single document by its unique identifier.
get/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 return
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.