{"type":"model","meta":{"id":"/apps/pubhub/media/000-v7-apis/805c8c263288cb8b508ba6a258b72098eef57120/8338b1ff-e9bc-34cf-ba50-5477b3cc7c1a","info":{"version":"7.0.91","title":"Usage API","description":"These usage endpoints define the following operations:\n\n* **Usage**: Retrieve usage data for the specified time period (default is one month).\n \n * Users must have the `View organization usage` permission to access this endpoint.\n * This operation offers visibility across all account groups within the organization.\n * Users with `View organization usage` permission in multiple organizations should query the operation with the `aid` query string parameter (see optional parameters) for each organization.\n * The `agentId` field in enterprise agent unit responses may be omitted when not available.\n\n* **Quotas**: Obtain organization and account usage quotas. Additionally, users with the appropriate permissions can create, update, or delete these quotas.\n \n * Users must have the necessary permissions to perform quota-related actions.\n\nRefer to the Usage API operations for detailed usage instructions and optional parameters.\n"},"security":[{"BearerAuth":[]}],"tags":[{"name":"Usage","description":"Usage GET Operation"},{"name":"Quotas","description":"Quota CRUD Operation"}],"externalDocs":{"description":"Find out more about the usage model","url":"https://docs.thousandeyes.com/product-documentation/user-management/usage-and-billing/how-unit-consumption-works#what-is-the-projected-usage"},"openapi":"3.0.1","servers":[{"description":"ThousandEyes API production URL","url":"https://api.thousandeyes.com/v7"}],"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","description":"Bearer authentication token"}}},"spec":{"type":"object","properties":{"productName":{"type":"string","description":"The product name of the allocation."},"allocatedUnits":{"type":"integer","format":"int64","example":1599,"description":"The number of allocated units for the product."}},"$$ref":"#/components/schemas/AllocationUnitUsageBreakdown","title":"AllocationUnitUsageBreakdown"}}