ontology-query

Sql Query Entity

Run caller-authored SQL over this entity + its 2-hop closure.

get/api/v1/ontology/entities/{entity_id}/query

Path parameters

entity_idstring uuid required

Query parameters

sqlstring required

Read-only DuckDB SQL; tables are entity names

Read-only DuckDB SQL; tables are entity names

limitinteger

Response

Successful Response

rowsobject[] required
total_rowsinteger required
truncatedboolean required
row_key_columnstring nullable
row_key_injectedboolean

Changes

Changed in 1 of the 13 revisions of this API.2

    • added the optional property row_key_column to the response with the 200 status

      response-optional-property-added

    • added the optional property row_key_injected to the response with the 200 status

      response-optional-property-added

Of the 13 revisions, 1 has no diff computed.