Skip to main content
GET
/
v1
/
account
Get your API key's account, tier, and usage
curl --request GET \
  --url https://api.vantaprism.me/v1/account \
  --header 'api-key: <api-key>'
{
  "data": {
    "key_id": "<string>",
    "name": "<string>",
    "scopes": [
      "<string>"
    ],
    "limits": {
      "rpm": 123,
      "rpd": 123,
      "max_batch": 123,
      "max_rows": 123,
      "query_window_days": 123,
      "cost_per_day": 123
    },
    "usage_today": {
      "requests": 123,
      "errors": 123,
      "cost_units": 123
    },
    "total_requests": 123,
    "created_at": "2023-11-07T05:31:56Z",
    "last_used_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

api-key
string
header
required

Static API key, format vp_<env>_<8-hex-prefix>.<40-hex-secret>. Preferred header for server-to-server integrations.

Response

Account information

data
object
required