changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "account_email": {
+ "description": "The email address of the account this balance belongs to.",
+ "type": "string"
+ },
+ "active_plan": {
+ "additionalProperties": false,
+ "description": "The account's current subscription, or null when it has none and is on the free tier.",
+ "properties": {
+ "cancel_at_period_end": {
+ "type": "boolean"
+ },
+ "current_period_end": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "monthly_credits": {
+ "description": "Credits this plan adds each month, in the same credits as balance.",
+ "type": "integer"
+ },
+ "sku": {
+ "type": "string"
+ },
+ "status": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "sku",
+ "monthly_credits",
+ "status",
+ "current_period_end",
+ "cancel_at_period_end"
+ ],
+ "type": [
+ "null",
+ "object"
+ ]
+ },
+ "audience": {
+ "type": "string"
+ },
+ "balance": {
+ "description": "The account's remaining prepaid balance, in credits. 1,000,000 credits = 1 US dollar.",
+ "type": "integer"
+ },
+ "balance_usd": {
+ "description": "The account balance formatted in US dollars, without a currency symbol.",
+ "type": "string"
+ },
+ "can_manage_billing": {
+ "type": "boolean"
+ },
+ "limits": {
+ "additionalProperties": false,
+ "description": "The caps this account's plan tier enforces.",
+ "properties": {
+ "max_active_workflows": {
+ "description": "How many active workflows this plan tier may have. 0 means unlimited. An anonymous trial cannot activate a workflow at all.",
+ "type": "integer"
+ },
+ "max_agents": {
+ "description": "How many agents this plan tier may own. 0 means unlimited. An anonymous trial is capped at one agent whatever this says.",
+ "type": "integer"
+ },
+ "max_concurrent_runs": {
+ "description": "How many agent runs this plan tier may have in flight at once. 0 means unlimited.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "max_agents",
+ "max_concurrent_runs",
+ "max_active_workflows"
+ ],
+ "type": "object"
+ },
+ "low_credit_threshold": {
+ "description": "The balance, in the same credits, below which this account is warned it is running low.",
+ "type": "integer"
+ },
+ "packs": {
+ "description": "Credit packs this account can buy. Each pack's usd_cents is its price in US cents and its credits are what the purchase adds to balance.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "credits": {
+ "type": "integer"
+ },
+ "id": {
+ "type": "string"
+ },
+ "usd_cents": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "usd_cents",
+ "credits"
+ ],
+ "type": "object"
+ },
+ "type": [
+ "null",
+ "array"
+ ]
+ },
+ "plan_tier": {
+ "description": "The plan tier this account resolves to: free, pro or power. An account with no active plan is free.",
+ "type": "string"
+ },
+ "plans": {
+ "description": "Subscription plans on offer, with their monthly credit grant.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "monthly_credits": {
+ "type": "integer"
+ },
+ "usd_cents": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "usd_cents",
+ "monthly_credits"
+ ],
+ "type": "object"
+ },
+ "type": [
+ "null",
+ "array"
+ ]
+ },
+ "user_id": {
+ "description": "The identifier of the account this balance belongs to.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "balance",
+ "low_credit_threshold",
+ "packs",
+ "plans",
+ "active_plan",
+ "can_manage_billing",
+ "audience",
+ "user_id",
+ "account_email",
+ "plan_tier",
+ "limits",
+ "balance_usd"
+ ],
+ "type": "object"
+}