The ERD requires API boundaries to accept only UUID public IDs or keys and
never expose internal bigint identities.
We need to confirm the current indexer API surface and stored-procedure
entry points follow this rule.
Decision:
Verified indexer API DTOs and handlers accept only UUIDs or keys, never
internal bigint IDs.
Confirmed API DTOs for tags use Uuid for tag_public_id and string keys
(TagCreateRequest, TagUpdateRequest, TagDeleteRequest) and that the
indexer facade methods take UUID actor identities plus UUID/tag key inputs.
Confirmed indexer stored-procedure wrappers (deployment_init, tag_*,
routing_policy_*, rate_limit_*, search_*, secret_*) accept UUID
public IDs and key strings exclusively.
Consequences:
API and stored-procedure boundaries comply with the ERD, keeping internal
bigint identities private to the database layer.
Client integrations can rely on UUIDs/keys without leaking internal IDs.
Follow-up:
Re-verify new indexer endpoints and procedures before expanding the API.