State of the catalog's load sources: last batch, count and failures.

Accepts ADMIN_TOKEN as Bearer or the ADMIN_EMAIL session. Returns: { fontes, falhas, runs, orcamento }

get/api/admin/carga

Request

  • Base URL: https://agentalog.com
  • URL: https://agentalog.com/api/admin/carga
  • Auth: HTTP bearer

Query parameters

fontestring

Restricts to one source, e.g. official_mcp.

Response

{ fontes, falhas, runs, orcamento }

fontesobject[] required

Each source with its last batch and the count it brought.

falhasobject[] required

Import failures not yet marked as seen.

runsobject[] required

The recent runs, newest first.

orcamentoobject required

Today's publication budget (UTC day): total, catalogo (the catalog slice) and okf (the OKF slice), each with usados (rows actually written, as D1 counts them: row, key and every index entry, reconciled after each batch), reservado (the estimate charged before writing; reservado / usados is how inflated the estimate is) and teto; classes (catalogo, okf, fatos, readmes, fts) with today's itens, reservado, linhas (rows the database actually wrote) and media (real rows per item over the last days, the number the estimate now uses; null without history); plus dia.

Changes

No recorded changes to this operation across all 1 revision of this API.