Search loads only when you use it. Browse all categories below.

MCP tool

Archive project

sosoapi_archive_project

Archive a project without changing its Scheduled Posts. To stop a post, cancel that Scheduled Post separately. Workspace owner only; pass expected_lifecycle_version and an idempotency_key.

Read as Markdown

Profiles and transports

Profiles: full · Transports: stdio, http

Choose core or full to control which tools your client sees; this does not change its permissions. Local file upload requires stdio and is unavailable over HTTP. Set SOSOAPI_OUTPUT_SCHEMAS=1 to include output schemas in discovery. Tools return structured results with or without that setting.

Permissions and side effects

Annotations help clients describe a tool. Each call still checks the user’s authentication, role, resource access and capability grants.

{
  "readOnlyHint": false,
  "destructiveHint": false,
  "idempotentHint": true,
  "openWorldHint": false
}

Input fields

Required means required inside its parent object and selected branch. A required child does not make an optional parent required. Rules and field names below are copied from the contract.

Input fields
Field / branchType / requiredConstraints
$objectRequired in parent
  • additionalProperties: false
idstringRequired in parent
  • format: "uuid"
expected_lifecycle_versionintegerRequired in parent
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
idempotency_keystringRequired in parent
  • minLength: 8
  • maxLength: 160
Complete JSON Schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "expected_lifecycle_version": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "idempotency_key": {
      "type": "string",
      "minLength": 8,
      "maxLength": 160
    }
  },
  "required": [
    "id",
    "expected_lifecycle_version",
    "idempotency_key"
  ],
  "additionalProperties": false
}

Structured output

This schema describes structuredContent in a successful tool result. The MCP response also includes content and may set isError when a call fails. For publishing, read the post’s final result rather than treating an accepted request or text response as confirmation. The linked API operation explains permissions and retry rules.

Required means required inside its parent object and selected branch. A required child does not make an optional parent required. Rules and field names below are copied from the contract.

Structured output
Field / branchType / requiredConstraints
$objectRequired in parent
  • additionalProperties: false
projectobjectRequired in parent
  • additionalProperties: false
project.idstringRequired in parent
  • format: "uuid"
project.workspace_idstringRequired in parent
  • format: "uuid"
project.namestringRequired in parent
  • minLength: 1
  • maxLength: 200
project.operational_statestringRequired in parent
  • enum: ["active","archived"]
project.lifecycle_versionintegerRequired in parent
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
project.defaults_versionintegerRequired in parent
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
project.archived_atstring | nullRequired in parent—
project.archived_atanyOf 1stringRequired in parent—
project.archived_atanyOf 2nullRequired in parent—
project.archived_bystring | nullRequired in parent—
project.archived_byanyOf 1stringRequired in parent
  • format: "uuid"
project.archived_byanyOf 2nullRequired in parent—
project.archived_by_api_key_idstring | nullRequired in parent—
project.archived_by_api_key_idanyOf 1stringRequired in parent
  • format: "uuid"
project.archived_by_api_key_idanyOf 2nullRequired in parent—
project.created_atstringRequired in parent—
project.updated_atstringRequired in parent—
project.versionintegerOptional / item
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
receipt_idstringRequired in parent
  • format: "uuid"
appliedbooleanRequired in parent—
dedupedbooleanRequired in parent—
held_schedule_countintegerRequired in parent
  • minimum: 0
  • maximum: 9007199254740991
Complete JSON Schema
{
  "type": "object",
  "properties": {
    "project": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "workspace_id": {
          "type": "string",
          "format": "uuid"
        },
        "name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200
        },
        "operational_state": {
          "type": "string",
          "enum": [
            "active",
            "archived"
          ]
        },
        "lifecycle_version": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        },
        "defaults_version": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        },
        "archived_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "archived_by": {
          "anyOf": [
            {
              "type": "string",
              "format": "uuid"
            },
            {
              "type": "null"
            }
          ]
        },
        "archived_by_api_key_id": {
          "anyOf": [
            {
              "type": "string",
              "format": "uuid"
            },
            {
              "type": "null"
            }
          ]
        },
        "created_at": {
          "type": "string"
        },
        "updated_at": {
          "type": "string"
        },
        "version": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "id",
        "workspace_id",
        "name",
        "operational_state",
        "lifecycle_version",
        "defaults_version",
        "archived_at",
        "archived_by",
        "archived_by_api_key_id",
        "created_at",
        "updated_at"
      ],
      "additionalProperties": false
    },
    "receipt_id": {
      "type": "string",
      "format": "uuid"
    },
    "applied": {
      "type": "boolean"
    },
    "deduped": {
      "type": "boolean"
    },
    "held_schedule_count": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "project",
    "receipt_id",
    "applied",
    "deduped",
    "held_schedule_count"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}

Example tool call

These examples use fictional values checked against the schemas. Replace the IDs with ones you are authorized to use, the media with ready assets and the dates with your confirmed publishing time. Check the account’s eligibility before submitting a write. This page sends no API requests.

{
  "name": "sosoapi_archive_project",
  "arguments": {
    "id": "11111111-1111-4111-8111-111111111111",
    "expected_lifecycle_version": 1,
    "idempotency_key": "example-intent-0001"
  }
}

structuredContent

{
  "project": {
    "id": "11111111-1111-4111-8111-111111111111",
    "workspace_id": "11111111-1111-4111-8111-111111111111",
    "name": "example",
    "operational_state": "active",
    "lifecycle_version": 1,
    "defaults_version": 1,
    "archived_at": null,
    "archived_by": null,
    "archived_by_api_key_id": null,
    "created_at": "example",
    "updated_at": "example"
  },
  "receipt_id": "11111111-1111-4111-8111-111111111111",
  "applied": false,
  "deduped": false,
  "held_schedule_count": 0
}
Install or connect MCP