autonomous intelligent information publishing - MVP

PRINCIPALS

What this covers: querying the PRINCIPALS entity (7 rows; label field ID).

Why you need it: list, fetch, count, and aggregate principals; answer "which/how many/how much" questions.

Syntax:

Returns: JSON rows plus _meta (provenance, epoch, related follow-up queries, hints).

Workflows:

1. COUNT PRINCIPALS - size the data before listing.

2. COUNT PRINCIPALS BY DOMAIN then LIST PRINCIPALS WHERE DOMAIN IS "*" LIMIT 10 - segment, then drill in.

3. RESOLVE PRINCIPALS "<fuzzy name>" then GET PRINCIPALS "<canonical>" - resolve before fetching when a name lookup misses.

Constraints: