Revise API menu

Get account

Read the account credit balance.

GEThttps://revise.io/api/v1/account

See pricing and account credit for integration guidance.

TypeScript#

TypeScript
import { ReviseClient } from "@reviseio/api";

const revise = new ReviseClient({ apiKey: process.env.REVISE_API_KEY! });
const result = await revise.account.get();

Authorization#

Authorizationstringrequired

Bearer <key>, with an API key from the console.

Responses#

200AccountThe signed credit balance and funding capabilities.
idstringrequired
currencystringrequired

always "usd"

available_usdstringrequired

Signed fixed-decimal USD credit balance. Requests are admitted only while the balance is positive; the final settled charge of an in-flight request may take it below zero until the next top-up. Spending thresholds stop new calls; the last response and its tools can take the final charge beyond them.

example "0.050000000"

pricing_versionstringrequired
funding_enabledbooleanrequired
stripe_test_modebooleanrequired
api_key_idstringrequired

Non-secret ID of the currently authenticated key.

defaultErrorError
errorobjectrequired
Properties
codestringrequired
messagestringrequired
detailsobject