Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Check your wallet balance, list runs, view usage history, and manage billing from the SDK or CLI.
const wallet = await docex.wallet(); console.log(wallet.balanceUsd);
docex wallet
const runs = await docex.listRuns();
const run = await docex.getRun("job_abc123");
const trace = await docex.runTrace("job_abc123");
const usage = await docex.usage({ since: "2025-01-01" });
docex usage --since 2025-01-01
const status = await docex.billingStatus();
docex billing status
const session = await docex.createBillingTopUpSession({ amountUsd: 10 });
docex billing top-up --amount 10