v27

latestOpenAPI 3.1.0Proprietaryraw.githubusercontent.com2026-06-0872127230.6 KB
Gaps

List content gaps

List saved content gaps. Optional favorite_id scopes results to a product/identity (hybrid filter keeps legacy NULL gaps visible via domain-match).

get/api/agent/gaps

Query parameters

favorite_idstring uuid

Filter to gaps tagged with this favorite. Owner-checked against tenant — cross-tenant favorites return 403. The legacy-NULL fallback (rows where favorite_id IS NULL but domain matches) is appended only when the favorite's domain normalizes successfully; if normalization fails, the fallback is dropped and missing legacy gaps may indicate an invalid favorite domain rather than a data bug.

limitinteger

Max items to return.

Response

List of gaps

total_gapsinteger required
credits_usednumber required