Account - Querying Account

Account / Querying Account

The Optidash API enables you to programmatically retrieve the account information. This endpoint will respond with information about your subscription as well as complete information about your monthly quota consumption.

Get account information

GET https://api.optidash.ai/1.0/account
curl -u your-api-key: https://api.optidash.ai/1.0/account

An example response:

HTTP/1.1 200 OK

{
    "success": true,
    "code": 200,
    "subscription": {
        "name": "Advanced"
    },
    "credits": {
        "total": 150000,
        "used": 23423,
        "remaining": 126577
    }
}