SuperAgent Launching November 26. Early access opens toWaiting list
DigitSpace

API

Key status

GET /v1/key returns the calling key's spend, limit and expiry, and on a DevPass its monthly, daily and premium meters.

View as Markdown
GET https://api.digitspace.ai/v1/key

What the calling key has spent and may still spend. Useful in a script, a status line or a health check.

curl https://api.digitspace.ai/v1/key -H "Authorization: Bearer $DIGITSPACE_API_KEY"
{
  "data": {
    "label": "Production server",
    "usage": 12.4187,
    "limit": 100,
    "expiresAt": null,
    "devpass": null
  }
}
Field
label The key's name.
usage Dollars this key has spent in total, including requests on your own provider keys (estimated at catalogue prices).
limit The key's total limit in dollars, or null for none. The repeating limit isn't shown here; see the key in the dashboard.
expiresAt When the key stops working, or null.
devpass null, except on a DevPass key.

On a DevPass key

{
  "data": {
    "label": "DevPass",
    "usage": 4.12,
    "limit": null,
    "expiresAt": null,
    "devpass": {
      "tier": "pro",
      "active": true,
      "cancelled": false,
      "month": {
        "used": 41.3,
        "limit": 118,
        "resetsAt": "2026-11-28T09:12:00.000Z"
      },
      "day": {
        "used": 3.2,
        "limit": 10.62,
        "resetsAt": "2026-11-01T08:40:00.000Z"
      },
      "premiumWeek": { "used": 0, "limit": 14.16, "resetsAt": null }
    }
  }
}

Each meter is in dollars at DevPass rates. resetsAt is when the window frees up; it's null when nothing in the window has been used yet. DevPass limits explains the three windows.

Checked against the gateway on 31 October 2026. Something wrong or missing? Tell us.