Back to Home
web2.blackbox.jobs

Data Consumption

View your encryption and decryption usage statistics, plan limits, and remaining quota for the current billing period.

Session required

Query Usage

Fetch your current billing cycle's data consumption statistics from the blackbox.

const stats = await web2.blackbox.jobs.dataConsumption({
session,
blackboxUrl,
readClient,
});

// stats.encryption → { limit, used, remaining, count, ... }
// stats.decryption → { limit, used, remaining, count, ... }

Active File Jobs

List non-expired file jobs (encrypt & decrypt) for your principal. Completed jobs can be downloaded.

const result = await web2.blackbox.jobs.list({
session, blackboxUrl, readClient,
includeExpired: false,
});
// result.jobs → [{ id, type, status, secretId, ... }]

Console Output

Waiting for action...