OpenSocialDocumentation

workspace_get

Inspect the active workspace, role, time zone and network configuration.

REST · POST /api/v1/operations/workspace_get · MCP · workspace_get

Required scope · read. This operation reads data.

Example request body

{}

REST returns the output below directly. In MCP read structuredContent.result. Check the current installation at /api/v1/openapi.json.

For 401 check credential validity. For 403 inspect the role, scopes and selected accounts. For 409 reread the record before retrying.

JSON Schema · Input

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {},
  "additionalProperties": false
}

JSON Schema · Output

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "timezone": {
      "type": "string"
    },
    "integration_scopes": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "integration_accounts": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "managed": {
      "type": "boolean"
    },
    "role": {
      "type": "string"
    },
    "scopes": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "accounts": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "platforms": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "platform": {
            "type": "string"
          },
          "configured": {
            "type": "boolean"
          },
          "ready": {
            "type": "boolean"
          },
          "callbackAllowed": {
            "type": "boolean"
          },
          "callback": {
            "type": "string"
          }
        },
        "required": [
          "platform",
          "configured",
          "ready",
          "callbackAllowed",
          "callback"
        ],
        "additionalProperties": {}
      }
    }
  },
  "required": [
    "id",
    "name",
    "timezone",
    "managed",
    "role",
    "scopes",
    "accounts",
    "platforms"
  ],
  "additionalProperties": {}
}