Search a value's content (deprecated)
POST /Platform/dtypes/search-content
Search a value's content (deprecated). DEPRECATED alias of
get_content, kept one release for old CLIs and stored
conversations. HTTP only -- not exposed to CLI/MCP.
Body parameters
ref: str. Dtype handle/hash.query: optional str. What to search for.max_chars: optional int. Max characters of content to return (default 4000).mode: optional "auto" or "grep" or "bm25" or "similarity" or "hybrid" or 1 more. Search strategy, as inget_content.range: optional Union[str, List[float]].[start, end]scope, or a text of it such as"2-3", as inget_content.context: optional int.grepmode only: lines of context around each match.path: optional str. Structural scope for nested data, as inget_content.
Returns
GetContentResponse
handle: str. Resolved handle; pass it back to read more narrowly.slices: optional str. Selected content with locators where the type has them.derived_handle: optional str or null. Handle of the stored selection when as_handle was set.mode_used: optional "grep" or "bm25" or "similarity" or "hybrid" or "match" or null. Search mode actually used: whatautoresolved to, else the mode requested. Null for a read without a query.rows: optional List[dict] or null. With hql: the result rows, one object per row keyed by column name. Null with as_handle (the rows are in derived_handle).columns: optional List[dict] or null. With hql: the result columns in order, each with name, kind (text, number, bool, date, datetime, phone) and the dtype a typed kind maps to.total_rows: optional int or null. With hql: rows the query produced before offset/limit.
Example request
curl -X POST "https://api.hilus.ai/Platform/dtypes/search-content" \
-H "Authorization: Bearer $HILUS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'