---
updatedAt: 2026-04-20T20:30:27.000Z
agentTools:
  projectIndex: https://docs.wistia.com/llms.txt
---

# Get Account Usage

Retrieves plan, usage, and limit information for the current account.

The response includes plan tier, upload eligibility, and links to billing pages.
Usage and limit details (media counts, storage, seats, bandwidth) are only visible
to account owners and managers — other contacts receive `null` for the `limits` field.

## Requires api token with one of the following permissions
```
(any scope allowed)
```

Tokens with the "Act with a team member's permissions" permission
(`all:delegate_to_contact_permissions` scope) can also be used. Requests
made with such a token are authorized using the permissions of the
contact assigned to the token.

[Expiring access tokens](https://docs.wistia.com/reference/post_expiring-token)
created with authorizations cannot be used: this endpoint responds with a
403, whatever the authorizations grant.


# OpenAPI definition

````json
{
  "openapi": "3.1.1",
  "info": {
    "title": "Data API",
    "description": "Wistia Data API",
    "version": "2026.09.0"
  },
  "servers": [
    {
      "url": "https://api.wistia.com/modern"
    }
  ],
  "security": [
    {
      "BearerAuth": []
    }
  ],
  "tags": [
    {
      "name": "Account"
    }
  ],
  "paths": {
    "/account_usage": {
      "get": {
        "operationId": "getAccountUsage",
        "summary": "Get Account Usage",
        "x-speakeasy-group": "account",
        "x-speakeasy-name-override": "getUsage",
        "description": "Retrieves plan, usage, and limit information for the current account.\n\nThe response includes plan tier, upload eligibility, and links to billing pages.\nUsage and limit details (media counts, storage, seats, bandwidth) are only visible\nto account owners and managers — other contacts receive `null` for the `limits` field.\n\n## Requires api token with one of the following permissions\n```\n(any scope allowed)\n```\n\nTokens with the \"Act with a team member's permissions\" permission\n(`all:delegate_to_contact_permissions` scope) can also be used. Requests\nmade with such a token are authorized using the permissions of the\ncontact assigned to the token.\n\n[Expiring access tokens](https://docs.wistia.com/reference/post_expiring-token)\ncreated with authorizations cannot be used: this endpoint responds with a\n403, whatever the authorizations grant.\n",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Account usage and plan information, including storage, media, seat, and bandwidth limits.\nFields under `limits` are only visible to account owners and managers.\n",
                  "unevaluatedProperties": false,
                  "properties": {
                    "plan": {
                      "type": "object",
                      "description": "The account's current plan information",
                      "unevaluatedProperties": false,
                      "properties": {
                        "tier": {
                          "description": "The plan tier identifier. Common values include `free`, `starter`, `plus`,\n`pro`, `advanced`, `business`, `enterprise`. Legacy plans may use other\ntier names. Empty string if the account has no plan.\n",
                          "type": "string"
                        },
                        "name": {
                          "description": "Human-readable plan name",
                          "type": "string"
                        },
                        "is_standard": {
                          "description": "Whether this is a 2026 storage-based plan (true) or a legacy media-count plan (false)",
                          "type": "boolean"
                        },
                        "is_trial": {
                          "description": "Whether the account is currently on a trial",
                          "type": "boolean"
                        },
                        "trial_expires_at": {
                          "description": "ISO 8601 timestamp when the trial expires, or null if not trialing",
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "tier",
                        "name",
                        "is_standard",
                        "is_trial",
                        "trial_expires_at"
                      ]
                    },
                    "can_upload": {
                      "description": "Whether the next upload will succeed. False when an inflexible media or storage limit has been reached.",
                      "type": "boolean"
                    },
                    "upload_blocked_reason": {
                      "description": "The reason uploads are blocked, or null if uploads are allowed.\nKnown values: `reached_media_limit`, `reached_storage_limit`.\n",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "limits": {
                      "description": "Usage and limit data. Null when the authenticated contact does not have\nbilling visibility (i.e. is not an account owner or manager).\n",
                      "type": [
                        "object",
                        "null"
                      ],
                      "unevaluatedProperties": false,
                      "properties": {
                        "primary_resource": {
                          "description": "The primary resource type for this plan's limits — \"storage\" for standard plans, \"media\" for legacy plans",
                          "type": "string",
                          "enum": [
                            "storage",
                            "media"
                          ]
                        },
                        "media": {
                          "type": "object",
                          "description": "Media count and limits",
                          "unevaluatedProperties": false,
                          "properties": {
                            "count": {
                              "description": "Current number of media in the account",
                              "type": "integer"
                            },
                            "flexible_limit": {
                              "description": "Soft media limit (overage billed). Null if no soft limit.",
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "inflexible_limit": {
                              "description": "Hard media limit (uploads blocked). Null if no hard limit.",
                              "type": [
                                "integer",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "count",
                            "flexible_limit",
                            "inflexible_limit"
                          ]
                        },
                        "storage": {
                          "type": "object",
                          "description": "Storage usage and limits in bytes (1 GB = 1,000,000,000 bytes)",
                          "unevaluatedProperties": false,
                          "properties": {
                            "used_bytes": {
                              "description": "Current storage usage in bytes",
                              "type": "integer"
                            },
                            "flexible_limit_bytes": {
                              "description": "Included storage limit in bytes. Null if unlimited.",
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "inflexible_limit_bytes": {
                              "description": "Hard storage cap in bytes. Null if no hard cap.",
                              "type": [
                                "integer",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "used_bytes",
                            "flexible_limit_bytes",
                            "inflexible_limit_bytes"
                          ]
                        },
                        "users": {
                          "type": "object",
                          "description": "Seat (user) usage and limits. Viewers are non-billable and excluded from the billable counts.",
                          "unevaluatedProperties": false,
                          "properties": {
                            "billable_count": {
                              "description": "Current number of billable users (seats). For agency accounts this aggregates\ndistinct users across the parent and team accounts — the count billing compares\nagainst `flexible_limit`. Excludes viewers.\n",
                              "type": "integer"
                            },
                            "account_billable_count": {
                              "description": "Billable users in this account only, the count compared against `inflexible_limit`\nwhen enforcing the hard seat limit. Matches `billable_count` for non-agency accounts.\nExcludes viewers.\n",
                              "type": "integer"
                            },
                            "viewers_count": {
                              "description": "Current number of viewer contacts, which are non-billable and don't count toward seat limits.",
                              "type": "integer"
                            },
                            "flexible_limit": {
                              "description": "Included seats on flexible plans (additional seats billed as overage). Null if no soft limit.",
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "inflexible_limit": {
                              "description": "Hard seat limit (adding users blocked at the limit). Null if no hard limit.",
                              "type": [
                                "integer",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "billable_count",
                            "account_billable_count",
                            "viewers_count",
                            "flexible_limit",
                            "inflexible_limit"
                          ]
                        },
                        "bandwidth": {
                          "type": "object",
                          "description": "Bandwidth usage and limits for the current billing period, in bytes (1 GB = 1,000,000,000 bytes)",
                          "unevaluatedProperties": false,
                          "properties": {
                            "used_bytes": {
                              "description": "Bandwidth used in the current billing period, in bytes",
                              "type": "integer"
                            },
                            "limit_bytes": {
                              "description": "Bandwidth limit for the billing period in bytes. Null if unlimited.",
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "period": {
                              "description": "Whether the bandwidth allowance is tracked monthly or annually",
                              "type": "string",
                              "enum": [
                                "monthly",
                                "annual"
                              ]
                            },
                            "resets_at": {
                              "description": "ISO 8601 timestamp when the bandwidth period resets, or null if unknown",
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "used_bytes",
                            "limit_bytes",
                            "period",
                            "resets_at"
                          ]
                        }
                      },
                      "required": [
                        "primary_resource",
                        "media",
                        "storage",
                        "users",
                        "bandwidth"
                      ]
                    },
                    "links": {
                      "type": "object",
                      "description": "URLs for plan, usage, and billing pages",
                      "unevaluatedProperties": false,
                      "properties": {
                        "plans_url": {
                          "description": "URL to the account's plans page. Always present.",
                          "type": "string"
                        },
                        "usage_url": {
                          "description": "URL to the account's usage page. Null for non-owner/manager contacts.",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "billing_url": {
                          "description": "URL to the account's billing page. Null for non-owner/manager contacts.",
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "plans_url",
                        "usage_url",
                        "billing_url"
                      ]
                    },
                    "role": {
                      "description": "The authenticated contact's role on the account. One of `owner`, `manager`,\n`standard_user`, `limited_user`, `viewer`. Null when the token isn't\nassociated with a specific contact.\n",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "verified_domain": {
                      "description": "Whether the account has at least one verified business domain (i.e. an\nowner whose email domain is verified and business-classified). Independent\nof plan tier.\n",
                      "type": "boolean"
                    },
                    "can_invite_teammates": {
                      "description": "Whether the authenticated contact can invite additional teammates via the\nmodern contacts endpoint. True when the contact is an owner or manager and\nthe account has a verified business domain.\n",
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "plan",
                    "can_upload",
                    "upload_blocked_reason",
                    "limits",
                    "links",
                    "role",
                    "verified_domain",
                    "can_invite_teammates"
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized, invalid or missing token",
            "content": {
              "application/json": {
                "schema": {
                  "unevaluatedProperties": false,
                  "type": "object",
                  "properties": {
                    "code": {
                      "description": "A machine-readable identifier for the specific authorization failure.",
                      "type": "string",
                      "enum": [
                        "unauthorized_credentials",
                        "account_inactive",
                        "unauthorized_scope",
                        "unauthorized_params"
                      ]
                    },
                    "error": {
                      "type": "string",
                      "examples": [
                        "Invalid credentials."
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden, token is valid but account does not have access to feature",
            "content": {
              "application/json": {
                "schema": {
                  "unevaluatedProperties": false,
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "examples": [
                        "Webinars are not available on your current plan"
                      ]
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "unevaluatedProperties": false,
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "examples": [
                        "Internal server error"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Account"
        ],
        "parameters": [
          {
            "name": "X-Wistia-API-Version",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "default": "2026-09"
            }
          }
        ],
        "x-readme": {
          "code-samples": [
            {
              "name": "Typescript (SDK)",
              "language": "javascript",
              "code": "import { Wistia } from \"@wistia/wistia-api-client\";\n\nconst wistia = new Wistia({\n  bearerAuth: process.env[\"WISTIA_BEARER_AUTH\"] ?? \"\",\n});\n\nasync function run() {\n  const result = await wistia.account.getUsage();\n\n  console.log(result);\n}\n\nrun();"
            }
          ]
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "x-readme": {
    "samples-languages": [
      "javascript",
      "shell",
      "node",
      "python",
      "ruby"
    ]
  }
}
````