Schema Inventory
Return the data-derived schema inventory for an authorized dataset.
Summarizes the knowledge graph by semantic type: per-type instance
counts, representative sample names, and the per-pair relationship
distribution. Wraps the get_schema_inventory SDK function so it
is accessible over HTTP with an OpenAPI response schema.
Query parameters:
dataset_id: dataset UUID to scope the graph databases.
samples_per_type: max sample instance names per type (default 5).
sort: "count" (default) orders types by descending count;
"none" preserves discovery order.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Dataset UUID to scope the graph databases. List your datasets via GET /api/v1/datasets to find it.
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
x >= 0Sort order: 'count' (default) orders types by descending instance count; 'none' preserves discovery order. Other values are rejected.
"count"
Response
Successful Response
Total number of instances of this type.
x >= 0Number of returned samples.
x >= 0Semantic type name.
Representative instance names.
Relationship aggregates involving this semantic type.