List running backfills
const url = 'https://api.inboxcnx.com/v1/backfills?include=total';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.inboxcnx.com/v1/backfills?include=total' \ --header 'Authorization: Bearer <token>'Lists the running backfills of all the application’s grants, newest first, so an embedding app can show an import in progress for every grant with one call. Keyset pagination.
kind: "history" is a backfill the Application started. kind: "catch_up" is one InboxCNX started to deliver mail a grant missed while it was held back (a message limit, a pause or a block). It has no estimate and cannot be cancelled.
Requires the write:connections scope.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Opaque pagination cursor: a previous response’s nextCursor or prevCursor, passed back verbatim. A cursor issued under one sort order is rejected if reused with another.
Opaque pagination cursor: a previous response’s nextCursor or prevCursor, passed back verbatim. A cursor issued under one sort order is rejected if reused with another.
Page size, between 1 and 200. Default 50.
Page size, between 1 and 200. Default 50.
total adds the number of matching results, counted up to 10000.
total adds the number of matching results, counted up to 10000.
Responses
Section titled “Responses”A page of running backfills
object
object
Pass back as cursor for the next page. Null on the last page.
Pass back as cursor for the previous page. Null on the first page.
Present only when requested with include. exact is false once the count reaches 10000 (or the depth cap of a relevance search); count is then that cap.
object
Example
{ "data": [ { "id": "7c1d9e2a-0b3f-4a5c-8d6e-2f1a0b9c8d7e", "grantId": "9b2f0c4e-6a1d-4f3b-8c55-0d7e2a91b3c4", "kind": "history", "since": "2026-09-20T10:00:00.000Z", "until": "2026-10-20T10:00:00.000Z", "roles": null, "labels": null, "status": "running", "waitingReason": null, "listed": 1200, "published": 950, "estimatedMessages": 2410, "createdAt": "2026-10-20T10:00:00.000Z", "finishedAt": null } ], "nextCursor": null, "prevCursor": null}Malformed cursor
object
object
Example generated
{ "error": { "code": "example", "message": "example" }}The credential lacks the write:connections scope
object
object
Example generated
{ "error": { "code": "example", "message": "example" }}