Workspaces
dub.workspaces.get
Retrieve a workspace for the authenticated user.
Arguments
idOrSlug
string
requiredThe unique ID or slug of the workspace.
Response
id
string
requiredThe unique ID of the workspace.
name
string
requiredThe name of the workspace.
slug
string
requiredThe slug of the workspace.
logo
string | null
requiredThe logo of the workspace.
usage
number
requiredThe usage of the workspace.
usageLimit
number
requiredThe usage limit of the workspace.
linksUsage
number
requiredThe links usage of the workspace.
linksLimit
number
requiredThe links limit of the workspace.
domainsLimit
number
requiredThe domains limit of the workspace.
tagsLimit
number
requiredThe tags limit of the workspace.
usersLimit
number
requiredThe users limit of the workspace.
plan
string
requiredThe plan of the workspace.
stripeId
string | null
requiredThe Stripe ID of the workspace.
billingCycleStart
number
requiredThe date and time when the billing cycle starts for the workspace.
createdAt
string
requiredThe date and time when the workspace was created.
users
object[]
requiredThe role of the authenticated user in the workspace.
domains
object[]
requiredThe domains of the workspace.