Get a value by handle
GET /Platform/dtypes/{dtype_hash}
Get a value by handle. Returns a CONSUMABLE view of it.
Text-based dtypes (string, secret, table) return the string value.
Binary dtypes (pdf, image, audio, file) return the text render()
PREVIEW — extracted/OCR text with page/line locators, an over-budget
pointer to get_content for large docs, and get_media hints
for page images — NOT a multi-megabyte base64 blob. The raw bytes are
intentionally omitted here; they are fetched explicitly via
get_dtype_raw (bytes) or get_media (page/preview images).
Path parameters
dtype_hash: str. The handle, e.g.pdf-....
Returns
DtypeResponse
hash: str. The dtype handle.dtype: str. Dtype name.is_binary: bool. Whether the value is binary (pdf/image/audio/file).content_type: optional str or null. Media type of the value.size: optional int or null. Byte length of a binary value, when known.value: optional str or null. The value of a text-backed dtype.preview: optional str or null. Agent-friendly rendering of a binary value: extracted text with locators and pointers to get_media for pixels.preview_parts: optional List[dict] or null. Structured RenderedMedia parts with inline image bytes omitted.metadata: optional dict or null. Stored dtype metadata.
Example request
curl -X GET "https://api.hilus.ai/Platform/dtypes/{dtype_hash}" \
-H "Authorization: Bearer $HILUS_API_KEY"