Workspace Object
Explore the properties and functionality of the Workspace object in Aikeedo themes.
The workspace
object is a fundamental component in Aikeedo themes, representing a user’s working environment and associated settings. This object contains crucial information about the workspace, including subscription details, credit usage, and various configuration options.
Availability
The workspace
object is available globally when a user is logged into the app. Additionally, it is always accessible as a property of the user
object. Each user has at least one workspace, so you can safely access workspace
properties or user.workspace
properties without additional checks for their existence.
Properties
The workspace
object contains the following properties:
A unique identifier for the workspace, always in UUID version 4 format (e.g., “018d5355-c857-7044-8284-83e7950685b4”).
The name of the workspace (e.g., “Personal”).
The workspace’s address information. This may be null if not set. See Address Object for more details on the properties of this object when it’s not null.
Indicates whether the workspace is eligible for a trial period.
Indicates whether the workspace is eligible for a free plan.
Unix timestamp of when the workspace was created.
Unix timestamp of the last update to the workspace. While this field always exists, its value may be null if the workspace has never been updated.
An array of pending invitations to join the workspace. This array may be empty. See Workspace Invitation Object for more details.
The current number of credits available in the workspace.
The total number of credits allocated to the workspace, including used and available credits.
An object containing detailed information about the workspace’s subscription. See Subscription Object for more details.
Was this page helpful?