OpenSocialDocumentation

workspace_integration_limits

Set optional workspace-wide limits for connected tools.

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

Required scope · admin. Send Idempotency-Key in REST or requestKey in MCP. Replace example IDs and times before running.

Example request body

{
  "scopes": [
    "read"
  ],
  "accounts": null
}

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": {
    "scopes": {
      "anyOf": [
        {
          "maxItems": 7,
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "read",
              "projects",
              "media",
              "accounts",
              "publish",
              "analytics",
              "admin"
            ]
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "accounts": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128
          }
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "scopes",
    "accounts"
  ],
  "additionalProperties": false
}

JSON Schema · Output

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "integration_scopes": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "integration_accounts": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "id",
    "integration_scopes",
    "integration_accounts"
  ],
  "additionalProperties": {}
}