Describe a handle and where it came from
POST /Platform/dtypes/info
Describe a handle and where it came from. Returns its type,
size/shape, __type__ label, and provenance chain: the tool call
that produced it, the value it was edited or derived from, and so
on.
Provenance is derived from the conversation: the tool Message whose
content carries the handle names the producing call, and the
assistant's matching tool_calls arguments name the parent of an
edit / get_content / create result. Handles that never
landed in a Message (CLI dtypes edit, direct API create)
have an empty chain.
Body parameters
ref: str. Dtype handle/hash. Unknown or not visible -> 404.
Returns
DtypeInfoResponse
handle: str. The described handle.dtype: optional str or null. Dtype name.description: optional str or null. Short shape description, e.g. "(tree, Boat, 12 leaves, depth 2)".type: optional str or null. The tree's type label.size_chars: optional int or null. Text size in characters, when textual.provenance: optional List[dict]. Provenance chain: this handle's record, then its parent's, ...
Example request
curl -X POST "https://api.hilus.ai/Platform/dtypes/info" \
-H "Authorization: Bearer $HILUS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'