Render or slice a value for viewing

POST /Platform/dtypes/get-media

Render or slice a value for viewing. Returns media for a handle: a selected slice of it (pages, a time window) as its own handle, or a rendering of it you can look at.

To READ content -- find a value, quote a line, answer a question about the text -- use get_content instead: it is exact, cheap, and returns locators. Fetch only the part you need (range), never the whole thing. This one dtype-agnostic operation loads the dtype, so format and range are interpreted PER TYPE:

Returns {handle, parts} where parts is a list of RenderedMedia JSON dicts.

Body parameters

Returns

GetMediaResponse

Example request

curl -X POST "https://api.hilus.ai/Platform/dtypes/get-media" \
  -H "Authorization: Bearer $HILUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'