The acting user's fills, newest first, with key coverage, tick and live-call progress
const url = 'http://localhost:11044/api/v1/admin/kg/fills';const options = {method: 'GET', headers: {'X-Embabel-Api-Key': '<X-Embabel-Api-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:11044/api/v1/admin/kg/fills \ --header 'X-Embabel-Api-Key: <X-Embabel-Api-Key>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Username to act as; when it resolves to a user it is used in preference to the authenticated principal. Omitted or blank, the authenticated principal acts; 401 when neither resolves
Responses
Section titled “Responses”The acting user’s fills
A fill: a slow, resumable materialization of one query, re-run a budgeted chunk per tick until a pass buys nothing. What /admin/kg/fills starts and lists.
object
Units of paid work one tick may buy — a producer fetch group or a group of an inline model judgement, not HTTP requests or tokens. Clamped to 1–500; defaults to 60.
The Cypher every tick re-runs, as it was submitted.
The fill’s id, fill_ plus 12 hex characters — what DELETE /admin/kg/fills/{id} takes.
A display name for the fill. Empty when none was given.
How far the fill has got, as of its most recent tick.
object
Keys the producer caches answer, of the total the last pass enumerated. keysTotal is null where the query has no denominator; never derive a fraction then.
object
Distinct key units, one per producer, key and period, answered in the execution from a cache tier or a successful fetch
Distinct key units the execution demanded; null when the sweep has no denominator (totality UNKNOWN), which never means zero
Epoch milliseconds at which the fill was started.
Why the most recent tick failed or was refused. Null when it ran clean. An error leaves the fill RUNNING.
Epoch milliseconds of the most recent tick, refused ones included. Null before the first.
Paid calls in the most recent tick alone, counted as liveCallsTotal counts them.
Paid calls across every tick: producer fetches, in-query model calls and semantic searches.
RUNNING, DONE (a full pass needed no paid work) or CANCELLED.
Chunks run so far. A chunk refused before it ran — a halt, a ceiling — does not count.
The routine the fill runs as, whose agent governs every chunk. Null for a fill an operator started outside any routine run.
The id of the user the fill belongs to and runs as.
Why this fill will keep polling rather than reach DONE — its producers’ records do not outlive a sweep. Decided at start. Null when it can converge, or when the query could not be planned to say.
Example
[ { "progress": { "coverage": { "totality": "KNOWN" }, "trend": "UNKNOWN" } }]No authenticated principal and no resolvable username
A refusal carrying only a human-readable reason.
object
What went wrong, in the terms the caller can act on.
Example generated
{ "error": "example"}
