Docs
get_workspace
Read one workspace with its settings: name, slug, time zone (the calendar and queue run in it), the default lifetime of review links, whether new content requires approval, your role, and how many members, connected channels and content items it has. `utm`: how links in published posts are tagged (enabled; utmMedium, null = 'social'; utmCampaign, null = the content's campaign label or id; utm_source is always the platform).
Read one workspace with its settings: name, slug, time zone (the calendar and queue run in it), the default lifetime of review links, whether new content requires approval, your role, and how many members, connected channels and content items it has. utm: how links in published posts are tagged (enabled; utmMedium, null = 'social'; utmCampaign, null = the content's campaign label or id; utm_source is always the platform).
Access and cost
- Kind: query
- Scope: workspace
- Actors: member, agent
- Credits: Free
- Requires confirmation: false
- Accepts idempotency key: false
Input schema
{
"properties": {
"workspaceId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"workspaceId"
],
"type": "object"
}Output schema
{
"additionalProperties": false,
"properties": {
"workspace": {
"additionalProperties": false,
"properties": {
"id": {
"format": "uuid",
"type": "string"
},
"name": {
"type": "string"
},
"slug": {
"type": "string"
},
"timeZone": {
"type": "string"
},
"shareLinkExpiresDays": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"signoffDefault": {
"type": "boolean"
},
"createdAt": {
"format": "date-time",
"type": "string"
},
"role": {
"enum": [
"owner",
"editor",
"viewer",
"commenter",
"approver"
],
"type": "string"
},
"billingOwnerAccountId": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
]
},
"counts": {
"additionalProperties": false,
"properties": {
"members": {
"type": "integer"
},
"channelAccounts": {
"type": "integer"
},
"pieces": {
"type": "integer"
}
},
"required": [
"members",
"channelAccounts",
"pieces"
],
"type": "object"
},
"publishing": {
"additionalProperties": false,
"properties": {
"paused": {
"type": "boolean"
},
"pausedAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"pausedByAccountId": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
]
},
"pausedPlatforms": {
"items": {
"enum": [
"x",
"linkedin",
"threads",
"bluesky",
"instagram",
"facebook",
"tiktok",
"youtube",
"sandbox"
],
"type": "string"
},
"type": "array"
},
"delayed": {
"type": "boolean"
}
},
"required": [
"paused",
"pausedAt",
"pausedByAccountId",
"pausedPlatforms",
"delayed"
],
"type": "object"
}
},
"required": [
"id",
"name",
"slug",
"timeZone",
"shareLinkExpiresDays",
"signoffDefault",
"createdAt",
"role",
"billingOwnerAccountId",
"counts",
"publishing"
],
"type": "object"
},
"utm": {
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean"
},
"utmMedium": {
"type": [
"string",
"null"
]
},
"utmCampaign": {
"type": [
"string",
"null"
]
}
},
"required": [
"enabled",
"utmMedium",
"utmCampaign"
],
"type": "object"
}
},
"required": [
"workspace",
"utm"
],
"type": "object"
}Errors
[]Annotations
{
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": false,
"readOnlyHint": true,
"title": "Get a workspace"
}