{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/argorant-com/json-schema/argorant-com-account-schema.json",
  "title": "Account",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/argorant-com-account-api-openapi.yml#/components/schemas/Account",
  "type": "object",
  "properties": {
    "email": {
      "type": "string",
      "description": "The account the key acts as.",
      "format": "email"
    },
    "workspace": {
      "type": "object",
      "description": "id, name and your role in it.",
      "additionalProperties": true
    },
    "plan": {
      "type": "object",
      "description": "name, status and renewal date.",
      "additionalProperties": true
    },
    "credits": {
      "type": "object",
      "description": "available now, from the plan, pay as you go and free credits.",
      "additionalProperties": true
    },
    "campaign_emails": {
      "type": "object",
      "description": "This month's campaign email allowance: allowance, used, remaining, resets_on.",
      "additionalProperties": true
    },
    "rate_limit": {
      "type": "object",
      "description": "requests_per_minute and burst_per_10_seconds for this key, searches_and_counts_per_minute and the daily counts and search rows for the account, the other daily limits per key.",
      "additionalProperties": true
    },
    "scopes": {
      "type": "array",
      "description": "Scopes of this key.",
      "items": {
        "type": "string"
      }
    }
  }
}