Account

The signed-in user, their workspace and role in it, the workspace's plan (and when a trial ends) and its agent credits: the balance, the monthly allowance and the packages an owner can buy. Use it to tell when a request needs a paid plan or more credits.

get/v1/account

Request

Response

OK

billingURLstring required

The workspace's billing page

Example response

{
  "billingURL": "https://www.tella.tv/settings/billing",
  "credits": {
    "packages": [
      {
        "id": "credits_1000"
      }
    ]
  },
  "plan": {
    "status": "trialing"
  },
  "user": {
    "id": "u_abc123"
  },
  "workspace": {
    "id": "o_abc123"
  }
}

Changes