from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key="My API Key",
)
response = client.v2.documents.retrieve_metadata(
"documentId",
)
print(response.id)
{
"id": "<string>",
"fileName": "<string>",
"presignedUrl": "<string>"
}
Retrieves metadata for a specific document, including a presigned URL for direct access if applicable.
from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key="My API Key",
)
response = client.v2.documents.retrieve_metadata(
"documentId",
)
print(response.id)
{
"id": "<string>",
"fileName": "<string>",
"presignedUrl": "<string>"
}
The unique identifier of the document.
Successfully retrieved document metadata.