Get the current organization's Agent Simulations plan
The organization’s current plan subscription, or null when it has none (never started, canceled or expired). status is Stripe’s subscription status: active and trialing are paid up; past_due and unpaid mean a renewal is failing. trialAvailable is true when starting now would begin with a free first month: an organization’s first plan gets one, and staff can offer one to an organization that has had a plan before. trialEnd is when billing would start if the plan were started now, null when there is no free month. access says what the plan allows: active (trialing, active or past_due) runs studies and buys credits; none allows neither, and every credit left when a plan ends expires with it. terms is what a new start by the caller has to accept: the current Agent Simulation Terms (version, sha256, legalUrl) while the organization has not accepted them, null once it has, and null for staff working in the organization, who are never asked.
Authorizations
Response
Default Response
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$