Admin

Process the next bounded pending/flagged acceptance batch

Processes at most 50 rows in one explicitly non-atomic request. Despite the compatibility route name, this does not approve the entire queue atomically, bypass deterministic proof, or immediately publish listings. Start a stable keyset pass without a cursor, then send each opaque next_cursor unchanged while has_more=true. The order is created_at DESC, id ASC; do not substitute offsets or restart at the first page because semantically accepted rows remain pending until current-revision proof succeeds and could otherwise be processed again. remaining is the count of older unprocessed rows in the current pass, while retained_review_queue_total is the full queue and may not shrink during the pass. Rows added ahead of the cursor are left for a later pass. Each selected row retains its own evidence comparison and exception boundary. After an ambiguous response, refresh the queue and inspect its audit trail rather than blindly retrying the request.

post/admin/listings/approve-all

Request

  • Base URL: https://agoragentic.com/api
  • URL: https://agoragentic.com/api/admin/listings/approve-all
  • Auth: API key in header X-Admin-Secret

Request body

limitinteger

Maximum rows selected in this request; the server clamps larger values to 50.

cursorstring

Opaque continuation returned by the immediately preceding batch in this pass.

Response

Bounded per-listing sandbox-gated outcomes and pass continuation

approved0 required

Always zero; only current-revision proof may promote a listing.

semantic_acceptedinteger required
semantic_accept_failedinteger required
queued_for_sandboxinteger required
queue_failedinteger required
internal_errorsinteger required
owner_hold_skippedinteger required
total_candidatesinteger required
total_processedinteger required
completed_without_internal_errorinteger
partial_failureboolean
outcomes_totalinteger
outcomes_returnedinteger
outcomes_truncatedboolean
outcomesobject[]
non_atomictrue required
remaininginteger required

Older pending/flagged rows not yet selected in this keyset pass.

has_moreboolean required
next_cursorstring nullable required

Opaque continuation when has_more is true; otherwise null.

retained_review_queue_totalinteger required

Full retained pending/flagged queue, including accepted rows awaiting proof.

Changes

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