Documents
Get document
Retrieves one source document from the project's Datasphere knowledge store by ID. Use it to check a known document and its readiness for retrieval; use List documents to discover IDs or Search documents to find relevant passages.
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: DataSphere.
Learn more about API scopes.
get/api/datasphere/documents/{id}
Path parameters
idstring uuid required
Universal Unique Identifier.
Unique ID of a Document.
Response
The request has succeeded.
Example response
{
"filename": "player_list.pdf",
"tags": [
"sports",
"football",
"game"
],
"max_sentences_per_chunk": 80,
"split_newlines": true,
"overlap_size": 10,
"chunk_size": 50,
"number_of_chunks": 2345,
"chunks_uri": "/api/rest/datasphere/documents/acaa5c49-be5e-4477-bce0-48f4b23b7720/chunks",
"created_at": "2024-05-06T12:20-12Z",
"updated_at": "2024-05-06T12:20-12Z"
}Changes
No changes found, but 3 of the 137 revisions have a changelog that could not be searched — this endpoint may have changed in one of them.