Andy Developer Docs

CLI Reference

Generated command and cross-adapter reference for andy-partner 0.5.2.

Outcome

Discover every supported public operation and use the same contract through the CLI, HTTP, or MCP.

Prerequisites

  • andy-partner@0.5.2. This reference covers client versions ^0.5.2; the server does not check the client version.
  • Node >=20.
  • A User session or Workspace API Key allowed by the operation metadata below.

Build freshness

  • Public contract: 1
  • Catalog operations: 165
  • Catalog digest: sha256:2db68bb57a39201fba82e82cf96710ba44946d6cd146f936210dd3b612ab8638
  • Generated by: apps/docs/generate-cli-reference.ts

Run andy help for global flags and andy <command> --help for command input details. Add --json for stable machine output. Successful calls exit 0; transport/internal failures exit 1; invalid input exits 2; authentication/setup failures exit 3; and stable business or authorization problems exit 4.

CLI commandOperation IDHTTPMCP toolMutatesStable problems
support metrics inspectsupport.metrics.inspectPOST /api/public/operations/support/metrics/inspectget_support_metricsnoauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required
support settings inspectsupport.settings.inspectPOST /api/public/operations/support/settings/inspectmanage_support_settings (action inspect)noauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required
support settings configuresupport.settings.configurePOST /api/public/operations/support/settings/configuremanage_support_settings (action configure)yesauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict
support alerts inspectsupport.alerts.inspectPOST /api/public/operations/support/alerts/inspectmanage_support_settings (action inspect_alerts)noauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required
support alerts configuresupport.alerts.configurePOST /api/public/operations/support/alerts/configuremanage_support_settings (action configure_alerts)yesauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict
support webhook setsupport.webhook.setPOST /api/public/operations/support/webhook/setmanage_support_webhook (action set)yesauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict
support webhook getsupport.webhook.getPOST /api/public/operations/support/webhook/getmanage_support_webhook (action get)noauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict
support webhook testsupport.webhook.testPOST /api/public/operations/support/webhook/testmanage_support_webhook (action test)yesauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict
support webhook pausesupport.webhook.pausePOST /api/public/operations/support/webhook/pausemanage_support_webhook (action pause)yesauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict
support webhook resumesupport.webhook.resumePOST /api/public/operations/support/webhook/resumemanage_support_webhook (action resume)yesauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict
support webhook removesupport.webhook.removePOST /api/public/operations/support/webhook/removemanage_support_webhook (action remove)yesauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict
support provider inspectsupport.provider.inspectPOST /api/public/operations/support/provider/inspectmanage_support_provider (action inspect)noauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, idempotency_conflict
support provider provisionsupport.provider.provisionPOST /api/public/operations/support/provider/provisionmanage_support_provider (action provision)yesauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict
support installation listsupport.installation.listPOST /api/public/operations/support/installation/listmanage_support_installation (action list)noauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict
support installation inspectsupport.installation.inspectPOST /api/public/operations/support/installation/inspectmanage_support_installation (action inspect)noauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict
support installation createsupport.installation.createPOST /api/public/operations/support/installation/createmanage_support_installation (action create)yesauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict
support installation configuresupport.installation.configurePOST /api/public/operations/support/installation/configuremanage_support_installation (action configure)yesauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict
support installation issue_keysupport.installation.issue_keyPOST /api/public/operations/support/installation/issue_keymanage_support_installation (action issue_key)yesauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict
support installation rotate_keysupport.installation.rotate_keyPOST /api/public/operations/support/installation/rotate_keymanage_support_installation (action rotate_key)yesauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict
support installation retire_keysupport.installation.retire_keyPOST /api/public/operations/support/installation/retire_keymanage_support_installation (action retire_key)yesauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict
support installation retiresupport.installation.retirePOST /api/public/operations/support/installation/retiremanage_support_installation (action retire)yesauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict
support ticket listsupport.ticket.listPOST /api/public/operations/support/ticket/listget_support_ticketnoauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict, ticket_resolved
support ticket inspectsupport.ticket.inspectPOST /api/public/operations/support/ticket/inspectget_support_ticketnoauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict, ticket_resolved
support ticket replysupport.ticket.replyPOST /api/public/operations/support/ticket/replyreply_support_ticketyesauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict, ticket_resolved
support ticket notesupport.ticket.notePOST /api/public/operations/support/ticket/notemanage_support_ticket (action note)yesauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict
support ticket assignsupport.ticket.assignPOST /api/public/operations/support/ticket/assignmanage_support_ticket (action assign)yesauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict
support ticket prioritysupport.ticket.priorityPOST /api/public/operations/support/ticket/prioritymanage_support_ticket (action priority)yesauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict
support ticket waitsupport.ticket.waitPOST /api/public/operations/support/ticket/waitmanage_support_ticket (action wait)yesauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict, ticket_resolved
support ticket resolvesupport.ticket.resolvePOST /api/public/operations/support/ticket/resolvemanage_support_ticket (action resolve)yesauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict
support ticket reopensupport.ticket.reopenPOST /api/public/operations/support/ticket/reopenmanage_support_ticket (action reopen)yesauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict
context getget_contextPOST /api/public/operations/context/getget_contextnoauthentication_required, reauthentication_required, invalid_request, internal_error
context select-workspaceselect_workspacenoneselect_workspaceyesauthentication_required, reauthentication_required, invalid_request, internal_error, resource_not_found, permission_denied, workspace_selection_required
auth statusidentity.statusPOST /api/public/operations/identity/statusnot exposed on MCPnoauthentication_required, reauthentication_required, invalid_request, internal_error, setup_required
workspace listworkspace.listPOST /api/public/operations/workspaces/listnot exposed on MCPnoauthentication_required, reauthentication_required, invalid_request, internal_error
workspace selectworkspace.selectnonenot exposed on MCPyesauthentication_required, reauthentication_required, invalid_request, internal_error, resource_not_found, permission_denied
workspace inspectworkspace.inspectPOST /api/public/operations/workspaces/inspectget_workspacenoauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, resource_not_found
workspace createworkspace.createPOST /api/public/operations/workspaces/createnot exposed on MCPyesauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, idempotency_conflict
workspace renameworkspace.renamePOST /api/public/operations/workspaces/renamenot exposed on MCPyesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, workspace_archived, idempotency_conflict
workspace unarchiveworkspace.unarchivePOST /api/public/operations/workspaces/unarchiveunarchive_workspaceyesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, idempotency_conflict
workspace entitlementsworkspace.entitlements.inspectPOST /api/public/operations/workspaces/entitlements/inspectget_workspace_entitlementsnoauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found
assistant telegram inspectassistant.telegram.inspectPOST /api/public/operations/assistant/telegram/inspectmanage_telegram_connection (action inspect)noauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, telegram_already_connected, telegram_challenge_invalid, telegram_identity_conflict, limit_exceeded
assistant telegram prepareassistant.telegram.preparePOST /api/public/operations/assistant/telegram/preparemanage_telegram_connection (action prepare)yesauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, telegram_already_connected, telegram_challenge_invalid, telegram_identity_conflict, limit_exceeded
assistant telegram confirmassistant.telegram.confirmPOST /api/public/operations/assistant/telegram/confirmmanage_telegram_connection (action confirm)yesauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, telegram_already_connected, telegram_challenge_invalid, telegram_identity_conflict, limit_exceeded
assistant telegram disconnectassistant.telegram.disconnectPOST /api/public/operations/assistant/telegram/disconnectmanage_telegram_connection (action disconnect)yesauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, telegram_already_connected, telegram_challenge_invalid, telegram_identity_conflict, limit_exceeded
workspace time-zone showworkspace.time_zone.inspectPOST /api/public/operations/workspaces/time-zone/inspectmanage_workspace_time_zone (action inspect)noauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, entitlement_required
workspace time-zone setworkspace.time_zone.setPOST /api/public/operations/workspaces/time-zone/setmanage_workspace_time_zone (action set)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, idempotency_conflict
billing showworkspace.billing.inspectPOST /api/public/operations/workspaces/billing/inspectget_workspace_billingnoauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found
billing portalworkspace.billing.portal_session.createPOST /api/public/operations/workspaces/billing/portal-session/createmanage_workspace_billing (action portal_session)noauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found
billing tax-statusworkspace.billing.tax_registration.setPOST /api/public/operations/workspaces/billing/tax-registration/setmanage_workspace_billing (action set_tax_registration)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, confirmation_required
billing cancel-unpaidworkspace.billing.plan.cancelPOST /api/public/operations/workspaces/billing/plan/cancelmanage_workspace_billing (action cancel_unpaid_plan)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, confirmation_required
invoices listworkspace.invoices.listPOST /api/public/operations/workspaces/invoices/listlist_invoices (action list)noauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found
invoices linkworkspace.invoices.linkPOST /api/public/operations/workspaces/invoices/linklist_invoices (action link)noauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found
members listworkspace.member.listPOST /api/public/operations/workspaces/members/listmanage_workspace_members (action list_members)noauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found
members roleworkspace.member.change_rolePOST /api/public/operations/workspaces/members/change-rolemanage_workspace_members (action change_role)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, workspace_commercial_inactive, idempotency_conflict
members removeworkspace.member.removePOST /api/public/operations/workspaces/members/removemanage_workspace_members (action remove)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, workspace_commercial_inactive, idempotency_conflict
members invitesworkspace.invite.listPOST /api/public/operations/workspaces/invites/listmanage_workspace_members (action list_invites)noauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found
members inviteworkspace.invite.createPOST /api/public/operations/workspaces/invites/createmanage_workspace_members (action invite)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, workspace_commercial_inactive, confirmation_required, limit_exceeded, idempotency_conflict
members revokeworkspace.invite.revokePOST /api/public/operations/workspaces/invites/revokemanage_workspace_members (action revoke_invite)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, workspace_commercial_inactive, idempotency_conflict
agent listagent.listPOST /api/public/operations/agents/listget_agentnoauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, resource_not_found, entitlement_required
agent inspectagent.inspectPOST /api/public/operations/agents/inspectget_agentnoauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, resource_not_found, entitlement_required
agent metricsagent.metrics.inspectPOST /api/public/operations/agents/metrics/inspectget_agent_metrics (action inspect)noauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found
agent live-nowagent.metrics.live_nowPOST /api/public/operations/agents/metrics/live-nowget_agent_metrics (action live_now)noauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found
agent createagent.createPOST /api/public/operations/agents/createmanage_agent (action create)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, workspace_archived, entitlement_required, limit_exceeded, idempotency_conflict
agent set-purposeagent.purpose.setPOST /api/public/operations/agents/purpose/setmanage_agent (action set_purpose)yesauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, workspace_selection_required, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict
agent configureagent.configurePOST /api/public/operations/agents/configureconfigure_agentyesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict, agent_selection_required
agent deleteagent.deletePOST /api/public/operations/agents/deletemanage_agent (action delete)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, confirmation_required, idempotency_conflict, agent_selection_required
agent rename-slugagent.rename_slugPOST /api/public/operations/agents/rename-slugmanage_agent (action rename_slug)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, idempotency_conflict
agent logo setagent.logo.setPOST /api/public/operations/agents/logo/setmanage_widget (action set_logo)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, processing_failed, idempotency_conflict
agent-website dismissagent_website.dismissPOST /api/public/operations/agent-websites/dismissnot exposed on MCPyesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict, agent_selection_required
api-key listapi_key.listPOST /api/public/operations/api-keys/listnot exposed on MCPnoauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found
knowledge-source listknowledge_source.listPOST /api/public/operations/knowledge-sources/listlist_knowledgenoauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, agent_selection_required
knowledge-source inspectknowledge_source.inspectPOST /api/public/operations/knowledge-sources/inspectlist_knowledgenoauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, agent_selection_required
knowledge-source addknowledge_source.addPOST /api/public/operations/knowledge-sources/addadd_knowledgeyesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, limit_exceeded, idempotency_conflict, agent_selection_required
knowledge-source waitknowledge_source.waitPOST /api/public/operations/knowledge-sources/waitnot exposed on MCPnoauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, processing_failed, processing_timeout
knowledge-source reconcileknowledge_source.reconcilePOST /api/public/operations/knowledge-sources/reconcilenot exposed on MCPyesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, limit_exceeded, confirmation_required, idempotency_conflict
knowledge-source replaceknowledge_source.replacePOST /api/public/operations/knowledge-sources/replacereplace_knowledgeyesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, limit_exceeded, idempotency_conflict, agent_selection_required
knowledge-source deleteknowledge_source.deletePOST /api/public/operations/knowledge-sources/deletedelete_knowledgeyesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, confirmation_required, idempotency_conflict, agent_selection_required
public-chat inspectpublic_chat.inspectPOST /api/public/operations/public-chats/inspectnot exposed on MCPnoauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required
public-chat enablepublic_chat.enablePOST /api/public/operations/public-chats/enablemanage_widget (action enable_public_chat)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, processing_failed, idempotency_conflict
public-chat disablepublic_chat.disablePOST /api/public/operations/public-chats/disablenot exposed on MCPyesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, confirmation_required, idempotency_conflict
public-chat urlpublic_chat.urlPOST /api/public/operations/public-chats/urlnot exposed on MCPnoauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required
widget inspectwidget.inspectPOST /api/public/operations/widgets/inspectmanage_widget (action inspect)noauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required
widget configurewidget.configurePOST /api/public/operations/widgets/configuremanage_widget (action configure)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, processing_failed, confirmation_required, idempotency_conflict
widget manifestwidget.manifestPOST /api/public/operations/widgets/manifestnot exposed on MCPnoauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required
widget verifywidget.verifyPOST /api/public/operations/widgets/verifynot exposed on MCPnoauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, processing_failed
channel listchannel.listPOST /api/public/operations/channels/listlist_channelsnoauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required
channel connectchannel.connectPOST /api/public/operations/channels/connectmanage_channel (action connect)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, agent_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict
channel disconnectchannel.disconnectPOST /api/public/operations/channels/disconnectmanage_channel (action disconnect)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, agent_selection_required, permission_denied, resource_not_found, workspace_archived, confirmation_required, idempotency_conflict
content connection listcontent.connection.listPOST /api/public/operations/content/connections/listlist_connectionsnoauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, workspace_archived, insufficient_scope
content connection showcontent.connection.inspectPOST /api/public/operations/content/connections/inspectmanage_connection (action inspect)noauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, insufficient_scope
content connection preflightcontent.connection.preflightPOST /api/public/operations/content/connections/preflightmanage_connection (action preflight)yesauthentication_required, reauthentication_required, invalid_request, internal_error, setup_required, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, idempotency_conflict, insufficient_scope
content connection connectcontent.connection.connectPOST /api/public/operations/content/connections/connectmanage_connection (action connect)noauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, provider_unavailable, insufficient_scope
content connection disconnectcontent.connection.disconnectPOST /api/public/operations/content/connections/disconnectmanage_connection (action disconnect)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, confirmation_required, idempotency_conflict, insufficient_scope
content connection slotscontent.connection.set_posting_slotsPOST /api/public/operations/content/connections/set-posting-slotsmanage_connection (action set_posting_slots)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, idempotency_conflict, insufficient_scope
content connection slot-guardcontent.connection.set_slot_guardPOST /api/public/operations/content/connections/set-slot-guardmanage_connection (action set_slot_guard)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, slot_guard_unsupported, idempotency_conflict, insufficient_scope
content connection community-addcontent.connection.add_x_communityPOST /api/public/operations/content/connections/add-x-communitymanage_connection (action add_x_community)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, x_community_unsupported, x_community_invalid, idempotency_conflict, insufficient_scope
content connection community-removecontent.connection.remove_x_communityPOST /api/public/operations/content/connections/remove-x-communitymanage_connection (action remove_x_community)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, x_community_unsupported, idempotency_conflict, insufficient_scope
content instagram accountcontent.instagram.account_insightsPOST /api/public/operations/content/instagram/account-insightsread_instagram_insights (action account)noauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, insufficient_scope, setup_required, instagram_insights_scope_required, provider_rate_limited, provider_request_failed
content instagram media listcontent.instagram.media_listPOST /api/public/operations/content/instagram/media/listread_instagram_insights (action media_list)noauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, insufficient_scope, setup_required, instagram_insights_scope_required, provider_rate_limited, provider_request_failed
content instagram media showcontent.instagram.media_insightsPOST /api/public/operations/content/instagram/media/insightsread_instagram_insights (action media)noauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, insufficient_scope, setup_required, instagram_insights_scope_required, provider_rate_limited, provider_request_failed
content media listcontent.media.listPOST /api/public/operations/content/media/listmanage_media (action list)noauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, insufficient_scope
content media showcontent.media.inspectPOST /api/public/operations/content/media/inspectmanage_media (action inspect)noauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, insufficient_scope
content media upload-preparecontent.media.upload_preparePOST /api/public/operations/content/media/upload-preparemanage_media (action prepare)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, workspace_archived, idempotency_conflict, insufficient_scope
content media upload-completecontent.media.upload_completePOST /api/public/operations/content/media/upload-completemanage_media (action complete)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, idempotency_conflict, insufficient_scope
content media upload-bytescontent.media.upload_bytesPOST /api/public/operations/content/media/upload-bytesmanage_media (action upload_bytes)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, workspace_archived, idempotency_conflict, insufficient_scope
content post createcontent.post.createPOST /api/public/operations/content/posts/createmanage_post (action create)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, setup_required, instagram_media_required, instagram_media_unsupported, media_unsupported, media_pending, tiktok_settings_required, tiktok_consent_required, tiktok_privacy_invalid, tiktok_media_required, tiktok_media_unsupported, tiktok_media_too_long, tiktok_interaction_unavailable, tiktok_branded_private, tiktok_caption_too_long, tiktok_delivery_unconfigured, tiktok_delivery_misconfigured, tiktok_media_unmeasured, tiktok_creator_cap_missing, first_comment_unsupported, x_community_unsupported, x_community_not_saved, post_text_too_long, post_format_unsupported, article_body_empty, article_markdown_too_long, article_image_source_unsupported, article_link_unsupported, article_html_unsupported, slot_guard_warning, idempotency_conflict, insufficient_scope
content post listcontent.post.listPOST /api/public/operations/content/posts/listlist_postsnoauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, workspace_archived, insufficient_scope
content post showcontent.post.inspectPOST /api/public/operations/content/posts/inspectlist_postsnoauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, insufficient_scope
content post editcontent.post.editPOST /api/public/operations/content/posts/editmanage_post (action edit)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, instagram_media_required, instagram_media_unsupported, media_unsupported, media_pending, first_comment_unsupported, x_community_unsupported, x_community_not_saved, post_text_too_long, post_format_unsupported, article_body_empty, article_markdown_too_long, article_image_source_unsupported, article_link_unsupported, article_html_unsupported, idempotency_conflict, insufficient_scope
content post approvecontent.post.approvePOST /api/public/operations/content/posts/approvemanage_post (action approve)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, setup_required, instagram_media_required, instagram_media_unsupported, media_unsupported, media_pending, tiktok_settings_required, tiktok_consent_required, tiktok_privacy_invalid, tiktok_media_required, tiktok_media_unsupported, tiktok_media_too_long, tiktok_interaction_unavailable, tiktok_branded_private, tiktok_caption_too_long, tiktok_delivery_unconfigured, tiktok_delivery_misconfigured, tiktok_media_unmeasured, tiktok_creator_cap_missing, x_community_not_saved, post_text_too_long, post_format_unsupported, article_body_empty, article_markdown_too_long, article_image_source_unsupported, article_link_unsupported, article_html_unsupported, slot_guard_warning, idempotency_conflict, insufficient_scope
content post rejectcontent.post.rejectPOST /api/public/operations/content/posts/rejectmanage_post (action reject)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, idempotency_conflict, insufficient_scope
content post cancelcontent.post.cancelPOST /api/public/operations/content/posts/cancelmanage_post (action cancel)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict, insufficient_scope
content post dismisscontent.post.dismissPOST /api/public/operations/content/posts/dismissmanage_post (action dismiss)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, idempotency_conflict, insufficient_scope
content post reschedulecontent.post.reschedulePOST /api/public/operations/content/posts/reschedulemanage_post (action reschedule)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, slot_guard_warning, idempotency_conflict, insufficient_scope
content post pausecontent.post.pausePOST /api/public/operations/content/posts/pausemanage_post (action pause)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict, insufficient_scope
content post retry-first-commentcontent.post.retry_first_commentPOST /api/public/operations/content/posts/retry-first-commentmanage_post (action retry_first_comment)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict, insufficient_scope
content post resumecontent.post.resumePOST /api/public/operations/content/posts/resumemanage_post (action resume)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, slot_guard_warning, idempotency_conflict, insufficient_scope
conversation listconversation.listPOST /api/public/operations/conversation/listlist_conversationsnoauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, workspace_archived, entitlement_required
conversation message listconversation.message.listPOST /api/public/operations/conversation/message/listlist_conversation_messagesnoauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, workspace_archived, entitlement_required
conversation reply-eligibility inspectconversation.reply_eligibility.inspectPOST /api/public/operations/conversation/reply-eligibility/inspectinspect_reply_eligibilitynoauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, agent_selection_required
conversation handoff takeoverconversation.handoff.takeoverPOST /api/public/operations/conversation/handoff/takeovermanage_handoff (action takeover)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict, agent_selection_required
conversation handoff hand-backconversation.handoff.hand_backPOST /api/public/operations/conversation/handoff/hand-backmanage_handoff (action hand_back)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict, agent_selection_required, human_only_contact
conversation message sendconversation.message.sendPOST /api/public/operations/conversation/message/sendsend_messageyesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, workspace_commercial_inactive, idempotency_conflict, agent_selection_required, reply_ineligible
conversation message submission inspectconversation.message.submission.inspectPOST /api/public/operations/conversation/message/submission/inspectinspect_message_submissionnoauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, workspace_commercial_inactive, agent_selection_required
conversation message reportconversation.message.reportPOST /api/public/operations/conversation/message/reportnot exposed on MCPyesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict, agent_selection_required
conversation sender blockconversation.sender.blockPOST /api/public/operations/conversation/sender/blocknot exposed on MCPyesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict, agent_selection_required
conversation sender unblockconversation.sender.unblockPOST /api/public/operations/conversation/sender/unblocknot exposed on MCPyesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict, agent_selection_required
agent human-only listagent.human_only_contact.listPOST /api/public/operations/agents/human-only-contacts/listmanage_human_only_contacts (action list)noauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, agent_selection_required
agent human-only addagent.human_only_contact.addPOST /api/public/operations/agents/human-only-contacts/addmanage_human_only_contacts (action add)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, limit_exceeded, idempotency_conflict, agent_selection_required
agent human-only removeagent.human_only_contact.removePOST /api/public/operations/agents/human-only-contacts/removemanage_human_only_contacts (action remove)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict
agent alert-number listagent.alert_number.listPOST /api/public/operations/agents/alert-numbers/listmanage_alert_numbers (action list)noauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, agent_selection_required
agent alert-number addagent.alert_number.addPOST /api/public/operations/agents/alert-numbers/addmanage_alert_numbers (action add)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, limit_exceeded, idempotency_conflict, agent_selection_required
agent alert-number removeagent.alert_number.removePOST /api/public/operations/agents/alert-numbers/removemanage_alert_numbers (action remove)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict
affiliate joinaffiliate.joinPOST /api/public/operations/affiliate/joinmanage_affiliate (action join)yesauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, idempotency_conflict
affiliate showaffiliate.getPOST /api/public/operations/affiliate/getmanage_affiliate (action get)noauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied
affiliate updateaffiliate.updatePOST /api/public/operations/affiliate/updatemanage_affiliate (action update)yesauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, idempotency_conflict
affiliate admin listaffiliate.admin.listPOST /api/public/operations/affiliate/admin/listmanage_affiliate_payouts (action list)noauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied
affiliate admin exportaffiliate.admin.exportPOST /api/public/operations/affiliate/admin/exportmanage_affiliate_payouts (action export)noauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied
affiliate admin payaffiliate.admin.payPOST /api/public/operations/affiliate/admin/paymanage_affiliate_payouts (action pay)yesauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, idempotency_conflict
affiliate admin suspendaffiliate.admin.suspendPOST /api/public/operations/affiliate/admin/suspendmanage_affiliate_payouts (action suspend)yesauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, idempotency_conflict
affiliate admin voidaffiliate.admin.voidPOST /api/public/operations/affiliate/admin/voidmanage_affiliate_payouts (action void)yesauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, idempotency_conflict
partner workspace createpartner.workspace.createPOST /api/public/operations/partner/workspaces/createmanage_partner_workspaces (action create)yesauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, idempotency_conflict
partner workspace listpartner.workspace.listPOST /api/public/operations/partner/workspaces/listmanage_partner_workspaces (action list)noauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied
partner workspace send-handoverpartner.workspace.send_handoverPOST /api/public/operations/partner/workspaces/send-handovermanage_partner_workspaces (action send_handover)yesauthentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, confirmation_required, idempotency_conflict
contact listcontact.listPOST /api/public/operations/contact/listlist_contactsnoauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, agent_selection_required
contact showcontact.inspectPOST /api/public/operations/contact/inspectmanage_contact (action inspect)noauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, invalid_request
contact discardcontact.discardPOST /api/public/operations/contact/discardmanage_contact (action discard)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict
contact restorecontact.restorePOST /api/public/operations/contact/restoremanage_contact (action restore)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict
content idea listcontent.idea.listPOST /api/public/operations/content/ideas/listlist_ideasnoauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, workspace_archived, insufficient_scope
content idea showcontent.idea.inspectPOST /api/public/operations/content/ideas/inspectlist_ideasnoauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, workspace_archived, insufficient_scope, resource_not_found
content idea createcontent.idea.createPOST /api/public/operations/content/ideas/createmanage_idea (action create)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, workspace_archived, insufficient_scope, idempotency_conflict
content idea editcontent.idea.editPOST /api/public/operations/content/ideas/editmanage_idea (action edit)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, workspace_archived, insufficient_scope, idempotency_conflict, resource_not_found
content idea statuscontent.idea.set_statusPOST /api/public/operations/content/ideas/set-statusmanage_idea (action set_status)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, workspace_archived, insufficient_scope, idempotency_conflict, resource_not_found
content idea archivecontent.idea.archivePOST /api/public/operations/content/ideas/archivemanage_idea (action archive)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, workspace_archived, insufficient_scope, idempotency_conflict, resource_not_found
content idea draftcontent.idea.draftPOST /api/public/operations/content/ideas/draftmanage_idea (action draft)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, workspace_archived, insufficient_scope, idempotency_conflict, resource_not_found, setup_required, limit_exceeded, instagram_media_required, instagram_media_unsupported, media_unsupported, media_pending, tiktok_settings_required, post_text_too_long
booking showbooking.inspectPOST /api/public/operations/booking/inspectmanage_booking (action inspect)noauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, agent_selection_required
booking configurebooking.configurePOST /api/public/operations/booking/configuremanage_booking (action configure)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, agent_selection_required, idempotency_conflict
booking connectbooking.calendar.connectPOST /api/public/operations/booking/calendar/connectmanage_booking (action connect_calendar)noauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, agent_selection_required
booking appointmentsbooking.appointment.listPOST /api/public/operations/booking/appointments/listmanage_booking (action list_appointments)noauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, agent_selection_required
booking slotsbooking.slot.listPOST /api/public/operations/booking/slots/listmanage_booking (action list_slots)noauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, agent_selection_required, processing_failed
booking bookbooking.slot.bookPOST /api/public/operations/booking/slots/bookmanage_booking (action book_slot)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, agent_selection_required, processing_failed
booking page showbooking.page.inspectPOST /api/public/operations/booking/page/inspectmanage_booking (action inspect_page)noauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, agent_selection_required
booking page configurebooking.page.configurePOST /api/public/operations/booking/page/configuremanage_booking (action configure_page)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, agent_selection_required, idempotency_conflict
booking reminder inspectbooking.reminder.inspectPOST /api/public/operations/booking/reminder/inspectmanage_booking (action inspect_reminder)noauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, agent_selection_required
booking reminderbooking.reminder.configurePOST /api/public/operations/booking/reminder/configuremanage_booking (action configure_reminder)yesauthentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, agent_selection_required, setup_required, provider_request_failed

Every response includes a request ID. Mutations accept an idempotency key, and the client reuses the same key for its single retry. Destructive commands require explicit confirmation.

andy content media upload --file <path> --kind <kind> --source-type <source-type> is a CLI-only composition of content.media.upload_prepare, direct storage upload, and content.media.upload_complete. It does not add an HTTP operation, MCP tool, or worker command.

andy content media wait --asset <id> [--timeout-ms <ms>] is a CLI-only observer that polls content.media.inspect until the Media Asset is ready or failed. It does not add an HTTP operation, MCP tool, or worker command.

Operation schemas

support metrics inspect

  • Operation ID: support.metrics.inspect
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: support:read
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/support/metrics/inspect
  • MCP: get_support_metrics — Inspect support metrics. Read Support Ticket facts in UTC-hour buckets for today, 7d or 30d. First-reply and backlog times use current support opening hours. complete=false means filling or a bounded sample exceeded; null statistics are unavailable, not zero. Optional clock ages the read without changing saved facts. Sales metrics are separate.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"period":{"default":"30d","type":"string","enum":["today","7d","30d"]},"clock":{"type":"integer","minimum":0,"maximum":4102444800000}},"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"metrics":{"type":"object","properties":{"status":{"type":"string","enum":["ready","filling"]},"complete":{"type":"boolean"},"period":{"type":"string","enum":["today","7d","30d"]},"from":{"type":"number"},"until":{"type":"number"},"opened":{"type":"number"},"firstReplies":{"type":"number"},"resolved":{"type":"number"},"reopened":{"type":"number"},"medianFirstReplyMinutes":{"type":["number","null"]},"firstRepliesPastPromise":{"type":["number","null"]},"backlog":{"type":"number"},"medianBacklogMinutes":{"type":["number","null"]},"oldestBacklogMinutes":{"type":["number","null"]},"pendingPastPromise":{"type":["number","null"]},"settings":{"type":"object","properties":{"replyPromiseMinutes":{"type":"integer","minimum":1,"maximum":43200},"timeZone":{"type":"string","minLength":1,"maxLength":64},"businessHours":{"type":"object","properties":{"days":{"minItems":1,"maxItems":7,"type":"array","items":{"type":"integer","minimum":0,"maximum":6}},"startMinutes":{"type":"integer","minimum":0,"maximum":1439},"endMinutes":{"type":"integer","minimum":1,"maximum":1440}},"required":["days","startMinutes","endMinutes"],"additionalProperties":false}},"required":["replyPromiseMinutes","timeZone","businessHours"],"additionalProperties":false}},"required":["status","complete","period","from","until","opened","firstReplies","resolved","reopened","medianFirstReplyMinutes","firstRepliesPastPromise","backlog","medianBacklogMinutes","oldestBacklogMinutes","pendingPastPromise","settings"],"additionalProperties":false}},"required":["metrics"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

support settings inspect

  • Operation ID: support.settings.inspect
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: support:read
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/support/settings/inspect
  • MCP: manage_support_settings (action inspect) — Inspect support settings. Read the provider's first Public Reply promise, weekly opening interval and IANA timezone. canConfigure reflects a live Owner or Admin role. Requesters receive only receipt promise metadata.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required

Operation input schema (compact JSON, complete contract):

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

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"settings":{"type":"object","properties":{"replyPromiseMinutes":{"type":"integer","minimum":1,"maximum":43200},"timeZone":{"type":"string","minLength":1,"maxLength":64},"businessHours":{"type":"object","properties":{"days":{"minItems":1,"maxItems":7,"type":"array","items":{"type":"integer","minimum":0,"maximum":6}},"startMinutes":{"type":"integer","minimum":0,"maximum":1439},"endMinutes":{"type":"integer","minimum":1,"maximum":1440}},"required":["days","startMinutes","endMinutes"],"additionalProperties":false}},"required":["replyPromiseMinutes","timeZone","businessHours"],"additionalProperties":false},"canConfigure":{"type":"boolean"}},"required":["settings","canConfigure"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

support settings configure

  • Operation ID: support.settings.configure
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/support/settings/configure
  • MCP: manage_support_settings (action configure) — Configure support reply promise. Owner or Admin. Set replyPromiseMinutes in business minutes, selected weekdays (Sunday=0), opening/closing minutes after midnight and an IANA timezone. Closing must follow opening; the promise fits at most 30 business days. Recomputes receipt, due marks and current metrics; preserves the original first reply through reopen. Sales timezone is unchanged. Reuse idempotencyKey for retries.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"replyPromiseMinutes":{"type":"integer","minimum":1,"maximum":43200},"timeZone":{"type":"string","minLength":1,"maxLength":64},"businessHours":{"type":"object","properties":{"days":{"minItems":1,"maxItems":7,"type":"array","items":{"type":"integer","minimum":0,"maximum":6}},"startMinutes":{"type":"integer","minimum":0,"maximum":1439},"endMinutes":{"type":"integer","minimum":1,"maximum":1440}},"required":["days","startMinutes","endMinutes"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200}},"required":["replyPromiseMinutes","timeZone","businessHours"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"settings":{"type":"object","properties":{"replyPromiseMinutes":{"type":"integer","minimum":1,"maximum":43200},"timeZone":{"type":"string","minLength":1,"maxLength":64},"businessHours":{"type":"object","properties":{"days":{"minItems":1,"maxItems":7,"type":"array","items":{"type":"integer","minimum":0,"maximum":6}},"startMinutes":{"type":"integer","minimum":0,"maximum":1439},"endMinutes":{"type":"integer","minimum":1,"maximum":1440}},"required":["days","startMinutes","endMinutes"],"additionalProperties":false}},"required":["replyPromiseMinutes","timeZone","businessHours"],"additionalProperties":false},"canConfigure":{"type":"boolean"}},"required":["settings","canConfigure"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

support alerts inspect

  • Operation ID: support.alerts.inspect
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/support/alerts/inspect
  • MCP: manage_support_settings (action inspect_alerts) — Inspect support ticket alerts. Any current Soporte operator. List every operator with how they get ticket alerts (a new ticket, a Requester reply, a reopen): push needs the Andy phone app, email is each operator's own switch, on by default. self marks the caller. emailSending is false while this deployment cannot send Soporte email.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required

Operation input schema (compact JSON, complete contract):

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

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"emailSending":{"type":"boolean"},"operators":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"email":{"type":"string"},"self":{"type":"boolean"},"push":{"type":"boolean"},"emailAlerts":{"type":"boolean"}},"required":["name","email","self","push","emailAlerts"],"additionalProperties":false}}},"required":["emailSending","operators"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

support alerts configure

  • Operation ID: support.alerts.configure
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/support/alerts/configure
  • MCP: manage_support_settings (action configure_alerts) — Configure my support ticket alerts. Any current Soporte operator switches their own ticket alert emails on or off with emailAlerts. It never changes another operator. Push alerts are switched in the Andy phone app. Reuse idempotencyKey for retries.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"emailAlerts":{"type":"boolean"},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200}},"required":["emailAlerts"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"emailSending":{"type":"boolean"},"operators":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"email":{"type":"string"},"self":{"type":"boolean"},"push":{"type":"boolean"},"emailAlerts":{"type":"boolean"}},"required":["name","email","self","push","emailAlerts"],"additionalProperties":false}}},"required":["emailSending","operators"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

support webhook set

  • Operation ID: support.webhook.set
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/support/webhook/set
  • MCP: manage_support_webhook (action set) — Set the Soporte Webhook. Set the URL, signing secret and optional instructions, and switch the webhook on. secret is required the first time; omitted later it keeps the stored one. It is never returned. Omitted instructions keep the current text, null removes it. A URL that is not HTTPS, or that points at a private, loopback or link-local address, is refused. The Soporte Webhook: one HTTPS URL per Support Provider that receives a POST for each Requester event on a Support Ticket (opened, every Requester message, Requester reopen), signed X-Hub-Signature-256: sha256= with a secret the Owner or Admin supplies. Owner or Admin only; changing it needs current Soporte.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"url":{"type":"string","maxLength":2000,"description":"HTTPS URL that receives a signed POST for each Requester event."},"secret":{"description":"Signing secret of your own (16 to 256 characters). Required the first time; omitted later keeps the stored secret. It is never returned.","type":"string","minLength":16,"maxLength":256},"instructions":{"description":"Text sent with every delivery so the receiving agent knows how to act. Omitted keeps the current text; null or empty removes it.","anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200}},"required":["url"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"webhook":{"anyOf":[{"type":"object","properties":{"url":{"type":"string"},"instructions":{"type":["string","null"]},"enabled":{"type":"boolean"},"createdAt":{"type":"number"},"updatedAt":{"type":"number"},"lastDelivery":{"anyOf":[{"type":"object","properties":{"at":{"type":"number"},"eventId":{"type":"string"},"ok":{"type":"boolean"},"status":{"type":["number","null"]},"error":{"type":["string","null"]}},"required":["at","eventId","ok","status","error"],"additionalProperties":false},{"type":"null"}]}},"required":["url","instructions","enabled","createdAt","updatedAt","lastDelivery"],"additionalProperties":false},{"type":"null"}]}},"required":["webhook"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

support webhook get

  • Operation ID: support.webhook.get
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: admin
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/support/webhook/get
  • MCP: manage_support_webhook (action get) — Get the Soporte Webhook. Read the webhook's URL, instructions, whether it is on, and how the last delivery went (time, receiver status, error). webhook is null when none is set. The secret is never returned. The Soporte Webhook: one HTTPS URL per Support Provider that receives a POST for each Requester event on a Support Ticket (opened, every Requester message, Requester reopen), signed X-Hub-Signature-256: sha256= with a secret the Owner or Admin supplies. Owner or Admin only; changing it needs current Soporte.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict

Operation input schema (compact JSON, complete contract):

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

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"webhook":{"anyOf":[{"type":"object","properties":{"url":{"type":"string"},"instructions":{"type":["string","null"]},"enabled":{"type":"boolean"},"createdAt":{"type":"number"},"updatedAt":{"type":"number"},"lastDelivery":{"anyOf":[{"type":"object","properties":{"at":{"type":"number"},"eventId":{"type":"string"},"ok":{"type":"boolean"},"status":{"type":["number","null"]},"error":{"type":["string","null"]}},"required":["at","eventId","ok","status","error"],"additionalProperties":false},{"type":"null"}]}},"required":["url","instructions","enabled","createdAt","updatedAt","lastDelivery"],"additionalProperties":false},{"type":"null"}]}},"required":["webhook"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

support webhook test

  • Operation ID: support.webhook.test
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/support/webhook/test
  • MCP: manage_support_webhook (action test) — Test the Soporte Webhook. Send one signed synthetic event (type support.webhook.test) now and return the receiver's answer. It is recorded as the last delivery. The Soporte Webhook: one HTTPS URL per Support Provider that receives a POST for each Requester event on a Support Ticket (opened, every Requester message, Requester reopen), signed X-Hub-Signature-256: sha256= with a secret the Owner or Admin supplies. Owner or Admin only; changing it needs current Soporte.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"idempotencyKey":{"type":"string","minLength":1,"maxLength":200}},"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"webhook":{"type":"object","properties":{"url":{"type":"string"},"instructions":{"type":["string","null"]},"enabled":{"type":"boolean"},"createdAt":{"type":"number"},"updatedAt":{"type":"number"},"lastDelivery":{"anyOf":[{"type":"object","properties":{"at":{"type":"number"},"eventId":{"type":"string"},"ok":{"type":"boolean"},"status":{"type":["number","null"]},"error":{"type":["string","null"]}},"required":["at","eventId","ok","status","error"],"additionalProperties":false},{"type":"null"}]}},"required":["url","instructions","enabled","createdAt","updatedAt","lastDelivery"],"additionalProperties":false},"delivery":{"type":"object","properties":{"at":{"type":"number"},"eventId":{"type":"string"},"ok":{"type":"boolean"},"status":{"type":["number","null"]},"error":{"type":["string","null"]},"response":{"type":["string","null"]}},"required":["at","eventId","ok","status","error","response"],"additionalProperties":false}},"required":["webhook","delivery"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

support webhook pause

  • Operation ID: support.webhook.pause
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/support/webhook/pause
  • MCP: manage_support_webhook (action pause) — Pause the Soporte Webhook. Stop deliveries and keep the settings. Pending retries are dropped. The Soporte Webhook: one HTTPS URL per Support Provider that receives a POST for each Requester event on a Support Ticket (opened, every Requester message, Requester reopen), signed X-Hub-Signature-256: sha256= with a secret the Owner or Admin supplies. Owner or Admin only; changing it needs current Soporte.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"idempotencyKey":{"type":"string","minLength":1,"maxLength":200}},"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"webhook":{"anyOf":[{"type":"object","properties":{"url":{"type":"string"},"instructions":{"type":["string","null"]},"enabled":{"type":"boolean"},"createdAt":{"type":"number"},"updatedAt":{"type":"number"},"lastDelivery":{"anyOf":[{"type":"object","properties":{"at":{"type":"number"},"eventId":{"type":"string"},"ok":{"type":"boolean"},"status":{"type":["number","null"]},"error":{"type":["string","null"]}},"required":["at","eventId","ok","status","error"],"additionalProperties":false},{"type":"null"}]}},"required":["url","instructions","enabled","createdAt","updatedAt","lastDelivery"],"additionalProperties":false},{"type":"null"}]}},"required":["webhook"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

support webhook resume

  • Operation ID: support.webhook.resume
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/support/webhook/resume
  • MCP: manage_support_webhook (action resume) — Resume the Soporte Webhook. Switch a paused webhook back on. Events from while it was paused are not sent. The Soporte Webhook: one HTTPS URL per Support Provider that receives a POST for each Requester event on a Support Ticket (opened, every Requester message, Requester reopen), signed X-Hub-Signature-256: sha256= with a secret the Owner or Admin supplies. Owner or Admin only; changing it needs current Soporte.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"idempotencyKey":{"type":"string","minLength":1,"maxLength":200}},"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"webhook":{"anyOf":[{"type":"object","properties":{"url":{"type":"string"},"instructions":{"type":["string","null"]},"enabled":{"type":"boolean"},"createdAt":{"type":"number"},"updatedAt":{"type":"number"},"lastDelivery":{"anyOf":[{"type":"object","properties":{"at":{"type":"number"},"eventId":{"type":"string"},"ok":{"type":"boolean"},"status":{"type":["number","null"]},"error":{"type":["string","null"]}},"required":["at","eventId","ok","status","error"],"additionalProperties":false},{"type":"null"}]}},"required":["url","instructions","enabled","createdAt","updatedAt","lastDelivery"],"additionalProperties":false},{"type":"null"}]}},"required":["webhook"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

support webhook remove

  • Operation ID: support.webhook.remove
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/support/webhook/remove
  • MCP: manage_support_webhook (action remove) — Remove the Soporte Webhook. Delete the URL, secret and instructions. Pending retries are dropped. The Soporte Webhook: one HTTPS URL per Support Provider that receives a POST for each Requester event on a Support Ticket (opened, every Requester message, Requester reopen), signed X-Hub-Signature-256: sha256= with a secret the Owner or Admin supplies. Owner or Admin only; changing it needs current Soporte.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"idempotencyKey":{"type":"string","minLength":1,"maxLength":200}},"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"webhook":{"anyOf":[{"type":"object","properties":{"url":{"type":"string"},"instructions":{"type":["string","null"]},"enabled":{"type":"boolean"},"createdAt":{"type":"number"},"updatedAt":{"type":"number"},"lastDelivery":{"anyOf":[{"type":"object","properties":{"at":{"type":"number"},"eventId":{"type":"string"},"ok":{"type":"boolean"},"status":{"type":["number","null"]},"error":{"type":["string","null"]}},"required":["at","eventId","ok","status","error"],"additionalProperties":false},{"type":"null"}]}},"required":["url","instructions","enabled","createdAt","updatedAt","lastDelivery"],"additionalProperties":false},{"type":"null"}]}},"required":["webhook"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

support provider inspect

  • Operation ID: support.provider.inspect
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: admin
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/support/provider/inspect
  • MCP: manage_support_provider (action inspect) — Inspect Support provider. Read the selected Workspace's Support Agent binding, team Reply Email sender, operator seat capacity and whether Soporte is enabled. Workspace Owner or Admin membership is required. Only a Platform Admin also sees the Relay route. Does not provision or send anything.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, idempotency_conflict

Operation input schema (compact JSON, complete contract):

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

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"provider":{"anyOf":[{"type":"object","properties":{"supportAgentId":{"type":"string","minLength":1},"operatorSeats":{"type":"integer","minimum":1,"maximum":1000},"sender":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"email":{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"}},"required":["name","email"],"additionalProperties":false},"relay":{"type":"object","properties":{"workspace":{"type":"string","pattern":"^[a-z][a-z0-9-]{0,79}$"},"product":{"type":"string","pattern":"^[a-z][a-z0-9-]{0,79}$"}},"required":["workspace","product"],"additionalProperties":false}},"required":["supportAgentId","operatorSeats","sender"],"additionalProperties":false},{"type":"null"}]},"supportEnabled":{"type":"boolean"}},"required":["provider","supportEnabled"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

support provider provision

  • Operation ID: support.provider.provision
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/support/provider/provision
  • MCP: manage_support_provider (action provision) — Provision Support provider. Set up Soporte in the selected Workspace. A Workspace Owner or Admin whose Workspace has Soporte (Pro Max or a grant) binds a live same-Workspace Support Agent. Omit sender to use the default "Soporte " sender at Andy's verified domain; a custom sender must use a domain the server has verified. Operator seats and the Relay route are changed only by a Platform Admin, and only a Platform Admin sees the Relay route in the response. Provisioning, including an edit of the sender, seats or Relay, never grants or extends Soporte: only a Platform Admin passing complimentary with a reason grants it to a Workspace without Soporte, recording who granted it and why. A Workspace that already has Soporte gets no second grant. supportEnabled reports live access. No invitation, email or Relay send occurs.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"supportAgentId":{"type":"string","minLength":1},"operatorSeats":{"type":"integer","minimum":1,"maximum":1000},"sender":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"email":{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"}},"required":["name","email"],"additionalProperties":false},"relay":{"type":"object","properties":{"workspace":{"type":"string","pattern":"^[a-z][a-z0-9-]{0,79}$"},"product":{"type":"string","pattern":"^[a-z][a-z0-9-]{0,79}$"}},"required":["workspace","product"],"additionalProperties":false},"complimentary":{"type":"object","properties":{"reason":{"type":"string","minLength":1,"maxLength":500}},"required":["reason"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200}},"required":["supportAgentId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"provider":{"anyOf":[{"type":"object","properties":{"supportAgentId":{"type":"string","minLength":1},"operatorSeats":{"type":"integer","minimum":1,"maximum":1000},"sender":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"email":{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"}},"required":["name","email"],"additionalProperties":false},"relay":{"type":"object","properties":{"workspace":{"type":"string","pattern":"^[a-z][a-z0-9-]{0,79}$"},"product":{"type":"string","pattern":"^[a-z][a-z0-9-]{0,79}$"}},"required":["workspace","product"],"additionalProperties":false}},"required":["supportAgentId","operatorSeats","sender"],"additionalProperties":false},{"type":"null"}]},"supportEnabled":{"type":"boolean"}},"required":["provider","supportEnabled"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

support installation list

  • Operation ID: support.installation.list
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: admin
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/support/installation/list
  • MCP: manage_support_installation (action list) — List Support installation. Provider Owner or Admin controls. Signing keys are delivered once only in verified App Configurar; other doors return an App handoff before issuance. Reads and retries contain metadata only.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"cursor":{"type":"string","minLength":1},"pageSize":{"default":50,"type":"integer","minimum":1,"maximum":100}},"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"installations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"environment":{"type":"string","enum":["local","preview","production"]},"surfaces":{"type":"array","items":{"type":"object","properties":{"surface":{"type":"string","pattern":"^[a-zA-Z0-9_-]{1,80}$"},"ticketUrlTemplate":{"type":"string","maxLength":2000}},"required":["surface","ticketUrlTemplate"],"additionalProperties":false}},"branding":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"color":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"footer":{"maxItems":3,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":80},"url":{"type":"string","maxLength":2000}},"required":["label","url"],"additionalProperties":false}}},"required":["name","color","footer"],"additionalProperties":false},"ticketTag":{"type":"string"},"createdAt":{"type":"number"},"retiredAt":{"type":["number","null"]}},"required":["id","name","environment","surfaces","branding","createdAt","retiredAt"],"additionalProperties":false}},"nextCursor":{"type":["string","null"]}},"required":["installations","nextCursor"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

support installation inspect

  • Operation ID: support.installation.inspect
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: admin
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/support/installation/inspect
  • MCP: manage_support_installation (action inspect) — Inspect Support installation. Provider Owner or Admin controls. Signing keys are delivered once only in verified App Configurar; other doors return an App handoff before issuance. Reads and retries contain metadata only.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"installationId":{"type":"string","minLength":1},"cursor":{"type":"string","minLength":1},"pageSize":{"default":50,"type":"integer","minimum":1,"maximum":100}},"required":["installationId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"installation":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"environment":{"type":"string","enum":["local","preview","production"]},"surfaces":{"type":"array","items":{"type":"object","properties":{"surface":{"type":"string","pattern":"^[a-zA-Z0-9_-]{1,80}$"},"ticketUrlTemplate":{"type":"string","maxLength":2000}},"required":["surface","ticketUrlTemplate"],"additionalProperties":false}},"branding":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"color":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"footer":{"maxItems":3,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":80},"url":{"type":"string","maxLength":2000}},"required":["label","url"],"additionalProperties":false}}},"required":["name","color","footer"],"additionalProperties":false},"ticketTag":{"type":"string"},"createdAt":{"type":"number"},"retiredAt":{"type":["number","null"]}},"required":["id","name","environment","surfaces","branding","createdAt","retiredAt"],"additionalProperties":false},"keys":{"type":"array","items":{"type":"object","properties":{"kid":{"type":"string"},"status":{"type":"string","enum":["active","previous","retired"]},"createdAt":{"type":"number"},"retiredAt":{"type":["number","null"]}},"required":["kid","status","createdAt","retiredAt"],"additionalProperties":false}},"hasActiveKey":{"type":"boolean"},"nextCursor":{"type":["string","null"]}},"required":["installation","keys","hasActiveKey","nextCursor"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

support installation create

  • Operation ID: support.installation.create
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/support/installation/create
  • MCP: manage_support_installation (action create) — Create Support installation. Provider Owner or Admin controls. Signing keys are delivered once only in verified App Configurar; other doors return an App handoff before issuance. Reads and retries contain metadata only.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"surfaces":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"object","properties":{"surface":{"type":"string","pattern":"^[a-zA-Z0-9_-]{1,80}$"},"ticketUrlTemplate":{"type":"string","maxLength":2000}},"required":["surface","ticketUrlTemplate"],"additionalProperties":false}},"branding":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"color":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"footer":{"maxItems":3,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":80},"url":{"type":"string","maxLength":2000}},"required":["label","url"],"additionalProperties":false}}},"required":["name","color","footer"],"additionalProperties":false},"ticketTag":{"anyOf":[{"type":"string","minLength":1,"maxLength":20,"description":"Short tag prefixed to the subject of every ticket opened through this installation, as [<tag>] <subject>, e.g. Preprod. null removes it; omitted on configure keeps the current tag."},{"type":"null"}]},"environment":{"type":"string","enum":["local","preview","production"]},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200}},"required":["name","surfaces","branding","environment"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"installation":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"environment":{"type":"string","enum":["local","preview","production"]},"surfaces":{"type":"array","items":{"type":"object","properties":{"surface":{"type":"string","pattern":"^[a-zA-Z0-9_-]{1,80}$"},"ticketUrlTemplate":{"type":"string","maxLength":2000}},"required":["surface","ticketUrlTemplate"],"additionalProperties":false}},"branding":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"color":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"footer":{"maxItems":3,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":80},"url":{"type":"string","maxLength":2000}},"required":["label","url"],"additionalProperties":false}}},"required":["name","color","footer"],"additionalProperties":false},"ticketTag":{"type":"string"},"createdAt":{"type":"number"},"retiredAt":{"type":["number","null"]}},"required":["id","name","environment","surfaces","branding","createdAt","retiredAt"],"additionalProperties":false}},"required":["installation"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

support installation configure

  • Operation ID: support.installation.configure
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/support/installation/configure
  • MCP: manage_support_installation (action configure) — Configure Support installation. Provider Owner or Admin controls. Changes only the top-level fields given; the rest keep their value. surfaces and branding are each replaced whole: branding needs name, color and footer ([] clears the footer). ticketTag null removes the tag. Signing keys are delivered once only in verified App Configurar; other doors return an App handoff before issuance. Reads and retries contain metadata only.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"installationId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1,"maxLength":100},"surfaces":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"object","properties":{"surface":{"type":"string","pattern":"^[a-zA-Z0-9_-]{1,80}$"},"ticketUrlTemplate":{"type":"string","maxLength":2000}},"required":["surface","ticketUrlTemplate"],"additionalProperties":false}},"branding":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"color":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"footer":{"maxItems":3,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":80},"url":{"type":"string","maxLength":2000}},"required":["label","url"],"additionalProperties":false}}},"required":["name","color","footer"],"additionalProperties":false},"ticketTag":{"anyOf":[{"type":"string","minLength":1,"maxLength":20,"description":"Short tag prefixed to the subject of every ticket opened through this installation, as [<tag>] <subject>, e.g. Preprod. null removes it; omitted on configure keeps the current tag."},{"type":"null"}]},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200}},"required":["installationId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"installation":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"environment":{"type":"string","enum":["local","preview","production"]},"surfaces":{"type":"array","items":{"type":"object","properties":{"surface":{"type":"string","pattern":"^[a-zA-Z0-9_-]{1,80}$"},"ticketUrlTemplate":{"type":"string","maxLength":2000}},"required":["surface","ticketUrlTemplate"],"additionalProperties":false}},"branding":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"color":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"footer":{"maxItems":3,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":80},"url":{"type":"string","maxLength":2000}},"required":["label","url"],"additionalProperties":false}}},"required":["name","color","footer"],"additionalProperties":false},"ticketTag":{"type":"string"},"createdAt":{"type":"number"},"retiredAt":{"type":["number","null"]}},"required":["id","name","environment","surfaces","branding","createdAt","retiredAt"],"additionalProperties":false}},"required":["installation"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

support installation issue_key

  • Operation ID: support.installation.issue_key
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/support/installation/issue_key
  • MCP: manage_support_installation (action issue_key) — Issue key Support installation. Provider Owner or Admin controls. Signing keys are delivered once only in verified App Configurar; other doors return an App handoff before issuance. Reads and retries contain metadata only.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"installationId":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200}},"required":["installationId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"anyOf":[{"type":"object","properties":{"delivery":{"type":"string","const":"app_required"},"appPath":{"type":"string"}},"required":["delivery","appPath"],"additionalProperties":false},{"type":"object","properties":{"installation":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"environment":{"type":"string","enum":["local","preview","production"]},"surfaces":{"type":"array","items":{"type":"object","properties":{"surface":{"type":"string","pattern":"^[a-zA-Z0-9_-]{1,80}$"},"ticketUrlTemplate":{"type":"string","maxLength":2000}},"required":["surface","ticketUrlTemplate"],"additionalProperties":false}},"branding":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"color":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"footer":{"maxItems":3,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":80},"url":{"type":"string","maxLength":2000}},"required":["label","url"],"additionalProperties":false}}},"required":["name","color","footer"],"additionalProperties":false},"ticketTag":{"type":"string"},"createdAt":{"type":"number"},"retiredAt":{"type":["number","null"]}},"required":["id","name","environment","surfaces","branding","createdAt","retiredAt"],"additionalProperties":false},"key":{"type":"object","properties":{"kid":{"type":"string"},"status":{"type":"string","enum":["active","previous","retired"]},"createdAt":{"type":"number"},"retiredAt":{"type":["number","null"]}},"required":["kid","status","createdAt","retiredAt"],"additionalProperties":false},"delivery":{"type":"string","const":"shown_once"},"signingSecret":{"type":"string"}},"required":["installation","key","delivery","signingSecret"],"additionalProperties":false},{"type":"object","properties":{"installation":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"environment":{"type":"string","enum":["local","preview","production"]},"surfaces":{"type":"array","items":{"type":"object","properties":{"surface":{"type":"string","pattern":"^[a-zA-Z0-9_-]{1,80}$"},"ticketUrlTemplate":{"type":"string","maxLength":2000}},"required":["surface","ticketUrlTemplate"],"additionalProperties":false}},"branding":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"color":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"footer":{"maxItems":3,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":80},"url":{"type":"string","maxLength":2000}},"required":["label","url"],"additionalProperties":false}}},"required":["name","color","footer"],"additionalProperties":false},"ticketTag":{"type":"string"},"createdAt":{"type":"number"},"retiredAt":{"type":["number","null"]}},"required":["id","name","environment","surfaces","branding","createdAt","retiredAt"],"additionalProperties":false},"key":{"type":"object","properties":{"kid":{"type":"string"},"status":{"type":"string","enum":["active","previous","retired"]},"createdAt":{"type":"number"},"retiredAt":{"type":["number","null"]}},"required":["kid","status","createdAt","retiredAt"],"additionalProperties":false},"delivery":{"type":"string","const":"already_delivered"}},"required":["installation","key","delivery"],"additionalProperties":false}]},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

support installation rotate_key

  • Operation ID: support.installation.rotate_key
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/support/installation/rotate_key
  • MCP: manage_support_installation (action rotate_key) — Rotate key Support installation. Provider Owner or Admin controls. Signing keys are delivered once only in verified App Configurar; other doors return an App handoff before issuance. Reads and retries contain metadata only.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"installationId":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200}},"required":["installationId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"anyOf":[{"type":"object","properties":{"delivery":{"type":"string","const":"app_required"},"appPath":{"type":"string"}},"required":["delivery","appPath"],"additionalProperties":false},{"type":"object","properties":{"installation":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"environment":{"type":"string","enum":["local","preview","production"]},"surfaces":{"type":"array","items":{"type":"object","properties":{"surface":{"type":"string","pattern":"^[a-zA-Z0-9_-]{1,80}$"},"ticketUrlTemplate":{"type":"string","maxLength":2000}},"required":["surface","ticketUrlTemplate"],"additionalProperties":false}},"branding":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"color":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"footer":{"maxItems":3,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":80},"url":{"type":"string","maxLength":2000}},"required":["label","url"],"additionalProperties":false}}},"required":["name","color","footer"],"additionalProperties":false},"ticketTag":{"type":"string"},"createdAt":{"type":"number"},"retiredAt":{"type":["number","null"]}},"required":["id","name","environment","surfaces","branding","createdAt","retiredAt"],"additionalProperties":false},"key":{"type":"object","properties":{"kid":{"type":"string"},"status":{"type":"string","enum":["active","previous","retired"]},"createdAt":{"type":"number"},"retiredAt":{"type":["number","null"]}},"required":["kid","status","createdAt","retiredAt"],"additionalProperties":false},"delivery":{"type":"string","const":"shown_once"},"signingSecret":{"type":"string"}},"required":["installation","key","delivery","signingSecret"],"additionalProperties":false},{"type":"object","properties":{"installation":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"environment":{"type":"string","enum":["local","preview","production"]},"surfaces":{"type":"array","items":{"type":"object","properties":{"surface":{"type":"string","pattern":"^[a-zA-Z0-9_-]{1,80}$"},"ticketUrlTemplate":{"type":"string","maxLength":2000}},"required":["surface","ticketUrlTemplate"],"additionalProperties":false}},"branding":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"color":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"footer":{"maxItems":3,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":80},"url":{"type":"string","maxLength":2000}},"required":["label","url"],"additionalProperties":false}}},"required":["name","color","footer"],"additionalProperties":false},"ticketTag":{"type":"string"},"createdAt":{"type":"number"},"retiredAt":{"type":["number","null"]}},"required":["id","name","environment","surfaces","branding","createdAt","retiredAt"],"additionalProperties":false},"key":{"type":"object","properties":{"kid":{"type":"string"},"status":{"type":"string","enum":["active","previous","retired"]},"createdAt":{"type":"number"},"retiredAt":{"type":["number","null"]}},"required":["kid","status","createdAt","retiredAt"],"additionalProperties":false},"delivery":{"type":"string","const":"already_delivered"}},"required":["installation","key","delivery"],"additionalProperties":false}]},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

support installation retire_key

  • Operation ID: support.installation.retire_key
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/support/installation/retire_key
  • MCP: manage_support_installation (action retire_key) — Retire key Support installation. Provider Owner or Admin controls. Signing keys are delivered once only in verified App Configurar; other doors return an App handoff before issuance. Reads and retries contain metadata only.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"installationId":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200},"kid":{"type":"string","minLength":1,"maxLength":200}},"required":["installationId","kid"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"installation":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"environment":{"type":"string","enum":["local","preview","production"]},"surfaces":{"type":"array","items":{"type":"object","properties":{"surface":{"type":"string","pattern":"^[a-zA-Z0-9_-]{1,80}$"},"ticketUrlTemplate":{"type":"string","maxLength":2000}},"required":["surface","ticketUrlTemplate"],"additionalProperties":false}},"branding":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"color":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"footer":{"maxItems":3,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":80},"url":{"type":"string","maxLength":2000}},"required":["label","url"],"additionalProperties":false}}},"required":["name","color","footer"],"additionalProperties":false},"ticketTag":{"type":"string"},"createdAt":{"type":"number"},"retiredAt":{"type":["number","null"]}},"required":["id","name","environment","surfaces","branding","createdAt","retiredAt"],"additionalProperties":false},"keys":{"type":"array","items":{"type":"object","properties":{"kid":{"type":"string"},"status":{"type":"string","enum":["active","previous","retired"]},"createdAt":{"type":"number"},"retiredAt":{"type":["number","null"]}},"required":["kid","status","createdAt","retiredAt"],"additionalProperties":false}},"hasActiveKey":{"type":"boolean"},"nextCursor":{"type":["string","null"]}},"required":["installation","keys","hasActiveKey","nextCursor"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

support installation retire

  • Operation ID: support.installation.retire
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/support/installation/retire
  • MCP: manage_support_installation (action retire) — Retire Support installation. Provider Owner or Admin controls. Signing keys are delivered once only in verified App Configurar; other doors return an App handoff before issuance. Reads and retries contain metadata only.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"installationId":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200}},"required":["installationId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"installation":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"environment":{"type":"string","enum":["local","preview","production"]},"surfaces":{"type":"array","items":{"type":"object","properties":{"surface":{"type":"string","pattern":"^[a-zA-Z0-9_-]{1,80}$"},"ticketUrlTemplate":{"type":"string","maxLength":2000}},"required":["surface","ticketUrlTemplate"],"additionalProperties":false}},"branding":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"color":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"footer":{"maxItems":3,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":80},"url":{"type":"string","maxLength":2000}},"required":["label","url"],"additionalProperties":false}}},"required":["name","color","footer"],"additionalProperties":false},"ticketTag":{"type":"string"},"createdAt":{"type":"number"},"retiredAt":{"type":["number","null"]}},"required":["id","name","environment","surfaces","branding","createdAt","retiredAt"],"additionalProperties":false}},"required":["installation"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

support ticket list

  • Operation ID: support.ticket.list
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: support:read
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/support/ticket/list
  • MCP: get_support_ticket — List support ticket. Read the live support queue and its view counts. View risk lists tickets still awaiting a first reply that are past or near the reply promise, oldest first; counts.risk stops at 500. Priority narrows any view. Otherwise search with one selector (number, status, assigneeId, installationId, requesterId, query or priority) instead of a view, optionally within updatedAfter/updatedBefore.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict, ticket_resolved

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"view":{"type":"string","enum":["mine","unassigned","risk","open","resolved"]},"number":{"type":"integer","minimum":1,"maximum":9007199254740991},"status":{"type":"string","enum":["open","in_progress","waiting_customer","resolved"]},"assigneeId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"installationId":{"type":"string","minLength":1},"requesterId":{"type":"string","minLength":1},"query":{"type":"string","minLength":1,"maxLength":200},"priority":{"type":"string","enum":["low","normal","high","urgent"]},"updatedAfter":{"type":"integer","minimum":0,"maximum":4102444800000},"updatedBefore":{"type":"integer","minimum":0,"maximum":4102444800000},"clock":{"type":"integer","minimum":0,"maximum":4102444800000},"cursor":{"type":"string","minLength":1},"pageSize":{"default":50,"type":"integer","minimum":1,"maximum":100}},"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"tickets":{"type":"array","items":{"type":"object","properties":{"replyEmailFailed":{"type":"boolean"},"ticketUrl":{"type":"string"},"id":{"type":"string"},"number":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"subject":{"type":"string"},"status":{"type":"string","enum":["open","in_progress","waiting_customer","resolved"]},"priority":{"type":"string","enum":["low","normal","high","urgent"]},"installationId":{"type":"string"},"requester":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"},"company":{"type":"string"},"openingApp":{"type":"string"}},"required":["name","email","company","openingApp"],"additionalProperties":false},"createdAt":{"type":"number"},"updatedAt":{"type":"number"},"firstHumanReplyAt":{"type":["number","null"]},"latestRequesterSequence":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"requesterLastSeenSequence":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"unread":{"type":"boolean"},"reopenedCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reopened":{"type":"boolean"},"replyPromise":{"type":"object","properties":{"minutes":{"type":"number"},"businessDayMinutes":{"type":"number"},"dueAt":{"type":"number"}},"required":["minutes","businessDayMinutes","dueAt"],"additionalProperties":false},"firstReply":{"type":"object","properties":{"minutes":{"type":["number","null"]},"pending":{"type":"boolean"},"pastPromise":{"type":"boolean"}},"required":["minutes","pending","pastPromise"],"additionalProperties":false},"assignee":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},{"type":"null"}]}},"required":["id","number","subject","status","requester","createdAt","updatedAt","firstHumanReplyAt","latestRequesterSequence","requesterLastSeenSequence","unread","reopenedCount","reopened"],"additionalProperties":false}},"counts":{"type":"object","properties":{"mine":{"type":"number"},"unassigned":{"type":"number"},"risk":{"type":"number"},"open":{"type":"number"},"resolved":{"type":"number"}},"required":["mine","unassigned","open","resolved"],"additionalProperties":false},"summary":{"type":"object","properties":{"unassigned":{"type":"number"},"pendingPastPromise":{"type":["number","null"]},"medianFirstReplyMinutes":{"type":["number","null"]},"complete":{"type":"boolean"}},"required":["unassigned","pendingPastPromise","medianFirstReplyMinutes","complete"],"additionalProperties":false}},"required":["tickets"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

support ticket inspect

  • Operation ID: support.ticket.inspect
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: support:read
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/support/ticket/inspect
  • MCP: get_support_ticket — Inspect support ticket. Read the ticket and its permitted audience thread. ticketId comes from the list or numbered receipt.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict, ticket_resolved

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ticketId":{"type":"string","minLength":1},"clock":{"type":"integer","minimum":0,"maximum":4102444800000},"cursor":{"type":"string","minLength":1},"pageSize":{"default":50,"type":"integer","minimum":1,"maximum":100}},"required":["ticketId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"ticket":{"type":"object","properties":{"replyEmailFailed":{"type":"boolean"},"ticketUrl":{"type":"string"},"id":{"type":"string"},"number":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"subject":{"type":"string"},"status":{"type":"string","enum":["open","in_progress","waiting_customer","resolved"]},"priority":{"type":"string","enum":["low","normal","high","urgent"]},"installationId":{"type":"string"},"requester":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"},"company":{"type":"string"},"openingApp":{"type":"string"}},"required":["name","email","company","openingApp"],"additionalProperties":false},"createdAt":{"type":"number"},"updatedAt":{"type":"number"},"firstHumanReplyAt":{"type":["number","null"]},"latestRequesterSequence":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"requesterLastSeenSequence":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"unread":{"type":"boolean"},"reopenedCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reopened":{"type":"boolean"},"replyPromise":{"type":"object","properties":{"minutes":{"type":"number"},"businessDayMinutes":{"type":"number"},"dueAt":{"type":"number"}},"required":["minutes","businessDayMinutes","dueAt"],"additionalProperties":false},"firstReply":{"type":"object","properties":{"minutes":{"type":["number","null"]},"pending":{"type":"boolean"},"pastPromise":{"type":"boolean"}},"required":["minutes","pending","pastPromise"],"additionalProperties":false},"assignee":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},{"type":"null"}]}},"required":["id","number","subject","status","requester","createdAt","updatedAt","firstHumanReplyAt","latestRequesterSequence","requesterLastSeenSequence","unread","reopenedCount","reopened"],"additionalProperties":false},"entries":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"sequence":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"kind":{"type":"string","enum":["requester_message","public_reply","ai_transcript","internal_note","opened","assigned","status_changed","reopened","priority_changed"]},"body":{"type":"string"},"authorName":{"type":"string"},"at":{"type":"number"},"fromStatus":{"type":"string","enum":["open","in_progress","waiting_customer","resolved"]},"toStatus":{"type":"string","enum":["open","in_progress","waiting_customer","resolved"]},"fromPriority":{"type":"string","enum":["low","normal","high","urgent"]},"toPriority":{"type":"string","enum":["low","normal","high","urgent"]},"previousAssigneeId":{"type":["string","null"]},"newAssigneeId":{"type":["string","null"]},"transcript":{"type":"array","items":{"type":"object","properties":{"role":{"type":"string","enum":["user","assistant"]},"content":{"type":"string"}},"required":["role","content"],"additionalProperties":false}}},"required":["id","sequence","kind","body","authorName","at"],"additionalProperties":false}},"transcript":{"type":"object","properties":{"id":{"type":"string"},"sequence":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"kind":{"type":"string","enum":["requester_message","public_reply","ai_transcript","internal_note","opened","assigned","status_changed","reopened","priority_changed"]},"body":{"type":"string"},"authorName":{"type":"string"},"at":{"type":"number"},"fromStatus":{"type":"string","enum":["open","in_progress","waiting_customer","resolved"]},"toStatus":{"type":"string","enum":["open","in_progress","waiting_customer","resolved"]},"fromPriority":{"type":"string","enum":["low","normal","high","urgent"]},"toPriority":{"type":"string","enum":["low","normal","high","urgent"]},"previousAssigneeId":{"type":["string","null"]},"newAssigneeId":{"type":["string","null"]},"transcript":{"type":"array","items":{"type":"object","properties":{"role":{"type":"string","enum":["user","assistant"]},"content":{"type":"string"}},"required":["role","content"],"additionalProperties":false}}},"required":["id","sequence","kind","body","authorName","at"],"additionalProperties":false},"operators":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false}},"nextOpen":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"number":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"subject":{"type":"string"}},"required":["id","number","subject"],"additionalProperties":false},{"type":"null"}]}},"required":["ticket","entries"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

support ticket reply

  • Operation ID: support.ticket.reply
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: support:write
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/support/ticket/reply
  • MCP: reply_support_ticket — Reply support ticket. Send a Public Reply. The first reply moves open to in_progress and claims an unassigned ticket. Optional then waits or resolves atomically with the reply. A resolved ticket refuses replies.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict, ticket_resolved

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ticketId":{"type":"string","minLength":1},"body":{"type":"string","minLength":1,"maxLength":20000},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200},"then":{"type":"string","enum":["waiting_customer","resolved"]}},"required":["ticketId","body"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"ticket":{"type":"object","properties":{"replyEmailFailed":{"type":"boolean"},"ticketUrl":{"type":"string"},"id":{"type":"string"},"number":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"subject":{"type":"string"},"status":{"type":"string","enum":["open","in_progress","waiting_customer","resolved"]},"priority":{"type":"string","enum":["low","normal","high","urgent"]},"installationId":{"type":"string"},"requester":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"},"company":{"type":"string"},"openingApp":{"type":"string"}},"required":["name","email","company","openingApp"],"additionalProperties":false},"createdAt":{"type":"number"},"updatedAt":{"type":"number"},"firstHumanReplyAt":{"type":["number","null"]},"latestRequesterSequence":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"requesterLastSeenSequence":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"unread":{"type":"boolean"},"reopenedCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reopened":{"type":"boolean"},"replyPromise":{"type":"object","properties":{"minutes":{"type":"number"},"businessDayMinutes":{"type":"number"},"dueAt":{"type":"number"}},"required":["minutes","businessDayMinutes","dueAt"],"additionalProperties":false},"firstReply":{"type":"object","properties":{"minutes":{"type":["number","null"]},"pending":{"type":"boolean"},"pastPromise":{"type":"boolean"}},"required":["minutes","pending","pastPromise"],"additionalProperties":false},"assignee":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},{"type":"null"}]}},"required":["id","number","subject","status","requester","createdAt","updatedAt","firstHumanReplyAt","latestRequesterSequence","requesterLastSeenSequence","unread","reopenedCount","reopened"],"additionalProperties":false}},"required":["ticket"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

support ticket note

  • Operation ID: support.ticket.note
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: support:write
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/support/ticket/note
  • MCP: manage_support_ticket (action note) — Add Internal Note. Save an Internal Note for the provider's operators only. It never enters Requester reads or unread state and never sends a Public Reply.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ticketId":{"type":"string","minLength":1},"body":{"type":"string","minLength":1,"maxLength":20000},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200}},"required":["ticketId","body"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"ticket":{"type":"object","properties":{"replyEmailFailed":{"type":"boolean"},"ticketUrl":{"type":"string"},"id":{"type":"string"},"number":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"subject":{"type":"string"},"status":{"type":"string","enum":["open","in_progress","waiting_customer","resolved"]},"priority":{"type":"string","enum":["low","normal","high","urgent"]},"installationId":{"type":"string"},"requester":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"},"company":{"type":"string"},"openingApp":{"type":"string"}},"required":["name","email","company","openingApp"],"additionalProperties":false},"createdAt":{"type":"number"},"updatedAt":{"type":"number"},"firstHumanReplyAt":{"type":["number","null"]},"latestRequesterSequence":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"requesterLastSeenSequence":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"unread":{"type":"boolean"},"reopenedCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reopened":{"type":"boolean"},"replyPromise":{"type":"object","properties":{"minutes":{"type":"number"},"businessDayMinutes":{"type":"number"},"dueAt":{"type":"number"}},"required":["minutes","businessDayMinutes","dueAt"],"additionalProperties":false},"firstReply":{"type":"object","properties":{"minutes":{"type":["number","null"]},"pending":{"type":"boolean"},"pastPromise":{"type":"boolean"}},"required":["minutes","pending","pastPromise"],"additionalProperties":false},"assignee":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},{"type":"null"}]}},"required":["id","number","subject","status","requester","createdAt","updatedAt","firstHumanReplyAt","latestRequesterSequence","requesterLastSeenSequence","unread","reopenedCount","reopened"],"additionalProperties":false}},"required":["ticket"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

support ticket assign

  • Operation ID: support.ticket.assign
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: support:write
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/support/ticket/assign
  • MCP: manage_support_ticket (action assign) — Assign Support Ticket. Assign to an authorized operator from inspect's operators, or use null to unassign. Foreign Workspace members and people without live seats are refused.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ticketId":{"type":"string","minLength":1},"assigneeId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200}},"required":["ticketId","assigneeId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"ticket":{"type":"object","properties":{"replyEmailFailed":{"type":"boolean"},"ticketUrl":{"type":"string"},"id":{"type":"string"},"number":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"subject":{"type":"string"},"status":{"type":"string","enum":["open","in_progress","waiting_customer","resolved"]},"priority":{"type":"string","enum":["low","normal","high","urgent"]},"installationId":{"type":"string"},"requester":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"},"company":{"type":"string"},"openingApp":{"type":"string"}},"required":["name","email","company","openingApp"],"additionalProperties":false},"createdAt":{"type":"number"},"updatedAt":{"type":"number"},"firstHumanReplyAt":{"type":["number","null"]},"latestRequesterSequence":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"requesterLastSeenSequence":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"unread":{"type":"boolean"},"reopenedCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reopened":{"type":"boolean"},"replyPromise":{"type":"object","properties":{"minutes":{"type":"number"},"businessDayMinutes":{"type":"number"},"dueAt":{"type":"number"}},"required":["minutes","businessDayMinutes","dueAt"],"additionalProperties":false},"firstReply":{"type":"object","properties":{"minutes":{"type":["number","null"]},"pending":{"type":"boolean"},"pastPromise":{"type":"boolean"}},"required":["minutes","pending","pastPromise"],"additionalProperties":false},"assignee":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},{"type":"null"}]}},"required":["id","number","subject","status","requester","createdAt","updatedAt","firstHumanReplyAt","latestRequesterSequence","requesterLastSeenSequence","unread","reopenedCount","reopened"],"additionalProperties":false}},"required":["ticket"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

support ticket priority

  • Operation ID: support.ticket.priority
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: support:write
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/support/ticket/priority
  • MCP: manage_support_ticket (action priority) — Set Support Ticket Priority. Set a Support Ticket's priority: low, normal, high or urgent (a ticket without one is normal). Operators only; the change is an internal event and Requesters never see priority.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ticketId":{"type":"string","minLength":1},"priority":{"type":"string","enum":["low","normal","high","urgent"]},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200}},"required":["ticketId","priority"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"ticket":{"type":"object","properties":{"replyEmailFailed":{"type":"boolean"},"ticketUrl":{"type":"string"},"id":{"type":"string"},"number":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"subject":{"type":"string"},"status":{"type":"string","enum":["open","in_progress","waiting_customer","resolved"]},"priority":{"type":"string","enum":["low","normal","high","urgent"]},"installationId":{"type":"string"},"requester":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"},"company":{"type":"string"},"openingApp":{"type":"string"}},"required":["name","email","company","openingApp"],"additionalProperties":false},"createdAt":{"type":"number"},"updatedAt":{"type":"number"},"firstHumanReplyAt":{"type":["number","null"]},"latestRequesterSequence":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"requesterLastSeenSequence":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"unread":{"type":"boolean"},"reopenedCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reopened":{"type":"boolean"},"replyPromise":{"type":"object","properties":{"minutes":{"type":"number"},"businessDayMinutes":{"type":"number"},"dueAt":{"type":"number"}},"required":["minutes","businessDayMinutes","dueAt"],"additionalProperties":false},"firstReply":{"type":"object","properties":{"minutes":{"type":["number","null"]},"pending":{"type":"boolean"},"pastPromise":{"type":"boolean"}},"required":["minutes","pending","pastPromise"],"additionalProperties":false},"assignee":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},{"type":"null"}]}},"required":["id","number","subject","status","requester","createdAt","updatedAt","firstHumanReplyAt","latestRequesterSequence","requesterLastSeenSequence","unread","reopenedCount","reopened"],"additionalProperties":false}},"required":["ticket"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

support ticket wait

  • Operation ID: support.ticket.wait
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: support:write
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/support/ticket/wait
  • MCP: manage_support_ticket (action wait) — Wait for Requester. Mark an unresolved Support Ticket waiting for the Requester. Their next message returns it to open and keeps the Assignee.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict, ticket_resolved

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ticketId":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200}},"required":["ticketId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"ticket":{"type":"object","properties":{"replyEmailFailed":{"type":"boolean"},"ticketUrl":{"type":"string"},"id":{"type":"string"},"number":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"subject":{"type":"string"},"status":{"type":"string","enum":["open","in_progress","waiting_customer","resolved"]},"priority":{"type":"string","enum":["low","normal","high","urgent"]},"installationId":{"type":"string"},"requester":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"},"company":{"type":"string"},"openingApp":{"type":"string"}},"required":["name","email","company","openingApp"],"additionalProperties":false},"createdAt":{"type":"number"},"updatedAt":{"type":"number"},"firstHumanReplyAt":{"type":["number","null"]},"latestRequesterSequence":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"requesterLastSeenSequence":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"unread":{"type":"boolean"},"reopenedCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reopened":{"type":"boolean"},"replyPromise":{"type":"object","properties":{"minutes":{"type":"number"},"businessDayMinutes":{"type":"number"},"dueAt":{"type":"number"}},"required":["minutes","businessDayMinutes","dueAt"],"additionalProperties":false},"firstReply":{"type":"object","properties":{"minutes":{"type":["number","null"]},"pending":{"type":"boolean"},"pastPromise":{"type":"boolean"}},"required":["minutes","pending","pastPromise"],"additionalProperties":false},"assignee":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},{"type":"null"}]}},"required":["id","number","subject","status","requester","createdAt","updatedAt","firstHumanReplyAt","latestRequesterSequence","requesterLastSeenSequence","unread","reopenedCount","reopened"],"additionalProperties":false}},"required":["ticket"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

support ticket resolve

  • Operation ID: support.ticket.resolve
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: support:write
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/support/ticket/resolve
  • MCP: manage_support_ticket (action resolve) — Resolve Support Ticket. Resolve a Support Ticket in human hands. Never returns it to the AI. The Requester or an operator must explicitly reopen it before another reply.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ticketId":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200}},"required":["ticketId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"ticket":{"type":"object","properties":{"replyEmailFailed":{"type":"boolean"},"ticketUrl":{"type":"string"},"id":{"type":"string"},"number":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"subject":{"type":"string"},"status":{"type":"string","enum":["open","in_progress","waiting_customer","resolved"]},"priority":{"type":"string","enum":["low","normal","high","urgent"]},"installationId":{"type":"string"},"requester":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"},"company":{"type":"string"},"openingApp":{"type":"string"}},"required":["name","email","company","openingApp"],"additionalProperties":false},"createdAt":{"type":"number"},"updatedAt":{"type":"number"},"firstHumanReplyAt":{"type":["number","null"]},"latestRequesterSequence":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"requesterLastSeenSequence":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"unread":{"type":"boolean"},"reopenedCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reopened":{"type":"boolean"},"replyPromise":{"type":"object","properties":{"minutes":{"type":"number"},"businessDayMinutes":{"type":"number"},"dueAt":{"type":"number"}},"required":["minutes","businessDayMinutes","dueAt"],"additionalProperties":false},"firstReply":{"type":"object","properties":{"minutes":{"type":["number","null"]},"pending":{"type":"boolean"},"pastPromise":{"type":"boolean"}},"required":["minutes","pending","pastPromise"],"additionalProperties":false},"assignee":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},{"type":"null"}]}},"required":["id","number","subject","status","requester","createdAt","updatedAt","firstHumanReplyAt","latestRequesterSequence","requesterLastSeenSequence","unread","reopenedCount","reopened"],"additionalProperties":false}},"required":["ticket"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

support ticket reopen

  • Operation ID: support.ticket.reopen
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: support:write
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/support/ticket/reopen
  • MCP: manage_support_ticket (action reopen) — Reopen Support Ticket. Return a resolved Support Ticket to open. Keeps its number, history and Assignee, marks it Reabierto and counts a reopen in Soporte metrics. Saves an Internal Note with you as author and the optional reason; it never writes a Requester message and sends no ticket alerts. Only a resolved ticket reopens (invalid_request otherwise).
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ticketId":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200},"reason":{"type":"string","minLength":1,"maxLength":20000}},"required":["ticketId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"ticket":{"type":"object","properties":{"replyEmailFailed":{"type":"boolean"},"ticketUrl":{"type":"string"},"id":{"type":"string"},"number":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"subject":{"type":"string"},"status":{"type":"string","enum":["open","in_progress","waiting_customer","resolved"]},"priority":{"type":"string","enum":["low","normal","high","urgent"]},"installationId":{"type":"string"},"requester":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"},"company":{"type":"string"},"openingApp":{"type":"string"}},"required":["name","email","company","openingApp"],"additionalProperties":false},"createdAt":{"type":"number"},"updatedAt":{"type":"number"},"firstHumanReplyAt":{"type":["number","null"]},"latestRequesterSequence":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"requesterLastSeenSequence":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"unread":{"type":"boolean"},"reopenedCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reopened":{"type":"boolean"},"replyPromise":{"type":"object","properties":{"minutes":{"type":"number"},"businessDayMinutes":{"type":"number"},"dueAt":{"type":"number"}},"required":["minutes","businessDayMinutes","dueAt"],"additionalProperties":false},"firstReply":{"type":"object","properties":{"minutes":{"type":["number","null"]},"pending":{"type":"boolean"},"pastPromise":{"type":"boolean"}},"required":["minutes","pending","pastPromise"],"additionalProperties":false},"assignee":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},{"type":"null"}]}},"required":["id","number","subject","status","requester","createdAt","updatedAt","firstHumanReplyAt","latestRequesterSequence","requesterLastSeenSequence","unread","reopenedCount","reopened"],"additionalProperties":false}},"required":["ticket"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

context get

  • Operation ID: get_context
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: none
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/context/get
  • MCP: get_context — Get Andy context. Return everything needed to route any Andy operation in one call: the connected identity and its capabilities, accessible Workspaces, the selected Workspace with its provenance, that Workspace's active Agents and live Entitlements, its labeled Platform Connections (the destinations a Post can publish to), availability, and ready-to-run repairs when no Workspace is selected. When agentsCompleteness.status is truncated, call this again with its nextCursor as agentsCursor to read the remaining Agents.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error

Operation input schema (compact JSON, complete contract):

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

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"identity":{"type":"object","properties":{"user":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1},"email":{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"name":{"type":["string","null"]}},"required":["id","email","name"],"additionalProperties":false},{"type":"null"}]},"authMode":{"type":"string","enum":["oauth","workspace_api_key"]},"scopes":{"type":"array","items":{"type":"string"}},"expiresAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},{"type":"null"}]}},"required":["user","authMode","scopes","expiresAt"],"additionalProperties":false},"workspaces":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1},"role":{"anyOf":[{"type":"string","enum":["owner","admin","member"]},{"type":"null"}]},"status":{"type":"string","enum":["active","archived"]}},"required":["id","name","slug","role","status"],"additionalProperties":false}},"selection":{"type":"object","properties":{"status":{"type":"string","enum":["selected","required","unavailable"]},"source":{"anyOf":[{"type":"string","enum":["api_key","auto_single","session"]},{"type":"null"}]},"workspaceId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]}},"required":["status","source","workspaceId"],"additionalProperties":false},"workspace":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1},"role":{"anyOf":[{"type":"string","enum":["owner","admin","member"]},{"type":"null"}]},"status":{"type":"string","enum":["active","archived"]}},"required":["id","name","slug","role","status"],"additionalProperties":false},{"type":"null"}]},"agents":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1},"status":{"type":"string","const":"active"},"defaultLanguage":{"type":"string","enum":["en","es"]}},"required":["id","name","slug","status","defaultLanguage"],"additionalProperties":false}},"agentsCompleteness":{"type":"object","properties":{"status":{"type":"string","enum":["complete","truncated","not_authorized","no_workspace"]},"returned":{"type":"integer","minimum":0,"maximum":9007199254740991},"limit":{"type":"integer","minimum":1,"maximum":9007199254740991},"nextCursor":{"type":"string","minLength":1}},"required":["status","returned","limit"],"additionalProperties":false},"entitlements":{"anyOf":[{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"plan":{"type":["string","null"]},"planName":{"type":["string","null"]},"status":{"type":"string"},"active":{"type":"boolean"},"features":{"type":"array","items":{"type":"string"}},"limits":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"usage":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"channels":{"type":"object","properties":{"allowed":{"type":"array","items":{"type":"string"}},"maxActive":{"type":["number","null"]}},"required":["allowed","maxActive"],"additionalProperties":false},"trialEnd":{"type":["number","null"]},"periodEnd":{"type":["number","null"]},"cancelAtPeriodEnd":{"type":"boolean"},"supportDeskSource":{"anyOf":[{"type":"string","enum":["plan","grant"]},{"type":"null"}]}},"required":["workspaceId","plan","planName","status","active","features","limits","usage","channels","trialEnd","periodEnd","cancelAtPeriodEnd"],"additionalProperties":false},{"type":"null"}]},"connections":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"label":{"type":"string","minLength":1},"provider":{"type":"string","enum":["x","linkedin","instagram","tiktok"]},"status":{"type":"string","enum":["connected","disconnected","expired"]},"capabilities":{"type":"object","properties":{"canPublish":{"type":"boolean"},"canReadMetrics":{"type":"boolean"},"maxTextLength":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"formats":{"default":["text"],"type":"array","items":{"type":"string","enum":["text","article"]}}},"required":["canPublish","canReadMetrics","maxTextLength","formats"],"additionalProperties":false}},"required":["id","label","provider","status","capabilities"],"additionalProperties":false}},"connectionsCompleteness":{"type":"object","properties":{"status":{"type":"string","enum":["complete","not_authorized","no_workspace"]},"returned":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["status","returned"],"additionalProperties":false},"availability":{"type":"object","properties":{"api":{"type":"boolean"},"mcp":{"type":"boolean"}},"required":["api","mcp"],"additionalProperties":false},"remediation":{"type":"object","properties":{"calls":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1},"operationId":{"type":"string","minLength":1},"mcpToolName":{"type":"string","minLength":1},"mode":{"type":"string","const":"merge_and_retry"},"input":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["operationId","input"],"additionalProperties":false}},"setupUrl":{"type":"string","format":"uri"}},"required":["calls"],"additionalProperties":false}},"required":["identity","workspaces","selection","workspace","agents","agentsCompleteness","entitlements","connections","connectionsCompleteness","availability","remediation"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

context select-workspace

  • Operation ID: select_workspace
  • Authentication: oauth_token
  • Workspace selection: none
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: not available — this operation has no HTTP adapter.
  • CLI: context select-workspace — Stores the Workspace in the local CLI profile — the CLI's own session — and prints the same context bundle read back through get_context. It does not bind an MCP session.
  • MCP: select_workspace — Select Andy Workspace. Bind one accessible Workspace to this MCP session and answer with the same complete context bundle as get_context, so no further orientation call is needed.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, resource_not_found, permission_denied, workspace_selection_required

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspaceId":{"type":"string","minLength":1}},"required":["workspaceId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"identity":{"type":"object","properties":{"user":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1},"email":{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"name":{"type":["string","null"]}},"required":["id","email","name"],"additionalProperties":false},{"type":"null"}]},"authMode":{"type":"string","enum":["oauth","workspace_api_key"]},"scopes":{"type":"array","items":{"type":"string"}},"expiresAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},{"type":"null"}]}},"required":["user","authMode","scopes","expiresAt"],"additionalProperties":false},"workspaces":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1},"role":{"anyOf":[{"type":"string","enum":["owner","admin","member"]},{"type":"null"}]},"status":{"type":"string","enum":["active","archived"]}},"required":["id","name","slug","role","status"],"additionalProperties":false}},"selection":{"type":"object","properties":{"status":{"type":"string","enum":["selected","required","unavailable"]},"source":{"anyOf":[{"type":"string","enum":["api_key","auto_single","session"]},{"type":"null"}]},"workspaceId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]}},"required":["status","source","workspaceId"],"additionalProperties":false},"workspace":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1},"role":{"anyOf":[{"type":"string","enum":["owner","admin","member"]},{"type":"null"}]},"status":{"type":"string","enum":["active","archived"]}},"required":["id","name","slug","role","status"],"additionalProperties":false},{"type":"null"}]},"agents":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1},"status":{"type":"string","const":"active"},"defaultLanguage":{"type":"string","enum":["en","es"]}},"required":["id","name","slug","status","defaultLanguage"],"additionalProperties":false}},"agentsCompleteness":{"type":"object","properties":{"status":{"type":"string","enum":["complete","truncated","not_authorized","no_workspace"]},"returned":{"type":"integer","minimum":0,"maximum":9007199254740991},"limit":{"type":"integer","minimum":1,"maximum":9007199254740991},"nextCursor":{"type":"string","minLength":1}},"required":["status","returned","limit"],"additionalProperties":false},"entitlements":{"anyOf":[{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"plan":{"type":["string","null"]},"planName":{"type":["string","null"]},"status":{"type":"string"},"active":{"type":"boolean"},"features":{"type":"array","items":{"type":"string"}},"limits":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"usage":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"channels":{"type":"object","properties":{"allowed":{"type":"array","items":{"type":"string"}},"maxActive":{"type":["number","null"]}},"required":["allowed","maxActive"],"additionalProperties":false},"trialEnd":{"type":["number","null"]},"periodEnd":{"type":["number","null"]},"cancelAtPeriodEnd":{"type":"boolean"},"supportDeskSource":{"anyOf":[{"type":"string","enum":["plan","grant"]},{"type":"null"}]}},"required":["workspaceId","plan","planName","status","active","features","limits","usage","channels","trialEnd","periodEnd","cancelAtPeriodEnd"],"additionalProperties":false},{"type":"null"}]},"connections":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"label":{"type":"string","minLength":1},"provider":{"type":"string","enum":["x","linkedin","instagram","tiktok"]},"status":{"type":"string","enum":["connected","disconnected","expired"]},"capabilities":{"type":"object","properties":{"canPublish":{"type":"boolean"},"canReadMetrics":{"type":"boolean"},"maxTextLength":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"formats":{"default":["text"],"type":"array","items":{"type":"string","enum":["text","article"]}}},"required":["canPublish","canReadMetrics","maxTextLength","formats"],"additionalProperties":false}},"required":["id","label","provider","status","capabilities"],"additionalProperties":false}},"connectionsCompleteness":{"type":"object","properties":{"status":{"type":"string","enum":["complete","not_authorized","no_workspace"]},"returned":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["status","returned"],"additionalProperties":false},"availability":{"type":"object","properties":{"api":{"type":"boolean"},"mcp":{"type":"boolean"}},"required":["api","mcp"],"additionalProperties":false},"remediation":{"type":"object","properties":{"calls":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1},"operationId":{"type":"string","minLength":1},"mcpToolName":{"type":"string","minLength":1},"mode":{"type":"string","const":"merge_and_retry"},"input":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["operationId","input"],"additionalProperties":false}},"setupUrl":{"type":"string","format":"uri"}},"required":["calls"],"additionalProperties":false}},"required":["identity","workspaces","selection","workspace","agents","agentsCompleteness","entitlements","connections","connectionsCompleteness","availability","remediation"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

auth status

  • Operation ID: identity.status
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: optional
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/identity/status
  • MCP: not exposed on MCP — Inspect Andy identity status. Return the current Andy identity, selected Workspace, authentication mode, availability, and request ID without exposing credentials.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, setup_required

Operation input schema (compact JSON, complete contract):

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

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"client":{"type":"object","properties":{"version":{"type":"string"},"endpoint":{"type":"string","format":"uri"}},"required":["version","endpoint"],"additionalProperties":false},"auth":{"type":"object","properties":{"mode":{"type":"string","enum":["user","workspace_api_key"]},"secretLocation":{"type":"string","enum":["os_store","environment","secret_file","unknown"]},"expiresAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},{"type":"null"}]}},"required":["mode","secretLocation","expiresAt"],"additionalProperties":false},"user":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"email":{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"name":{"type":["string","null"]}},"required":["id","email","name"],"additionalProperties":false},{"type":"null"}]},"workspace":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"name":{"type":["string","null"]},"slug":{"type":["string","null"]},"role":{"anyOf":[{"type":"string","enum":["owner","admin","member"]},{"type":"null"}]},"status":{"type":"string","enum":["active","archived"]}},"required":["id","name","slug","role","status"],"additionalProperties":false},{"type":"null"}]},"credential":{"anyOf":[{"type":"object","properties":{"keyPrefix":{"type":"string"},"scopes":{"type":"array","items":{"type":"string"}}},"required":["keyPrefix","scopes"],"additionalProperties":false},{"type":"null"}]},"availability":{"type":"object","properties":{"api":{"type":"boolean"},"mcp":{"type":"boolean"},"supportDesk":{"type":"boolean"}},"required":["api","mcp"],"additionalProperties":false},"selection":{"type":"object","properties":{"status":{"type":"string","enum":["selected","required","unavailable"]},"source":{"anyOf":[{"type":"string","enum":["api_key","auto_single","session"]},{"type":"null"}]},"workspaceId":{"type":["string","null"]}},"required":["status","source","workspaceId"],"additionalProperties":false},"status":{"type":"string","const":"ready"}},"required":["client","auth","user","workspace","credential","availability","status"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

workspace list

  • Operation ID: workspace.list
  • Authentication: oauth_token
  • Workspace selection: none
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/workspaces/list
  • MCP: not exposed on MCP — List Andy Workspaces. List the Workspaces available to the connected Andy identity.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"cursor":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"pageSize":{"default":50,"type":"integer","minimum":1,"maximum":100}},"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"workspaces":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1},"role":{"anyOf":[{"type":"string","enum":["owner","admin","member"]},{"type":"null"}]},"status":{"type":"string","enum":["active","archived"]}},"required":["id","name","slug","role","status"],"additionalProperties":false}}},"required":["workspaces"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

workspace select

  • Operation ID: workspace.select
  • Authentication: oauth_token
  • Workspace selection: none
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: not available — this operation has no HTTP adapter.
  • CLI: workspace select — Validates the ID or slug across every Workspace page, then stores it as the local CLI profile default. It is not a tenant operation and binds no MCP session.
  • MCP: not exposed on MCP — Select an Andy Workspace. Bind this OAuth MCP session to one Workspace returned by workspace.list. Superseded on MCP by select_workspace (#1068); the CLI command stores a local profile default instead.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, resource_not_found, permission_denied

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspaceId":{"type":"string","minLength":1}},"required":["workspaceId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"workspace":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1},"role":{"anyOf":[{"type":"string","enum":["owner","admin","member"]},{"type":"null"}]},"status":{"type":"string","enum":["active","archived"]}},"required":["id","name","slug","role","status"],"additionalProperties":false}},"required":["workspace"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

workspace inspect

  • Operation ID: workspace.inspect
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/workspaces/inspect
  • MCP: get_workspace — Inspect an Andy Workspace. Inspect the selected Workspace without exposing billing credentials.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, resource_not_found

Operation input schema (compact JSON, complete contract):

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

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"workspace":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1},"role":{"anyOf":[{"type":"string","enum":["owner","admin","member"]},{"type":"null"}]},"status":{"type":"string","enum":["active","archived"]}},"required":["id","name","slug","role","status"],"additionalProperties":false}},"required":["workspace"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

workspace create

  • Operation ID: workspace.create
  • Authentication: oauth_token
  • Workspace selection: none
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/workspaces/create
  • MCP: not exposed on MCP — Create an Andy Workspace. Create a Workspace owned by the current User under existing Plan and trial rules.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"slug":{"type":"string","pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["name"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"workspace":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1},"role":{"anyOf":[{"type":"string","enum":["owner","admin","member"]},{"type":"null"}]},"status":{"type":"string","enum":["active","archived"]}},"required":["id","name","slug","role","status"],"additionalProperties":false}},"required":["workspace"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

workspace rename

  • Operation ID: workspace.rename
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/workspaces/rename
  • MCP: not exposed on MCP — Rename an Andy Workspace. Rename the selected Workspace as a current Admin or Owner.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, workspace_archived, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["name"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"workspace":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1},"role":{"anyOf":[{"type":"string","enum":["owner","admin","member"]},{"type":"null"}]},"status":{"type":"string","enum":["active","archived"]}},"required":["id","name","slug","role","status"],"additionalProperties":false}},"required":["workspace"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

workspace unarchive

  • Operation ID: workspace.unarchive
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/workspaces/unarchive
  • MCP: unarchive_workspace — Unarchive an Andy Workspace. Bring the selected archived Workspace back, so its Agents answer and publishing and channel setup work again. get_workspace shows status "archived" while it is archived. An active Workspace is answered unchanged. Owner/Admin only.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"workspace":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1},"role":{"anyOf":[{"type":"string","enum":["owner","admin","member"]},{"type":"null"}]},"status":{"type":"string","enum":["active","archived"]}},"required":["id","name","slug","role","status"],"additionalProperties":false}},"required":["workspace"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

workspace entitlements

  • Operation ID: workspace.entitlements.inspect
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: workspace:read
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/workspaces/entitlements/inspect
  • MCP: get_workspace_entitlements — Inspect Andy Workspace Entitlements. Inspect current Entitlements, Limits, Usage, Plan, and trial state for the selected Workspace. A Workspace API Key needs workspace:read.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found

Operation input schema (compact JSON, complete contract):

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

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"entitlement":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"plan":{"type":["string","null"]},"planName":{"type":["string","null"]},"status":{"type":"string"},"active":{"type":"boolean"},"features":{"type":"array","items":{"type":"string"}},"limits":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"usage":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"channels":{"type":"object","properties":{"allowed":{"type":"array","items":{"type":"string"}},"maxActive":{"type":["number","null"]}},"required":["allowed","maxActive"],"additionalProperties":false},"trialEnd":{"type":["number","null"]},"periodEnd":{"type":["number","null"]},"cancelAtPeriodEnd":{"type":"boolean"},"supportDeskSource":{"anyOf":[{"type":"string","enum":["plan","grant"]},{"type":"null"}]}},"required":["workspaceId","plan","planName","status","active","features","limits","usage","channels","trialEnd","periodEnd","cancelAtPeriodEnd"],"additionalProperties":false}},"required":["entitlement"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

assistant telegram inspect

  • Operation ID: assistant.telegram.inspect
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/assistant/telegram/inspect
  • MCP: manage_telegram_connection (action inspect) — Inspect your Andy Telegram connection. Inspect your own Telegram connection and Workspace availability. Never reveals a connection token.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, telegram_already_connected, telegram_challenge_invalid, telegram_identity_conflict, limit_exceeded

Operation input schema (compact JSON, complete contract):

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

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"enabled":{"type":"boolean"},"status":{"type":"string","enum":["unavailable","connected","awaiting_confirmation","pending","expired","disconnected"]},"workspace":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"}},"required":["id","name","slug"],"additionalProperties":false},"connection":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"accountLabel":{"type":"string"},"connectedAt":{"type":"number"}},"required":["id","accountLabel","connectedAt"],"additionalProperties":false},{"type":"null"}]},"challenge":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"expiresAt":{"type":"number"},"accountLabel":{"type":["string","null"]}},"required":["id","expiresAt","accountLabel"],"additionalProperties":false},{"type":"null"}]},"appPath":{"type":"string"},"botUrl":{"type":"string"},"appRequired":{"type":"boolean"},"deepLink":{"type":["string","null"]}},"required":["enabled","status","workspace","connection","challenge","appPath","botUrl","appRequired","deepLink"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

assistant telegram prepare

  • Operation ID: assistant.telegram.prepare
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/assistant/telegram/prepare
  • MCP: manage_telegram_connection (action prepare) — Prepare your Andy Telegram connection. Connect your own Telegram account. Assistants and external callers receive an App handoff; only the connection page receives the one-time proof link. Open appPath to continue.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, telegram_already_connected, telegram_challenge_invalid, telegram_identity_conflict, limit_exceeded

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"enabled":{"type":"boolean"},"status":{"type":"string","enum":["unavailable","connected","awaiting_confirmation","pending","expired","disconnected"]},"workspace":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"}},"required":["id","name","slug"],"additionalProperties":false},"connection":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"accountLabel":{"type":"string"},"connectedAt":{"type":"number"}},"required":["id","accountLabel","connectedAt"],"additionalProperties":false},{"type":"null"}]},"challenge":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"expiresAt":{"type":"number"},"accountLabel":{"type":["string","null"]}},"required":["id","expiresAt","accountLabel"],"additionalProperties":false},{"type":"null"}]},"appPath":{"type":"string"},"botUrl":{"type":"string"},"appRequired":{"type":"boolean"},"deepLink":{"type":["string","null"]}},"required":["enabled","status","workspace","connection","challenge","appPath","botUrl","appRequired","deepLink"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

assistant telegram confirm

  • Operation ID: assistant.telegram.confirm
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/assistant/telegram/confirm
  • MCP: manage_telegram_connection (action confirm) — Confirm your Andy Telegram connection. Confirm the Telegram account shown on your connection page. Final confirmation must come from the same signed-in App session that prepared the link. Other callers receive an App handoff.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, telegram_already_connected, telegram_challenge_invalid, telegram_identity_conflict, limit_exceeded

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"challengeId":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["challengeId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"enabled":{"type":"boolean"},"status":{"type":"string","enum":["unavailable","connected","awaiting_confirmation","pending","expired","disconnected"]},"workspace":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"}},"required":["id","name","slug"],"additionalProperties":false},"connection":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"accountLabel":{"type":"string"},"connectedAt":{"type":"number"}},"required":["id","accountLabel","connectedAt"],"additionalProperties":false},{"type":"null"}]},"challenge":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"expiresAt":{"type":"number"},"accountLabel":{"type":["string","null"]}},"required":["id","expiresAt","accountLabel"],"additionalProperties":false},{"type":"null"}]},"appPath":{"type":"string"},"botUrl":{"type":"string"},"appRequired":{"type":"boolean"},"deepLink":{"type":["string","null"]}},"required":["enabled","status","workspace","connection","challenge","appPath","botUrl","appRequired","deepLink"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

assistant telegram disconnect

  • Operation ID: assistant.telegram.disconnect
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/assistant/telegram/disconnect
  • MCP: manage_telegram_connection (action disconnect) — Disconnect your Andy Telegram connection. Disconnect your own Telegram account from the selected Workspace immediately. Remains usable when the feature flag is Off.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, telegram_already_connected, telegram_challenge_invalid, telegram_identity_conflict, limit_exceeded

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"enabled":{"type":"boolean"},"status":{"type":"string","enum":["unavailable","connected","awaiting_confirmation","pending","expired","disconnected"]},"workspace":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"}},"required":["id","name","slug"],"additionalProperties":false},"connection":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"accountLabel":{"type":"string"},"connectedAt":{"type":"number"}},"required":["id","accountLabel","connectedAt"],"additionalProperties":false},{"type":"null"}]},"challenge":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"expiresAt":{"type":"number"},"accountLabel":{"type":["string","null"]}},"required":["id","expiresAt","accountLabel"],"additionalProperties":false},{"type":"null"}]},"appPath":{"type":"string"},"botUrl":{"type":"string"},"appRequired":{"type":"boolean"},"deepLink":{"type":["string","null"]}},"required":["enabled","status","workspace","connection","challenge","appPath","botUrl","appRequired","deepLink"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

workspace time-zone show

  • Operation ID: workspace.time_zone.inspect
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: workspace:read
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/workspaces/time-zone/inspect
  • MCP: manage_workspace_time_zone (action inspect) — Inspect the Andy Workspace time zone. Read the selected Workspace's IANA time zone. Dates in the App and Owner emails use it. source "default" means none is set yet and America/Santiago applies. A Workspace API Key needs workspace:read.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, entitlement_required

Operation input schema (compact JSON, complete contract):

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

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"timeZone":{"type":"string","minLength":1},"source":{"type":"string","enum":["workspace","default"]}},"required":["workspaceId","timeZone","source"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

workspace time-zone set

  • Operation ID: workspace.time_zone.set
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/workspaces/time-zone/set
  • MCP: manage_workspace_time_zone (action set) — Set the Andy Workspace time zone. Set the selected Workspace's IANA time zone, e.g. "Europe/London" or "America/Mexico_City". Dates in the App and Owner emails use it. Idempotent. Owner/Admin only.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"timeZone":{"type":"string","minLength":1,"maxLength":64},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["timeZone"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"timeZone":{"type":"string","minLength":1},"source":{"type":"string","enum":["workspace","default"]}},"required":["workspaceId","timeZone","source"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

billing show

  • Operation ID: workspace.billing.inspect
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: owner
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/workspaces/billing/inspect
  • MCP: get_workspace_billing — Inspect Andy Workspace billing. Read the selected Workspace's plan (name, list price, status, next charge date and amount after discounts and account credit, card) and its Billing Details from Stripe: legal name, billing email, address and each tax ID with its Tax Registration Status and the statement that confirms it. When status is "past_due", or "inactive" because Stripe marked the subscription unpaid, plan.openInvoice is the renewal Stripe could not charge: get its payment link with the invoice link operation (kind "pay"); paying it brings the plan back. An unpaid plan can instead be ended with the plan cancel operation. needsPaymentMethod is true after an ownership transfer until the new Owner adds a card. Owner only.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found

Operation input schema (compact JSON, complete contract):

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

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"plan":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"status":{"type":"string","enum":["active","trialing","past_due","inactive","free","complimentary"]},"price":{"anyOf":[{"type":"object","properties":{"amount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"currency":{"type":"string","minLength":1},"interval":{"type":"string","enum":["day","week","month","year"]},"intervalCount":{"type":"integer","minimum":1,"maximum":9007199254740991}},"required":["amount","currency","interval","intervalCount"],"additionalProperties":false},{"type":"null"}]},"nextChargeAt":{"type":["number","null"]},"nextCharge":{"anyOf":[{"type":"object","properties":{"amount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"currency":{"type":"string","minLength":1}},"required":["amount","currency"],"additionalProperties":false},{"type":"null"}]},"cancelsAt":{"type":["number","null"]},"trialEnd":{"type":["number","null"]},"paymentMethod":{"anyOf":[{"type":"object","properties":{"brand":{"type":"string"},"last4":{"type":["string","null"]}},"required":["brand","last4"],"additionalProperties":false},{"type":"null"}]},"openInvoice":{"default":null,"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1},"amount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"currency":{"type":"string","minLength":1},"issuedAt":{"type":"number"}},"required":["id","amount","currency","issuedAt"],"additionalProperties":false},{"type":"null"}]}},"required":["slug","name","status","price","nextChargeAt","nextCharge","cancelsAt","trialEnd","paymentMethod","openInvoice"],"additionalProperties":false},"hasCustomer":{"type":"boolean"},"billingDetails":{"anyOf":[{"type":"object","properties":{"legalName":{"type":["string","null"]},"email":{"type":["string","null"]},"address":{"anyOf":[{"type":"object","properties":{"line1":{"type":["string","null"]},"line2":{"type":["string","null"]},"city":{"type":["string","null"]},"state":{"type":["string","null"]},"postalCode":{"type":["string","null"]},"country":{"type":["string","null"]}},"required":["line1","line2","city","state","postalCode","country"],"additionalProperties":false},{"type":"null"}]},"taxIds":{"type":"array","items":{"type":"object","properties":{"stripeTaxIdId":{"type":"string","minLength":1},"type":{"type":"string","minLength":1},"value":{"type":"string"},"country":{"type":["string","null"]},"registration":{"type":"object","properties":{"confirmed":{"type":"boolean"},"confirmedAt":{"type":["number","null"]},"confirmedBy":{"type":["string","null"]}},"required":["confirmed","confirmedAt","confirmedBy"],"additionalProperties":false},"confirmation":{"type":"object","properties":{"label":{"type":"object","properties":{"es":{"type":"string"},"en":{"type":"string"}},"required":["es","en"],"additionalProperties":false},"statement":{"type":"object","properties":{"es":{"type":"string"},"en":{"type":"string"}},"required":["es","en"],"additionalProperties":false},"wordingVersion":{"type":"object","properties":{"es":{"type":"string","minLength":1},"en":{"type":"string","minLength":1}},"required":["es","en"],"additionalProperties":false}},"required":["label","statement","wordingVersion"],"additionalProperties":false}},"required":["stripeTaxIdId","type","value","country","registration","confirmation"],"additionalProperties":false}}},"required":["legalName","email","address","taxIds"],"additionalProperties":false},{"type":"null"}]},"needsPaymentMethod":{"type":"boolean"}},"required":["workspaceId","plan","hasCustomer","billingDetails","needsPaymentMethod"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

billing portal

  • Operation ID: workspace.billing.portal_session.create
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: owner
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/workspaces/billing/portal-session/create
  • MCP: manage_workspace_billing (action portal_session) — Open the Andy Workspace billing portal. Return a fresh Stripe billing portal URL for the selected Workspace, for the Owner to open. flow "manage" changes the card, the plan or cancels; "payment_method" goes straight to adding a card, except on a trial without a billing address, which gets the portal home with Billing Details and the card and answers flow "manage"; "details" edits the legal name, address and tax IDs, which apply to future invoices. Works after a cancellation, once the Workspace has paid. Owner only.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"flow":{"type":"string","enum":["manage","payment_method","details"]}},"required":["flow"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"flow":{"type":"string","enum":["manage","payment_method","details"]}},"required":["url","flow"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

billing tax-status

  • Operation ID: workspace.billing.tax_registration.set
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: owner
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/workspaces/billing/tax-registration/set
  • MCP: manage_workspace_billing (action set_tax_registration) — Set the Tax Registration Status of a tax ID. Confirm (confirmed true) or remove (confirmed false) the Owner's statement that the holder of one of the Workspace's tax IDs is registered for VAT, the IVA in Chile. Confirm only after the Owner read the exact statement from the billing inspect, in their language, and agreed; send that language's wordingVersion. Never confirm on the Owner's behalf. A changed tax ID starts unconfirmed. Idempotent. Owner only.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, confirmation_required

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"stripeTaxIdId":{"type":"string","pattern":"^txi_"},"confirmed":{"type":"boolean"},"wordingVersion":{"type":"string","minLength":1}},"required":["stripeTaxIdId","confirmed"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"taxId":{"type":"object","properties":{"stripeTaxIdId":{"type":"string","minLength":1},"type":{"type":"string","minLength":1},"value":{"type":"string"},"country":{"type":["string","null"]},"registration":{"type":"object","properties":{"confirmed":{"type":"boolean"},"confirmedAt":{"type":["number","null"]},"confirmedBy":{"type":["string","null"]}},"required":["confirmed","confirmedAt","confirmedBy"],"additionalProperties":false},"confirmation":{"type":"object","properties":{"label":{"type":"object","properties":{"es":{"type":"string"},"en":{"type":"string"}},"required":["es","en"],"additionalProperties":false},"statement":{"type":"object","properties":{"es":{"type":"string"},"en":{"type":"string"}},"required":["es","en"],"additionalProperties":false},"wordingVersion":{"type":"object","properties":{"es":{"type":"string","minLength":1},"en":{"type":"string","minLength":1}},"required":["es","en"],"additionalProperties":false}},"required":["label","statement","wordingVersion"],"additionalProperties":false}},"required":["stripeTaxIdId","type","value","country","registration","confirmation"],"additionalProperties":false}},"required":["workspaceId","taxId"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

billing cancel-unpaid

  • Operation ID: workspace.billing.plan.cancel
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: owner
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/workspaces/billing/plan/cancel
  • MCP: manage_workspace_billing (action cancel_unpaid_plan) — Cancel an unpaid Andy Workspace plan. End the selected Workspace's plan now, only while billing inspect says it is "inactive" because Stripe marked the subscription unpaid. Its agents are already stopped; once canceled the Workspace is on Free and can check out a plan again or be deleted. Paying the open Invoice brings the same plan back instead. Cannot be undone: set confirm true only after the Owner agreed. Any other plan cancels from the billing portal. Owner only.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, confirmation_required

Operation input schema (compact JSON, complete contract):

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

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"subscriptionId":{"type":"string","minLength":1},"status":{"type":"string","const":"canceled"}},"required":["workspaceId","subscriptionId","status"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

invoices list

  • Operation ID: workspace.invoices.list
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: owner
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/workspaces/invoices/list
  • MCP: list_invoices (action list) — List Andy Workspace invoices. List the Invoices the selected Workspace was charged, newest first, live from Stripe: number, issue date, description, billed period, total in its currency, and paid or unpaid. History stays after a cancellation. $0 trial Invoices are left out unless includeZero is true; zeroCount says how many there are. Rows carry no URL: get a PDF or payment link with the invoice link operation. Page with meta.nextCursor. Owner only.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"includeZero":{"type":"boolean"},"cursor":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]}},"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"invoices":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"number":{"type":["string","null"]},"issuedAt":{"type":"number"},"item":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"plan"},"planName":{"type":"string"}},"required":["kind","planName"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"credits"},"credits":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["kind","credits"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"other"},"description":{"type":["string","null"]}},"required":["kind","description"],"additionalProperties":false}]},"period":{"anyOf":[{"type":"object","properties":{"start":{"type":"number"},"end":{"type":"number"}},"required":["start","end"],"additionalProperties":false},{"type":"null"}]},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"currency":{"type":"string","minLength":1},"status":{"type":"string","enum":["paid","unpaid"]}},"required":["id","number","issuedAt","item","period","total","currency","status"],"additionalProperties":false}},"zeroCount":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["workspaceId","invoices","zeroCount"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}
  • Operation ID: workspace.invoices.link
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: owner
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/workspaces/invoices/link
  • MCP: list_invoices (action link) — Get an Andy Workspace invoice link. Return a fresh link to one of the selected Workspace's Invoices: kind "pdf" downloads it, kind "pay" opens Stripe's payment page for an unpaid one; for an unpaid plan's draft renewal (plan.openInvoice) it first finalizes that draft in Stripe. Give the link to the Owner to open now; never store it or send it to anyone else. Owner only.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"invoiceId":{"type":"string","pattern":"^in_"},"kind":{"default":"pdf","type":"string","enum":["pdf","pay"]}},"required":["invoiceId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"invoiceId":{"type":"string","minLength":1},"kind":{"type":"string","enum":["pdf","pay"]},"url":{"type":"string","format":"uri"},"label":{"type":"string","minLength":1}},"required":["invoiceId","kind","url","label"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

members list

  • Operation ID: workspace.member.list
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/workspaces/members/list
  • MCP: manage_workspace_members (action list_members) — List Andy Workspace members. List the selected Workspace's members with their role (owner, admin or member), name, email and join date. Every member may read it.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found

Operation input schema (compact JSON, complete contract):

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

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"members":{"type":"array","items":{"type":"object","properties":{"membershipId":{"type":"string","minLength":1},"userId":{"type":"string","minLength":1},"role":{"type":"string","enum":["owner","admin","member"]},"name":{"type":["string","null"]},"email":{"type":"string","minLength":1},"isDeleted":{"type":"boolean"},"joinedAt":{"type":"number"}},"required":["membershipId","userId","role","name","email","isDeleted","joinedAt"],"additionalProperties":false}}},"required":["members"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

members role

  • Operation ID: workspace.member.change_role
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/workspaces/members/change-role
  • MCP: manage_workspace_members (action change_role) — Change an Andy Workspace member's role. Make one member an admin or a member, by membershipId from the member list. The Owner's role changes only through ownership transfer in the App. Owner/Admin only.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, workspace_commercial_inactive, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"membershipId":{"type":"string","minLength":1},"role":{"type":"string","enum":["admin","member"]},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["membershipId","role"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"member":{"type":"object","properties":{"membershipId":{"type":"string","minLength":1},"userId":{"type":"string","minLength":1},"role":{"type":"string","enum":["owner","admin","member"]},"name":{"type":["string","null"]},"email":{"type":"string","minLength":1},"isDeleted":{"type":"boolean"},"joinedAt":{"type":"number"}},"required":["membershipId","userId","role","name","email","isDeleted","joinedAt"],"additionalProperties":false}},"required":["member"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

members remove

  • Operation ID: workspace.member.remove
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/workspaces/members/remove
  • MCP: manage_workspace_members (action remove) — Remove an Andy Workspace member. Remove one member from the selected Workspace, by membershipId from the member list. They lose access at once. The Owner cannot be removed, and you cannot remove yourself: leave the Workspace in the App. Owner/Admin only.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, workspace_commercial_inactive, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"membershipId":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["membershipId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"membershipId":{"type":"string","minLength":1},"removed":{"type":"boolean","const":true}},"required":["membershipId","removed"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

members invites

  • Operation ID: workspace.invite.list
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: admin
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/workspaces/invites/list
  • MCP: manage_workspace_members (action list_invites) — List Andy Workspace invitations. List the selected Workspace's invitations: email, role, status (pending, revoked or accepted) and expiry. A pending invitation takes a seat until it expires. Owner/Admin only.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found

Operation input schema (compact JSON, complete contract):

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

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"invites":{"type":"array","items":{"type":"object","properties":{"inviteId":{"type":"string","minLength":1},"email":{"type":"string","minLength":1},"role":{"type":"string","enum":["admin","member"]},"status":{"type":"string","enum":["pending","revoked","accepted"]},"expiresAt":{"type":"number"},"createdAt":{"type":"number"},"invitedBy":{"type":"string","minLength":1}},"required":["inviteId","email","role","status","expiresAt","createdAt","invitedBy"],"additionalProperties":false}}},"required":["invites"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

members invite

  • Operation ID: workspace.invite.create
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/workspaces/invites/create
  • MCP: manage_workspace_members (action invite) — Invite someone to an Andy Workspace. Email an invitation to join the selected Workspace as an admin or a member. It sends an email, so set confirm true only after the User agreed to send it. Inviting the same email again replaces its pending invitation. Refused with limit_exceeded when members plus pending invitations fill the plan's seats. Owner/Admin only.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, workspace_commercial_inactive, confirmation_required, limit_exceeded, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"email":{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"role":{"type":"string","enum":["admin","member"]},"confirm":{"type":"boolean"},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["email","role"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"invite":{"type":"object","properties":{"inviteId":{"type":"string","minLength":1},"email":{"type":"string","minLength":1},"role":{"type":"string","enum":["admin","member"]},"status":{"type":"string","enum":["pending","revoked","accepted"]},"expiresAt":{"type":"number"},"createdAt":{"type":"number"},"invitedBy":{"type":"string","minLength":1}},"required":["inviteId","email","role","status","expiresAt","createdAt","invitedBy"],"additionalProperties":false}},"required":["invite"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

members revoke

  • Operation ID: workspace.invite.revoke
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/workspaces/invites/revoke
  • MCP: manage_workspace_members (action revoke_invite) — Revoke an Andy Workspace invitation. Revoke one pending invitation, by inviteId from the invitation list. Its link stops working and its seat frees up. Owner/Admin only.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, workspace_commercial_inactive, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"inviteId":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["inviteId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"invite":{"type":"object","properties":{"inviteId":{"type":"string","minLength":1},"email":{"type":"string","minLength":1},"role":{"type":"string","enum":["admin","member"]},"status":{"type":"string","enum":["pending","revoked","accepted"]},"expiresAt":{"type":"number"},"createdAt":{"type":"number"},"invitedBy":{"type":"string","minLength":1}},"required":["inviteId","email","role","status","expiresAt","createdAt","invitedBy"],"additionalProperties":false}},"required":["invite"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

agent list

  • Operation ID: agent.list
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/agents/list
  • MCP: get_agent — List Andy Agents. List active Agents in the selected Workspace.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, resource_not_found, entitlement_required

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"cursor":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"pageSize":{"default":50,"type":"integer","minimum":1,"maximum":100}},"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"agents":{"type":"array","items":{"type":"object","properties":{"purpose":{"type":"string","enum":["sales","support","assistant"]},"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1},"status":{"type":"string","const":"active"},"defaultLanguage":{"type":"string","enum":["en","es"]},"configuration":{"type":"object","properties":{"instructions":{"type":["string","null"]},"temperature":{"type":"number"},"tone":{"type":"string","enum":["formal","balanced","casual"]},"creativity":{"type":"string","enum":["predictable","balanced","creative"]},"handoffReply":{"default":{},"description":"The Handoff reply the Owner wrote per language. A missing language sends its default.","type":"object","properties":{"es":{"type":"string"},"en":{"type":"string"}},"additionalProperties":false},"pausedAt":{"default":null,"description":"When the Agent was paused, or null while it replies. A paused Agent stores every message and sends no automatic reply.","type":["number","null"]},"handoffEnabled":{"default":true,"description":"Human Handoff: whether the Agent may ask for a person. Take over and an External Reply work either way.","type":"boolean"},"autoResumeAfterHours":{"default":null,"anyOf":[{"type":"integer","minimum":1,"maximum":168},{"type":"null"}],"description":"Hours (1-168) without a manual reply from the phone or Instagram before Andy answers that Conversation again; null keeps it with the person until handed back. Counts from the last manual reply and applies to chats already paused."},"handoffNotificationEmailEnabled":{"description":"Handoff email: whether a Human Handoff emails anyone. false emails nobody, not even the Owner; omitted means on. Human Handoff itself keeps working.","type":"boolean"},"leadNotificationRecipients":{"description":"Who gets the new-Lead email. An empty list means the Workspace Owner; omitted reads the same.","type":"array","items":{"type":"string"}}},"required":["instructions","temperature","tone","creativity","handoffReply","pausedAt","handoffEnabled","autoResumeAfterHours"],"additionalProperties":false}},"required":["purpose","id","workspaceId","name","slug","status","defaultLanguage","configuration"],"additionalProperties":false}}},"required":["agents"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

agent inspect

  • Operation ID: agent.inspect
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/agents/inspect
  • MCP: get_agent — Inspect an Andy Agent. Inspect one active Agent by exact ID in the selected Workspace.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, resource_not_found, entitlement_required

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"agentId":{"type":"string","minLength":1}},"required":["agentId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"agent":{"type":"object","properties":{"purpose":{"type":"string","enum":["sales","support","assistant"]},"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1},"status":{"type":"string","const":"active"},"defaultLanguage":{"type":"string","enum":["en","es"]},"configuration":{"type":"object","properties":{"instructions":{"type":["string","null"]},"temperature":{"type":"number"},"tone":{"type":"string","enum":["formal","balanced","casual"]},"creativity":{"type":"string","enum":["predictable","balanced","creative"]},"handoffReply":{"default":{},"description":"The Handoff reply the Owner wrote per language. A missing language sends its default.","type":"object","properties":{"es":{"type":"string"},"en":{"type":"string"}},"additionalProperties":false},"pausedAt":{"default":null,"description":"When the Agent was paused, or null while it replies. A paused Agent stores every message and sends no automatic reply.","type":["number","null"]},"handoffEnabled":{"default":true,"description":"Human Handoff: whether the Agent may ask for a person. Take over and an External Reply work either way.","type":"boolean"},"autoResumeAfterHours":{"default":null,"anyOf":[{"type":"integer","minimum":1,"maximum":168},{"type":"null"}],"description":"Hours (1-168) without a manual reply from the phone or Instagram before Andy answers that Conversation again; null keeps it with the person until handed back. Counts from the last manual reply and applies to chats already paused."},"handoffNotificationEmailEnabled":{"description":"Handoff email: whether a Human Handoff emails anyone. false emails nobody, not even the Owner; omitted means on. Human Handoff itself keeps working.","type":"boolean"},"leadNotificationRecipients":{"description":"Who gets the new-Lead email. An empty list means the Workspace Owner; omitted reads the same.","type":"array","items":{"type":"string"}}},"required":["instructions","temperature","tone","creativity","handoffReply","pausedAt","handoffEnabled","autoResumeAfterHours"],"additionalProperties":false}},"required":["purpose","id","workspaceId","name","slug","status","defaultLanguage","configuration"],"additionalProperties":false},"currentSupportAgentGranted":{"type":"boolean"}},"required":["agent"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

agent metrics

  • Operation ID: agent.metrics.inspect
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: agent:read
  • Minimum User role: member
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/agents/metrics/inspect
  • MCP: get_agent_metrics (action inspect) — Inspect Agent Metrics. Read the Overview board's exact metrics and previous-period comparison in the Workspace time zone. Period is today, 7d, 30d or {month: YYYY-MM}. Clock defaults to now and is floored to the hour. While history is filling, no partial numbers are returned. Get agentId from get_context or get_agent.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"agentId":{"type":"string","minLength":1},"clock":{"type":"number"},"period":{"anyOf":[{"type":"string","enum":["today","7d","30d"]},{"type":"object","properties":{"month":{"type":"string","pattern":"^\\d{4}-(0[1-9]|1[0-2])$"}},"required":["month"],"additionalProperties":false}]}},"required":["agentId","period"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"metrics":{"oneOf":[{"type":"object","properties":{"status":{"type":"string","const":"filling"}},"required":["status"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","const":"ready"},"series":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"start":{"type":"number"},"exchanges":{"type":["number","null"]},"leads":{"type":["number","null"]}},"required":["label","start","exchanges","leads"],"additionalProperties":false}},"kpis":{"type":"object","properties":{"exchanges":{"type":"object","properties":{"value":{"type":"number"},"previous":{"type":"number"}},"required":["value","previous"],"additionalProperties":false},"leads":{"type":"object","properties":{"value":{"type":"number"},"previous":{"type":"number"}},"required":["value","previous"],"additionalProperties":false},"leadConversion":{"type":"object","properties":{"value":{"type":"number"},"previous":{"type":"number"}},"required":["value","previous"],"additionalProperties":false},"answeredByAgentOnly":{"type":"object","properties":{"value":{"type":"number"},"previous":{"type":"number"}},"required":["value","previous"],"additionalProperties":false},"replyRate":{"type":"object","properties":{"value":{"type":"number"},"previous":{"type":"number"}},"required":["value","previous"],"additionalProperties":false},"medianResponseMs":{"type":"object","properties":{"value":{"type":"number"},"previous":{"type":"number"}},"required":["value","previous"],"additionalProperties":false},"afterHoursShare":{"type":"object","properties":{"value":{"type":"number"},"previous":{"type":"number"}},"required":["value","previous"],"additionalProperties":false}},"required":["exchanges","leads","leadConversion","answeredByAgentOnly","replyRate","medianResponseMs","afterHoursShare"],"additionalProperties":false},"byChannel":{"type":"array","items":{"type":"object","properties":{"channel":{"type":"string","enum":["whatsapp","instagram","widget","public_url","slack","voice"]},"exchanges":{"type":"number"},"leads":{"type":"number"}},"required":["channel","exchanges","leads"],"additionalProperties":false}},"byWeekday":{"type":"array","items":{"type":"number"}},"byHour":{"type":"array","items":{"type":"number"}},"afterHours":{"type":"object","properties":{"source":{"type":"string","enum":["business_hours","default"]},"timeZone":{"type":"string"},"hours":{"type":"object","properties":{"monday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}},"tuesday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}},"wednesday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}},"thursday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}},"friday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}},"saturday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}},"sunday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}}},"required":["monday","tuesday","wednesday","thursday","friday","saturday","sunday"],"additionalProperties":false}},"required":["source","timeZone","hours"],"additionalProperties":false}},"required":["status","series","kpis","byChannel","byWeekday","byHour","afterHours"],"additionalProperties":false}]}},"required":["metrics"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

agent live-now

  • Operation ID: agent.metrics.live_now
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: agent:read
  • Minimum User role: member
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/agents/metrics/live-now
  • MCP: get_agent_metrics (action live_now) — Read Agent live-now count. Count Conversations with a counted Message less than five minutes old. Clock defaults to now; liveNow is null while history is filling. Get agentId from get_context or get_agent.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"agentId":{"type":"string","minLength":1},"clock":{"type":"number"}},"required":["agentId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"liveNow":{"type":["number","null"]}},"required":["liveNow"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

agent create

  • Operation ID: agent.create
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/agents/create
  • MCP: manage_agent (action create) — Create an Andy Agent. Create an Agent in the selected Workspace under current Entitlements and Limits. Purpose defaults to sales. A Workspace Owner or Admin User may create a support Agent when the Workspace has Soporte (Pro Max or a grant); only a Platform Admin User may create assistant. A Workspace API Key creates only sales. Purpose is read-only in ordinary Agent configuration.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, workspace_archived, entitlement_required, limit_exceeded, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"purpose":{"default":"sales","type":"string","enum":["sales","support","assistant"]},"name":{"type":"string","minLength":1,"maxLength":120},"slug":{"type":"string","pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"defaultLanguage":{"description":"The Agent's language. Omit it to use the creating User's language; a Workspace API Key uses the Workspace Owner's. Spanish when neither is known.","type":"string","enum":["en","es"]},"instructions":{"type":"string","minLength":1,"maxLength":20000},"temperature":{"type":"number","minimum":0,"maximum":2},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["name"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"agent":{"type":"object","properties":{"purpose":{"type":"string","enum":["sales","support","assistant"]},"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1},"status":{"type":"string","const":"active"},"defaultLanguage":{"type":"string","enum":["en","es"]},"configuration":{"type":"object","properties":{"instructions":{"type":["string","null"]},"temperature":{"type":"number"},"tone":{"type":"string","enum":["formal","balanced","casual"]},"creativity":{"type":"string","enum":["predictable","balanced","creative"]},"handoffReply":{"default":{},"description":"The Handoff reply the Owner wrote per language. A missing language sends its default.","type":"object","properties":{"es":{"type":"string"},"en":{"type":"string"}},"additionalProperties":false},"pausedAt":{"default":null,"description":"When the Agent was paused, or null while it replies. A paused Agent stores every message and sends no automatic reply.","type":["number","null"]},"handoffEnabled":{"default":true,"description":"Human Handoff: whether the Agent may ask for a person. Take over and an External Reply work either way.","type":"boolean"},"autoResumeAfterHours":{"default":null,"anyOf":[{"type":"integer","minimum":1,"maximum":168},{"type":"null"}],"description":"Hours (1-168) without a manual reply from the phone or Instagram before Andy answers that Conversation again; null keeps it with the person until handed back. Counts from the last manual reply and applies to chats already paused."},"handoffNotificationEmailEnabled":{"description":"Handoff email: whether a Human Handoff emails anyone. false emails nobody, not even the Owner; omitted means on. Human Handoff itself keeps working.","type":"boolean"},"leadNotificationRecipients":{"description":"Who gets the new-Lead email. An empty list means the Workspace Owner; omitted reads the same.","type":"array","items":{"type":"string"}}},"required":["instructions","temperature","tone","creativity","handoffReply","pausedAt","handoffEnabled","autoResumeAfterHours"],"additionalProperties":false}},"required":["purpose","id","workspaceId","name","slug","status","defaultLanguage","configuration"],"additionalProperties":false},"currentSupportAgentGranted":{"type":"boolean"}},"required":["agent"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

agent set-purpose

  • Operation ID: agent.purpose.set
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/agents/purpose/set
  • MCP: manage_agent (action set_purpose) — Set an Agent's provisioned purpose. A Workspace Owner or Admin User may switch an Agent between sales and support; support needs Soporte (Pro Max or a grant). Only a Platform Admin User may give or remove assistant. Workspace API Keys never hold this authority. Purpose remains read-only in ordinary Agent configuration.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, workspace_selection_required, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"agentId":{"type":"string","minLength":1},"purpose":{"type":"string","enum":["sales","support","assistant"]},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["agentId","purpose"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"agent":{"type":"object","properties":{"purpose":{"type":"string","enum":["sales","support","assistant"]},"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1},"status":{"type":"string","const":"active"},"defaultLanguage":{"type":"string","enum":["en","es"]},"configuration":{"type":"object","properties":{"instructions":{"type":["string","null"]},"temperature":{"type":"number"},"tone":{"type":"string","enum":["formal","balanced","casual"]},"creativity":{"type":"string","enum":["predictable","balanced","creative"]},"handoffReply":{"default":{},"description":"The Handoff reply the Owner wrote per language. A missing language sends its default.","type":"object","properties":{"es":{"type":"string"},"en":{"type":"string"}},"additionalProperties":false},"pausedAt":{"default":null,"description":"When the Agent was paused, or null while it replies. A paused Agent stores every message and sends no automatic reply.","type":["number","null"]},"handoffEnabled":{"default":true,"description":"Human Handoff: whether the Agent may ask for a person. Take over and an External Reply work either way.","type":"boolean"},"autoResumeAfterHours":{"default":null,"anyOf":[{"type":"integer","minimum":1,"maximum":168},{"type":"null"}],"description":"Hours (1-168) without a manual reply from the phone or Instagram before Andy answers that Conversation again; null keeps it with the person until handed back. Counts from the last manual reply and applies to chats already paused."},"handoffNotificationEmailEnabled":{"description":"Handoff email: whether a Human Handoff emails anyone. false emails nobody, not even the Owner; omitted means on. Human Handoff itself keeps working.","type":"boolean"},"leadNotificationRecipients":{"description":"Who gets the new-Lead email. An empty list means the Workspace Owner; omitted reads the same.","type":"array","items":{"type":"string"}}},"required":["instructions","temperature","tone","creativity","handoffReply","pausedAt","handoffEnabled","autoResumeAfterHours"],"additionalProperties":false}},"required":["purpose","id","workspaceId","name","slug","status","defaultLanguage","configuration"],"additionalProperties":false},"currentSupportAgentGranted":{"type":"boolean"}},"required":["agent"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

agent configure

  • Operation ID: agent.configure
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/agents/configure
  • MCP: configure_agent — Configure an Andy Agent. Configure the supported public fields of one Agent by exact ID. paused true stops its automatic replies without deleting it or disconnecting a Channel; paused false resumes them. autoResumeAfterHours (1-168, or null for off) lets Andy answer a Conversation again once that many hours pass after the last manual phone or Instagram reply.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict, agent_selection_required

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"agentId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1,"maxLength":120},"defaultLanguage":{"description":"The language the Widget and the Handoff reply use when a Visitor's own is unknown. A host page's <html lang> or a lang prop overrides it per Visitor. Copy already written in each language stays in that language.","type":"string","enum":["en","es"]},"instructions":{"anyOf":[{"type":"string","minLength":1,"maxLength":20000},{"type":"null"}]},"temperature":{"type":"number","minimum":0,"maximum":2},"tone":{"description":"How the Agent sounds: formal, balanced (default) or casual.","type":"string","enum":["formal","balanced","casual"]},"creativity":{"description":"How much answers vary: predictable, balanced (default) or creative.","type":"string","enum":["predictable","balanced","creative"]},"handoffReply":{"type":"object","properties":{"es":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"en":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]}},"additionalProperties":false,"description":"The reply a Visitor gets when the Agent hands the Conversation to a person, per language. Empty or null sends the default in that language."},"handoffEnabled":{"description":"true lets the Agent ask for a person (Human Handoff); false stops it asking. A Support Agent cannot turn it on.","type":"boolean"},"autoResumeAfterHours":{"description":"Hours (1-168) without a manual reply from the phone or Instagram before Andy answers that Conversation again; null turns auto-resume off, so the chat stays with the person until handed back. Counts from the last manual reply and applies to chats already paused. A Support Agent cannot turn it on.","anyOf":[{"type":"integer","minimum":1,"maximum":168},{"type":"null"}]},"handoffNotificationEmailEnabled":{"description":"false stops the Handoff email: a Human Handoff emails nobody, not even the Owner, and the saved addresses are kept for when it is turned back on. true sends it again. Human Handoff itself is unchanged. A Support Agent cannot turn it on.","type":"boolean"},"leadNotificationRecipients":{"description":"Who gets the new-Lead email: up to 3 addresses, replacing the saved list. [] goes back to the Workspace Owner. Owners and Admins only; a Support Agent captures no Leads, so it can only be cleared.","maxItems":3,"type":"array","items":{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"}},"paused":{"description":"true pauses the Agent: it keeps storing messages and people can reply, but it sends no automatic reply and makes no booking in chat; Test Chat still works. false resumes it; messages that arrived while paused get no automatic reply.","type":"boolean"},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"agent":{"type":"object","properties":{"purpose":{"type":"string","enum":["sales","support","assistant"]},"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1},"status":{"type":"string","const":"active"},"defaultLanguage":{"type":"string","enum":["en","es"]},"configuration":{"type":"object","properties":{"instructions":{"type":["string","null"]},"temperature":{"type":"number"},"tone":{"type":"string","enum":["formal","balanced","casual"]},"creativity":{"type":"string","enum":["predictable","balanced","creative"]},"handoffReply":{"default":{},"description":"The Handoff reply the Owner wrote per language. A missing language sends its default.","type":"object","properties":{"es":{"type":"string"},"en":{"type":"string"}},"additionalProperties":false},"pausedAt":{"default":null,"description":"When the Agent was paused, or null while it replies. A paused Agent stores every message and sends no automatic reply.","type":["number","null"]},"handoffEnabled":{"default":true,"description":"Human Handoff: whether the Agent may ask for a person. Take over and an External Reply work either way.","type":"boolean"},"autoResumeAfterHours":{"default":null,"anyOf":[{"type":"integer","minimum":1,"maximum":168},{"type":"null"}],"description":"Hours (1-168) without a manual reply from the phone or Instagram before Andy answers that Conversation again; null keeps it with the person until handed back. Counts from the last manual reply and applies to chats already paused."},"handoffNotificationEmailEnabled":{"description":"Handoff email: whether a Human Handoff emails anyone. false emails nobody, not even the Owner; omitted means on. Human Handoff itself keeps working.","type":"boolean"},"leadNotificationRecipients":{"description":"Who gets the new-Lead email. An empty list means the Workspace Owner; omitted reads the same.","type":"array","items":{"type":"string"}}},"required":["instructions","temperature","tone","creativity","handoffReply","pausedAt","handoffEnabled","autoResumeAfterHours"],"additionalProperties":false}},"required":["purpose","id","workspaceId","name","slug","status","defaultLanguage","configuration"],"additionalProperties":false},"currentSupportAgentGranted":{"type":"boolean"}},"required":["agent"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

agent delete

  • Operation ID: agent.delete
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/agents/delete
  • MCP: manage_agent (action delete) — Soft-delete an Andy Agent. Soft-delete one Agent after exact-ID confirmation.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, confirmation_required, idempotency_conflict, agent_selection_required

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"agentId":{"type":"string","minLength":1},"confirm":{"type":"boolean"},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"agentId":{"type":"string","minLength":1},"deleted":{"type":"boolean","const":true}},"required":["agentId","deleted"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

agent rename-slug

  • Operation ID: agent.rename_slug
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/agents/rename-slug
  • MCP: manage_agent (action rename_slug) — Rename an Andy Agent's URL slug. Change one Agent's URL slug, the in //. The old URL stops working at once; nothing redirects it. The slug must be lowercase letters, numbers and hyphens, not a reserved Workspace page, and not used by another live Agent in the Workspace. Owner/Admin only.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"agentId":{"type":"string","minLength":1},"slug":{"type":"string","pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["agentId","slug"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"agent":{"type":"object","properties":{"purpose":{"type":"string","enum":["sales","support","assistant"]},"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1},"status":{"type":"string","const":"active"},"defaultLanguage":{"type":"string","enum":["en","es"]},"configuration":{"type":"object","properties":{"instructions":{"type":["string","null"]},"temperature":{"type":"number"},"tone":{"type":"string","enum":["formal","balanced","casual"]},"creativity":{"type":"string","enum":["predictable","balanced","creative"]},"handoffReply":{"default":{},"description":"The Handoff reply the Owner wrote per language. A missing language sends its default.","type":"object","properties":{"es":{"type":"string"},"en":{"type":"string"}},"additionalProperties":false},"pausedAt":{"default":null,"description":"When the Agent was paused, or null while it replies. A paused Agent stores every message and sends no automatic reply.","type":["number","null"]},"handoffEnabled":{"default":true,"description":"Human Handoff: whether the Agent may ask for a person. Take over and an External Reply work either way.","type":"boolean"},"autoResumeAfterHours":{"default":null,"anyOf":[{"type":"integer","minimum":1,"maximum":168},{"type":"null"}],"description":"Hours (1-168) without a manual reply from the phone or Instagram before Andy answers that Conversation again; null keeps it with the person until handed back. Counts from the last manual reply and applies to chats already paused."},"handoffNotificationEmailEnabled":{"description":"Handoff email: whether a Human Handoff emails anyone. false emails nobody, not even the Owner; omitted means on. Human Handoff itself keeps working.","type":"boolean"},"leadNotificationRecipients":{"description":"Who gets the new-Lead email. An empty list means the Workspace Owner; omitted reads the same.","type":"array","items":{"type":"string"}}},"required":["instructions","temperature","tone","creativity","handoffReply","pausedAt","handoffEnabled","autoResumeAfterHours"],"additionalProperties":false}},"required":["purpose","id","workspaceId","name","slug","status","defaultLanguage","configuration"],"additionalProperties":false},"currentSupportAgentGranted":{"type":"boolean"}},"required":["agent"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

agent logo set

  • Operation ID: agent.logo.set
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: widget:write
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/agents/logo/set
  • MCP: manage_widget (action set_logo) — Set an Andy Agent's logo. Set the logo one Agent shows on its Public Link and Widget, from image bytes (bytesBase64) or an https image URL (imageUrl) the server downloads. PNG or JPEG, at most 2097152 bytes. It replaces the current logo. Signed-in Users need Owner or Admin; a Workspace API Key needs widget:write. Read it back with widget.inspect (configuration.logoUrl).
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, processing_failed, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","oneOf":[{"type":"object","properties":{"agentId":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200},"bytesBase64":{"type":"string","minLength":4,"maxLength":2796204}},"required":["agentId","bytesBase64"],"additionalProperties":false},{"type":"object","properties":{"agentId":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200},"imageUrl":{"type":"string","maxLength":2048,"format":"uri"}},"required":["agentId","imageUrl"],"additionalProperties":false}]}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"agentId":{"type":"string","minLength":1},"logoUrl":{"type":"string","format":"uri"}},"required":["agentId","logoUrl"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

agent-website dismiss

  • Operation ID: agent_website.dismiss
  • Authentication: workspace_api_key
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/agent-websites/dismiss
  • MCP: not exposed on MCP — Dismiss an Agent Website origin. Record one exact origin as dismissed ("Not this site") on one Agent. It appends to the Agent's dismissed Agent Website origins and never writes Agent Website.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict, agent_selection_required

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"agentId":{"type":"string","minLength":1},"origin":{"type":"string"},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["origin"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"agentId":{"type":"string","minLength":1},"dismissedAgentWebsiteOrigins":{"maxItems":50,"type":"array","items":{"type":"string"}}},"required":["agentId","dismissedAgentWebsiteOrigins"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

api-key list

  • Operation ID: api_key.list
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/api-keys/list
  • MCP: not exposed on MCP — List Andy Workspace API Keys. List safe metadata for Workspace API Keys as a current Workspace Admin.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"cursor":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"pageSize":{"default":50,"type":"integer","minimum":1,"maximum":100}},"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"apiKeys":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"keyPrefix":{"type":"string","minLength":1},"preset":{"anyOf":[{"type":"string","enum":["read_only","operator"]},{"type":"null"}]},"scopes":{"type":"array","items":{"type":"string","enum":["workspace:read","agent:read","agent:write","knowledge_source:read","knowledge_source:write","public_chat:read","public_chat:write","widget:read","widget:write","support:read","content:read","support:write","content:write","content:approve","content:schedule","content:publish","content:connections"]}},"lastUsedAt":{"type":["number","null"]},"createdAt":{"type":"number"},"revokedAt":{"type":["number","null"]},"rotatedFromId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]}},"required":["id","workspaceId","name","keyPrefix","preset","scopes","lastUsedAt","createdAt","revokedAt","rotatedFromId"],"additionalProperties":false}}},"required":["apiKeys"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

knowledge-source list

  • Operation ID: knowledge_source.list
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/knowledge-sources/list
  • MCP: list_knowledge — List Andy Knowledge Sources. List current Knowledge Sources for one Agent.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, agent_selection_required

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"agentId":{"type":"string","minLength":1},"cursor":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"pageSize":{"default":50,"type":"integer","minimum":1,"maximum":100}},"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"knowledgeSources":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"key":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"provenance":{"type":"object","properties":{"kind":{"type":"string","enum":["repository","url","manual"]},"uri":{"type":"string","minLength":1,"maxLength":2000}},"required":["kind","uri"],"additionalProperties":false},"revision":{"type":"string","minLength":1},"digest":{"type":"string","pattern":"^sha256:[a-f0-9]{64}$"},"required":{"type":"boolean"},"importedAt":{"type":"number"},"state":{"type":"string","enum":["pending","processing","active","failed","replacing"]},"activeRevision":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1},"revision":{"type":"string","minLength":1},"digest":{"type":"string","pattern":"^sha256:[a-f0-9]{64}$"},"state":{"type":"string","enum":["pending","processing","active","failed"]},"importedAt":{"type":"number"},"errorCode":{"type":["string","null"]}},"required":["id","revision","digest","state","importedAt","errorCode"],"additionalProperties":false},{"type":"null"}]},"pendingRevision":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1},"revision":{"type":"string","minLength":1},"digest":{"type":"string","pattern":"^sha256:[a-f0-9]{64}$"},"state":{"type":"string","enum":["pending","processing","active","failed"]},"importedAt":{"type":"number"},"errorCode":{"type":["string","null"]}},"required":["id","revision","digest","state","importedAt","errorCode"],"additionalProperties":false},{"type":"null"}]}},"required":["id","workspaceId","agentId","key","title","provenance","revision","digest","required","importedAt","state","activeRevision","pendingRevision"],"additionalProperties":false}}},"required":["knowledgeSources"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

knowledge-source inspect

  • Operation ID: knowledge_source.inspect
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/knowledge-sources/inspect
  • MCP: list_knowledge — Inspect an Andy Knowledge Source. Inspect one Knowledge Source and its safe active and pending revision state.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, agent_selection_required

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"agentId":{"type":"string","minLength":1},"sourceId":{"type":"string","minLength":1}},"required":["sourceId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"knowledgeSource":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"key":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"provenance":{"type":"object","properties":{"kind":{"type":"string","enum":["repository","url","manual"]},"uri":{"type":"string","minLength":1,"maxLength":2000}},"required":["kind","uri"],"additionalProperties":false},"revision":{"type":"string","minLength":1},"digest":{"type":"string","pattern":"^sha256:[a-f0-9]{64}$"},"required":{"type":"boolean"},"importedAt":{"type":"number"},"state":{"type":"string","enum":["pending","processing","active","failed","replacing"]},"activeRevision":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1},"revision":{"type":"string","minLength":1},"digest":{"type":"string","pattern":"^sha256:[a-f0-9]{64}$"},"state":{"type":"string","enum":["pending","processing","active","failed"]},"importedAt":{"type":"number"},"errorCode":{"type":["string","null"]}},"required":["id","revision","digest","state","importedAt","errorCode"],"additionalProperties":false},{"type":"null"}]},"pendingRevision":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1},"revision":{"type":"string","minLength":1},"digest":{"type":"string","pattern":"^sha256:[a-f0-9]{64}$"},"state":{"type":"string","enum":["pending","processing","active","failed"]},"importedAt":{"type":"number"},"errorCode":{"type":["string","null"]}},"required":["id","revision","digest","state","importedAt","errorCode"],"additionalProperties":false},{"type":"null"}]}},"required":["id","workspaceId","agentId","key","title","provenance","revision","digest","required","importedAt","state","activeRevision","pendingRevision"],"additionalProperties":false}},"required":["knowledgeSource"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

knowledge-source add

  • Operation ID: knowledge_source.add
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/knowledge-sources/add
  • MCP: add_knowledge — Add an Andy Knowledge Source. Add one reviewed, content-addressed Knowledge Source to an Agent. digest is optional: omitted, Andy computes it from the exact content; a supplied digest must match.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, limit_exceeded, idempotency_conflict, agent_selection_required

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":160},"title":{"type":"string","minLength":1,"maxLength":240},"provenance":{"type":"object","properties":{"kind":{"type":"string","enum":["repository","url","manual"]},"uri":{"type":"string","minLength":1,"maxLength":2000}},"required":["kind","uri"]},"revision":{"type":"string","minLength":1,"maxLength":200},"digest":{"type":"string","pattern":"^sha256:[a-f0-9]{64}$"},"required":{"default":true,"type":"boolean"},"content":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["key","title","provenance","revision","content"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"knowledgeSource":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"key":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"provenance":{"type":"object","properties":{"kind":{"type":"string","enum":["repository","url","manual"]},"uri":{"type":"string","minLength":1,"maxLength":2000}},"required":["kind","uri"],"additionalProperties":false},"revision":{"type":"string","minLength":1},"digest":{"type":"string","pattern":"^sha256:[a-f0-9]{64}$"},"required":{"type":"boolean"},"importedAt":{"type":"number"},"state":{"type":"string","enum":["pending","processing","active","failed","replacing"]},"activeRevision":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1},"revision":{"type":"string","minLength":1},"digest":{"type":"string","pattern":"^sha256:[a-f0-9]{64}$"},"state":{"type":"string","enum":["pending","processing","active","failed"]},"importedAt":{"type":"number"},"errorCode":{"type":["string","null"]}},"required":["id","revision","digest","state","importedAt","errorCode"],"additionalProperties":false},{"type":"null"}]},"pendingRevision":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1},"revision":{"type":"string","minLength":1},"digest":{"type":"string","pattern":"^sha256:[a-f0-9]{64}$"},"state":{"type":"string","enum":["pending","processing","active","failed"]},"importedAt":{"type":"number"},"errorCode":{"type":["string","null"]}},"required":["id","revision","digest","state","importedAt","errorCode"],"additionalProperties":false},{"type":"null"}]}},"required":["id","workspaceId","agentId","key","title","provenance","revision","digest","required","importedAt","state","activeRevision","pendingRevision"],"additionalProperties":false}},"required":["knowledgeSource"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

knowledge-source wait

  • Operation ID: knowledge_source.wait
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/knowledge-sources/wait
  • MCP: not exposed on MCP — Observe Andy Knowledge Source processing. Return current processing state and bounded retry guidance without holding the server request open.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, processing_failed, processing_timeout

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"agentId":{"type":"string","minLength":1},"sourceId":{"type":"string","minLength":1}},"required":["agentId","sourceId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"knowledgeSource":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"key":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"provenance":{"type":"object","properties":{"kind":{"type":"string","enum":["repository","url","manual"]},"uri":{"type":"string","minLength":1,"maxLength":2000}},"required":["kind","uri"],"additionalProperties":false},"revision":{"type":"string","minLength":1},"digest":{"type":"string","pattern":"^sha256:[a-f0-9]{64}$"},"required":{"type":"boolean"},"importedAt":{"type":"number"},"state":{"type":"string","enum":["pending","processing","active","failed","replacing"]},"activeRevision":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1},"revision":{"type":"string","minLength":1},"digest":{"type":"string","pattern":"^sha256:[a-f0-9]{64}$"},"state":{"type":"string","enum":["pending","processing","active","failed"]},"importedAt":{"type":"number"},"errorCode":{"type":["string","null"]}},"required":["id","revision","digest","state","importedAt","errorCode"],"additionalProperties":false},{"type":"null"}]},"pendingRevision":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1},"revision":{"type":"string","minLength":1},"digest":{"type":"string","pattern":"^sha256:[a-f0-9]{64}$"},"state":{"type":"string","enum":["pending","processing","active","failed"]},"importedAt":{"type":"number"},"errorCode":{"type":["string","null"]}},"required":["id","revision","digest","state","importedAt","errorCode"],"additionalProperties":false},{"type":"null"}]}},"required":["id","workspaceId","agentId","key","title","provenance","revision","digest","required","importedAt","state","activeRevision","pendingRevision"],"additionalProperties":false},"terminal":{"type":"boolean"},"retryAfterMs":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["knowledgeSource","terminal","retryAfterMs"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

knowledge-source reconcile

  • Operation ID: knowledge_source.reconcile
  • Authentication: workspace_api_key
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/knowledge-sources/reconcile
  • MCP: not exposed on MCP — Reconcile Andy Knowledge Sources. Plan or apply one versioned desired-state Knowledge Source manifest; omission is non-destructive.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, limit_exceeded, confirmation_required, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"agentId":{"type":"string","minLength":1},"manifest":{"type":"object","properties":{"version":{"type":"string","const":"1"},"sources":{"maxItems":100,"type":"array","items":{"anyOf":[{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":160},"title":{"type":"string","minLength":1,"maxLength":240},"provenance":{"type":"object","properties":{"kind":{"type":"string","enum":["repository","url","manual"]},"uri":{"type":"string","minLength":1,"maxLength":2000}},"required":["kind","uri"]},"revision":{"type":"string","minLength":1,"maxLength":200},"digest":{"type":"string","pattern":"^sha256:[a-f0-9]{64}$"},"required":{"default":true,"type":"boolean"},"content":{"type":"string","minLength":1},"tombstone":{"type":"boolean","const":false}},"required":["key","title","provenance","revision","digest","content"]},{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":160},"tombstone":{"type":"boolean","const":true},"confirm":{"type":"string","minLength":1}},"required":["key","tombstone"],"additionalProperties":false}]}}},"required":["version","sources"],"additionalProperties":false},"dryRun":{"default":true,"type":"boolean"},"prune":{"default":false,"type":"boolean"},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["agentId","manifest"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"runId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"status":{"type":"string","enum":["planned","applying","completed","failed"]},"dryRun":{"type":"boolean"},"checkpoint":{"type":"integer","minimum":0,"maximum":9007199254740991},"errorCode":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"plan":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1},"sourceId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"action":{"type":"string","enum":["add","noop","replace","delete"]}},"required":["key","sourceId","action"],"additionalProperties":false}},"knowledgeSources":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"key":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"provenance":{"type":"object","properties":{"kind":{"type":"string","enum":["repository","url","manual"]},"uri":{"type":"string","minLength":1,"maxLength":2000}},"required":["kind","uri"],"additionalProperties":false},"revision":{"type":"string","minLength":1},"digest":{"type":"string","pattern":"^sha256:[a-f0-9]{64}$"},"required":{"type":"boolean"},"importedAt":{"type":"number"},"state":{"type":"string","enum":["pending","processing","active","failed","replacing"]},"activeRevision":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1},"revision":{"type":"string","minLength":1},"digest":{"type":"string","pattern":"^sha256:[a-f0-9]{64}$"},"state":{"type":"string","enum":["pending","processing","active","failed"]},"importedAt":{"type":"number"},"errorCode":{"type":["string","null"]}},"required":["id","revision","digest","state","importedAt","errorCode"],"additionalProperties":false},{"type":"null"}]},"pendingRevision":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1},"revision":{"type":"string","minLength":1},"digest":{"type":"string","pattern":"^sha256:[a-f0-9]{64}$"},"state":{"type":"string","enum":["pending","processing","active","failed"]},"importedAt":{"type":"number"},"errorCode":{"type":["string","null"]}},"required":["id","revision","digest","state","importedAt","errorCode"],"additionalProperties":false},{"type":"null"}]}},"required":["id","workspaceId","agentId","key","title","provenance","revision","digest","required","importedAt","state","activeRevision","pendingRevision"],"additionalProperties":false}}},"required":["runId","status","dryRun","checkpoint","errorCode","plan","knowledgeSources"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

knowledge-source replace

  • Operation ID: knowledge_source.replace
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/knowledge-sources/replace
  • MCP: replace_knowledge — Replace an Andy Knowledge Source. Privately process a replacement revision while retaining last-good Knowledge. digest is optional: omitted, Andy computes it from the exact content; a supplied digest must match.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, limit_exceeded, idempotency_conflict, agent_selection_required

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":240},"provenance":{"type":"object","properties":{"kind":{"type":"string","enum":["repository","url","manual"]},"uri":{"type":"string","minLength":1,"maxLength":2000}},"required":["kind","uri"]},"revision":{"type":"string","minLength":1,"maxLength":200},"digest":{"type":"string","pattern":"^sha256:[a-f0-9]{64}$"},"required":{"default":true,"type":"boolean"},"content":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"sourceId":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["title","provenance","revision","content","sourceId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"knowledgeSource":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"key":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"provenance":{"type":"object","properties":{"kind":{"type":"string","enum":["repository","url","manual"]},"uri":{"type":"string","minLength":1,"maxLength":2000}},"required":["kind","uri"],"additionalProperties":false},"revision":{"type":"string","minLength":1},"digest":{"type":"string","pattern":"^sha256:[a-f0-9]{64}$"},"required":{"type":"boolean"},"importedAt":{"type":"number"},"state":{"type":"string","enum":["pending","processing","active","failed","replacing"]},"activeRevision":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1},"revision":{"type":"string","minLength":1},"digest":{"type":"string","pattern":"^sha256:[a-f0-9]{64}$"},"state":{"type":"string","enum":["pending","processing","active","failed"]},"importedAt":{"type":"number"},"errorCode":{"type":["string","null"]}},"required":["id","revision","digest","state","importedAt","errorCode"],"additionalProperties":false},{"type":"null"}]},"pendingRevision":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1},"revision":{"type":"string","minLength":1},"digest":{"type":"string","pattern":"^sha256:[a-f0-9]{64}$"},"state":{"type":"string","enum":["pending","processing","active","failed"]},"importedAt":{"type":"number"},"errorCode":{"type":["string","null"]}},"required":["id","revision","digest","state","importedAt","errorCode"],"additionalProperties":false},{"type":"null"}]}},"required":["id","workspaceId","agentId","key","title","provenance","revision","digest","required","importedAt","state","activeRevision","pendingRevision"],"additionalProperties":false}},"required":["knowledgeSource"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

knowledge-source delete

  • Operation ID: knowledge_source.delete
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/knowledge-sources/delete
  • MCP: delete_knowledge — Delete an Andy Knowledge Source. Delete one Knowledge Source only with explicit tombstone and prune intent plus exact-ID confirmation.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, confirmation_required, idempotency_conflict, agent_selection_required

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"agentId":{"type":"string","minLength":1},"sourceId":{"type":"string","minLength":1},"tombstone":{"type":"boolean"},"prune":{"type":"boolean"},"confirm":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["sourceId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1},"deleted":{"type":"boolean","const":true}},"required":["sourceId","deleted"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

public-chat inspect

  • Operation ID: public_chat.inspect
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/public-chats/inspect
  • MCP: not exposed on MCP — Inspect Andy Public Chat. Inspect Public Chat state and its stable URL for one Agent.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"agentId":{"type":"string","minLength":1}},"required":["agentId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"publicChat":{"type":"object","properties":{"agentId":{"type":"string","minLength":1},"enabled":{"type":"boolean"},"url":{"type":"string","format":"uri"},"website":{"type":["string","null"]},"demo":{"default":false,"type":"boolean"}},"required":["agentId","enabled","url","website","demo"],"additionalProperties":false}},"required":["publicChat"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

public-chat enable

  • Operation ID: public_chat.enable
  • Authentication: workspace_api_key
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/public-chats/enable
  • MCP: manage_widget (action enable_public_chat) — Enable Andy Public Chat. Enable Public Chat for one exactly selected Agent. website sets the site its answers come from, which the Public Link names. demo marks a demo link: a bar at the top of the page invites the business owner to create an account from the first visit. Omitted, each keeps its current value.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, processing_failed, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"agentId":{"type":"string","minLength":1},"website":{"type":["string","null"]},"demo":{"type":"boolean"},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["agentId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"publicChat":{"type":"object","properties":{"agentId":{"type":"string","minLength":1},"enabled":{"type":"boolean"},"url":{"type":"string","format":"uri"},"website":{"type":["string","null"]},"demo":{"default":false,"type":"boolean"}},"required":["agentId","enabled","url","website","demo"],"additionalProperties":false}},"required":["publicChat"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

public-chat disable

  • Operation ID: public_chat.disable
  • Authentication: workspace_api_key
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/public-chats/disable
  • MCP: not exposed on MCP — Disable Andy Public Chat. Disable Public Chat after exact Agent-ID confirmation.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, confirmation_required, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"agentId":{"type":"string","minLength":1},"confirm":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["agentId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"publicChat":{"type":"object","properties":{"agentId":{"type":"string","minLength":1},"enabled":{"type":"boolean"},"url":{"type":"string","format":"uri"},"website":{"type":["string","null"]},"demo":{"default":false,"type":"boolean"}},"required":["agentId","enabled","url","website","demo"],"additionalProperties":false}},"required":["publicChat"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

public-chat url

  • Operation ID: public_chat.url
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/public-chats/url
  • MCP: not exposed on MCP — Resolve Andy Public Chat URL. Return the stable Public Chat URL for one Agent.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"agentId":{"type":"string","minLength":1}},"required":["agentId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"agentId":{"type":"string","minLength":1},"url":{"type":"string","format":"uri"}},"required":["agentId","url"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

widget inspect

  • Operation ID: widget.inspect
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/widgets/inspect
  • MCP: manage_widget (action inspect) — Inspect Andy Widget configuration. Inspect the effective canonical Widget configuration for one Agent.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"agentId":{"type":"string","minLength":1}},"required":["agentId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"agentId":{"type":"string","minLength":1},"configuration":{"type":"object","properties":{"allowedOrigins":{"maxItems":50,"type":"array","items":{"type":"string"}},"legacyAllowedDomains":{"type":"array","items":{"type":"string","minLength":1}},"legacyAllowsAnyOrigin":{"type":"boolean"},"showBranding":{"type":"boolean"},"defaultLanguage":{"type":"string","enum":["en","es"]},"website":{"type":["string","null"]},"appearance":{"type":"object","properties":{"welcomeMessage":{"type":"string"},"brandColor":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"theme":{"type":"string","enum":["light","dark","auto"]},"orientation":{"type":"string","enum":["left","right"]},"logoUrl":{"type":"string"},"bubbleStyle":{"type":"string","enum":["icon","pill"]},"bubbleLabel":{"type":["string","null"]},"useBrandColor":{"type":"boolean"}},"required":["welcomeMessage","brandColor","theme","orientation","logoUrl","bubbleStyle","bubbleLabel","useBrandColor"],"additionalProperties":false},"behavior":{"type":"object","properties":{"welcomePopup":{"type":"object","properties":{"enabled":{"type":"boolean"},"seconds":{"type":"number","minimum":0,"maximum":30},"message":{"type":"string"}},"required":["enabled","seconds","message"],"additionalProperties":false},"leadCapture":{"type":"object","properties":{"enabled":{"type":"boolean"},"contactEmail":{"anyOf":[{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},{"type":"string","const":""}]},"calendarLink":{"anyOf":[{"type":"string","format":"uri"},{"type":"string","const":""}]},"phoneNumber":{"type":"string"},"customMessage":{"type":"string"},"emailNotificationEnabled":{"type":"boolean"}},"required":["enabled","contactEmail","calendarLink","phoneNumber","customMessage","emailNotificationEnabled"],"additionalProperties":false},"predefinedQuestions":{"maxItems":4,"type":"array","items":{"type":"object","properties":{"question":{"type":"string","minLength":1},"order":{"type":"number"}},"required":["question"],"additionalProperties":false}}},"required":["welcomePopup","leadCapture","predefinedQuestions"],"additionalProperties":false},"widget":{"type":"object","properties":{"schemaVersion":{"type":"number","const":2},"identity":{"type":"object","properties":{"name":{"type":"string"},"avatarUrl":{"type":"string"}},"required":["name"],"additionalProperties":false},"conversation":{"type":"object","properties":{"greeting":{"type":"object","properties":{"es":{"type":"string"},"en":{"type":"string"}},"additionalProperties":false},"starters":{"type":"object","properties":{"es":{"type":"array","items":{"type":"string"}},"en":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"footerNote":{"type":"object","properties":{"es":{"type":"string"},"en":{"type":"string"}},"additionalProperties":false},"proactive":{"type":"object","properties":{"messages":{"type":"object","properties":{"es":{"type":"array","items":{"type":"string"}},"en":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"delaySeconds":{"type":"number"},"mobile":{"type":"boolean"}},"required":["messages","delaySeconds","mobile"],"additionalProperties":false}},"required":["greeting","starters"],"additionalProperties":false},"look":{"type":"object","properties":{"accent":{"type":"string"},"theme":{"type":"string","enum":["light","dark","auto"]},"header":{"type":"string","enum":["neutral","brand"]},"launcher":{"type":"object","properties":{"style":{"type":"string","enum":["icon","pill"]},"icon":{"type":"string","enum":["andy","logo"]},"label":{"type":"object","properties":{"es":{"type":"string"},"en":{"type":"string"}},"additionalProperties":false},"position":{"type":"string","enum":["left","right"]},"offsetY":{"type":"number"}},"required":["style","icon","position","offsetY"],"additionalProperties":false},"branding":{"type":"boolean"}},"required":["accent","theme","header","launcher","branding"],"additionalProperties":false},"defaultLang":{"type":"string","enum":["es","en"]}},"required":["schemaVersion","identity","conversation","look","defaultLang"],"additionalProperties":false,"description":"What the 3.x Widget shows, with the look's defaults resolved. Copy the Owner never wrote in a language is absent: the Widget shows the Agent's own copy, else its localized default. Copy the Owner cleared in a language is the default (Greeting, launcher label) or empty (\"\" or []), which shows nothing. Read-only: change it with a `configuration.widget` patch, which takes per-language copy and one Proactive Message string per language, and stores every value it is sent."}},"required":["allowedOrigins","legacyAllowedDomains","legacyAllowsAnyOrigin","showBranding","defaultLanguage","website","appearance","behavior","widget"],"additionalProperties":false}},"required":["agentId","configuration"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

widget configure

  • Operation ID: widget.configure
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/widgets/configure
  • MCP: manage_widget (action configure) — Configure Andy Widget. Configure exact allowed origins and the Agent-owned Widget fields. widget changes the v2 Widget config (per-language copy, look and Launcher) and writes only the fields given.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, processing_failed, confirmation_required, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"agentId":{"type":"string","minLength":1},"configuration":{"type":"object","properties":{"allowedOrigins":{"maxItems":50,"type":"array","items":{"type":"string"}},"confirmRemovedOrigins":{"type":"array","items":{"type":"string","minLength":1}},"showBranding":{"type":"boolean"},"defaultLanguage":{"description":"The Agent's default language, as in agent.configure. Copy already written in each language stays in that language.","type":"string","enum":["en","es"]},"website":{"type":["string","null"]},"appearance":{"type":"object","properties":{"welcomeMessage":{"type":"string","maxLength":500},"brandColor":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"theme":{"type":"string","enum":["light","dark","auto"]},"orientation":{"type":"string","enum":["left","right"]},"logoUrl":{"type":"string"},"bubbleStyle":{"type":"string","enum":["icon","pill"]},"bubbleLabel":{"type":["string","null"]},"useBrandColor":{"type":"boolean"}}},"behavior":{"type":"object","properties":{"welcomePopup":{"type":"object","properties":{"enabled":{"type":"boolean"},"seconds":{"type":"number","minimum":0,"maximum":30},"message":{"type":"string"}}},"leadCapture":{"type":"object","properties":{"enabled":{"type":"boolean"},"contactEmail":{"anyOf":[{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},{"type":"string","const":""}]},"calendarLink":{"anyOf":[{"type":"string","format":"uri"},{"type":"string","const":""}]},"phoneNumber":{"type":"string"},"customMessage":{"type":"string"},"emailNotificationEnabled":{"type":"boolean"}}},"predefinedQuestions":{"maxItems":4,"type":"array","items":{"type":"object","properties":{"question":{"type":"string","minLength":1,"maxLength":80},"order":{"type":"number"}},"required":["question"]}}},"additionalProperties":false},"widget":{"type":"object","properties":{"identity":{"type":"object","properties":{"name":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"description":"Display name, the panel's title. Empty shows the Agent's name."}},"additionalProperties":false},"conversation":{"type":"object","properties":{"greeting":{"type":"object","properties":{"es":{"type":"string","maxLength":500},"en":{"type":"string","maxLength":500}},"additionalProperties":false},"starters":{"type":"object","properties":{"es":{"maxItems":4,"type":"array","items":{"type":"string","maxLength":80}},"en":{"maxItems":4,"type":"array","items":{"type":"string","maxLength":80}}},"additionalProperties":false},"footerNote":{"type":"object","properties":{"es":{"type":"string","maxLength":120},"en":{"type":"string","maxLength":120}},"additionalProperties":false},"proactive":{"type":"object","properties":{"enabled":{"type":"boolean"},"message":{"type":"object","properties":{"es":{"type":"string"},"en":{"type":"string"}},"additionalProperties":false},"delaySeconds":{"anyOf":[{"type":"number","minimum":0,"maximum":30},{"type":"null"}]},"mobile":{"type":"boolean"}},"additionalProperties":false}},"additionalProperties":false},"look":{"type":"object","properties":{"accent":{"anyOf":[{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},{"type":"null"}]},"theme":{"anyOf":[{"type":"string","enum":["light","dark","auto"]},{"type":"null"}]},"header":{"anyOf":[{"type":"string","enum":["neutral","brand"]},{"type":"null"}]},"launcher":{"type":"object","properties":{"style":{"anyOf":[{"type":"string","enum":["icon","pill"]},{"type":"null"}]},"icon":{"anyOf":[{"type":"string","enum":["andy","logo"]},{"type":"null"}]},"label":{"type":"object","properties":{"es":{"type":"string","maxLength":30},"en":{"type":"string","maxLength":30}},"additionalProperties":false},"position":{"anyOf":[{"type":"string","enum":["left","right"]},{"type":"null"}]},"offsetY":{"anyOf":[{"type":"integer","minimum":0,"maximum":160},{"type":"null"}]}},"additionalProperties":false},"branding":{"type":"boolean","description":"\"Powered by Andy\"; hiding it needs a plan with custom branding."}},"additionalProperties":false}},"additionalProperties":false},"logoMediaAssetId":{"description":"A PNG or JPEG Media Asset id from manage_media, up to 2097152 bytes, becomes the Agent's logo; null removes it. A Support Agent's Widget never shows a logo.","anyOf":[{"type":"string","minLength":1},{"type":"null"}]}},"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["agentId","configuration"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"agentId":{"type":"string","minLength":1},"configuration":{"type":"object","properties":{"allowedOrigins":{"maxItems":50,"type":"array","items":{"type":"string"}},"legacyAllowedDomains":{"type":"array","items":{"type":"string","minLength":1}},"legacyAllowsAnyOrigin":{"type":"boolean"},"showBranding":{"type":"boolean"},"defaultLanguage":{"type":"string","enum":["en","es"]},"website":{"type":["string","null"]},"appearance":{"type":"object","properties":{"welcomeMessage":{"type":"string"},"brandColor":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"theme":{"type":"string","enum":["light","dark","auto"]},"orientation":{"type":"string","enum":["left","right"]},"logoUrl":{"type":"string"},"bubbleStyle":{"type":"string","enum":["icon","pill"]},"bubbleLabel":{"type":["string","null"]},"useBrandColor":{"type":"boolean"}},"required":["welcomeMessage","brandColor","theme","orientation","logoUrl","bubbleStyle","bubbleLabel","useBrandColor"],"additionalProperties":false},"behavior":{"type":"object","properties":{"welcomePopup":{"type":"object","properties":{"enabled":{"type":"boolean"},"seconds":{"type":"number","minimum":0,"maximum":30},"message":{"type":"string"}},"required":["enabled","seconds","message"],"additionalProperties":false},"leadCapture":{"type":"object","properties":{"enabled":{"type":"boolean"},"contactEmail":{"anyOf":[{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},{"type":"string","const":""}]},"calendarLink":{"anyOf":[{"type":"string","format":"uri"},{"type":"string","const":""}]},"phoneNumber":{"type":"string"},"customMessage":{"type":"string"},"emailNotificationEnabled":{"type":"boolean"}},"required":["enabled","contactEmail","calendarLink","phoneNumber","customMessage","emailNotificationEnabled"],"additionalProperties":false},"predefinedQuestions":{"maxItems":4,"type":"array","items":{"type":"object","properties":{"question":{"type":"string","minLength":1},"order":{"type":"number"}},"required":["question"],"additionalProperties":false}}},"required":["welcomePopup","leadCapture","predefinedQuestions"],"additionalProperties":false},"widget":{"type":"object","properties":{"schemaVersion":{"type":"number","const":2},"identity":{"type":"object","properties":{"name":{"type":"string"},"avatarUrl":{"type":"string"}},"required":["name"],"additionalProperties":false},"conversation":{"type":"object","properties":{"greeting":{"type":"object","properties":{"es":{"type":"string"},"en":{"type":"string"}},"additionalProperties":false},"starters":{"type":"object","properties":{"es":{"type":"array","items":{"type":"string"}},"en":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"footerNote":{"type":"object","properties":{"es":{"type":"string"},"en":{"type":"string"}},"additionalProperties":false},"proactive":{"type":"object","properties":{"messages":{"type":"object","properties":{"es":{"type":"array","items":{"type":"string"}},"en":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"delaySeconds":{"type":"number"},"mobile":{"type":"boolean"}},"required":["messages","delaySeconds","mobile"],"additionalProperties":false}},"required":["greeting","starters"],"additionalProperties":false},"look":{"type":"object","properties":{"accent":{"type":"string"},"theme":{"type":"string","enum":["light","dark","auto"]},"header":{"type":"string","enum":["neutral","brand"]},"launcher":{"type":"object","properties":{"style":{"type":"string","enum":["icon","pill"]},"icon":{"type":"string","enum":["andy","logo"]},"label":{"type":"object","properties":{"es":{"type":"string"},"en":{"type":"string"}},"additionalProperties":false},"position":{"type":"string","enum":["left","right"]},"offsetY":{"type":"number"}},"required":["style","icon","position","offsetY"],"additionalProperties":false},"branding":{"type":"boolean"}},"required":["accent","theme","header","launcher","branding"],"additionalProperties":false},"defaultLang":{"type":"string","enum":["es","en"]}},"required":["schemaVersion","identity","conversation","look","defaultLang"],"additionalProperties":false,"description":"What the 3.x Widget shows, with the look's defaults resolved. Copy the Owner never wrote in a language is absent: the Widget shows the Agent's own copy, else its localized default. Copy the Owner cleared in a language is the default (Greeting, launcher label) or empty (\"\" or []), which shows nothing. Read-only: change it with a `configuration.widget` patch, which takes per-language copy and one Proactive Message string per language, and stores every value it is sent."}},"required":["allowedOrigins","legacyAllowedDomains","legacyAllowsAnyOrigin","showBranding","defaultLanguage","website","appearance","behavior","widget"],"additionalProperties":false}},"required":["agentId","configuration"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

widget manifest

  • Operation ID: widget.manifest
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/widgets/manifest
  • MCP: not exposed on MCP — Resolve Andy Widget integration manifest. Return the Workspace, Agent, pinned package contract, effective configuration, and Public Chat state without secrets.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"agentId":{"type":"string","minLength":1}},"required":["agentId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"workspace":{"type":"object","properties":{"id":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1}},"required":["id","slug"],"additionalProperties":false},"agent":{"type":"object","properties":{"id":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1}},"required":["id","slug"],"additionalProperties":false},"package":{"type":"object","properties":{"packageName":{"type":"string","const":"andy-widget-react"},"version":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$"},"component":{"type":"string","const":"AndyChat"},"agentIdProp":{"type":"string","const":"embedId"}},"required":["packageName","version","component","agentIdProp"],"additionalProperties":false},"configuration":{"type":"object","properties":{"allowedOrigins":{"maxItems":50,"type":"array","items":{"type":"string"}},"legacyAllowedDomains":{"type":"array","items":{"type":"string","minLength":1}},"legacyAllowsAnyOrigin":{"type":"boolean"},"showBranding":{"type":"boolean"},"defaultLanguage":{"type":"string","enum":["en","es"]},"website":{"type":["string","null"]},"appearance":{"type":"object","properties":{"welcomeMessage":{"type":"string"},"brandColor":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"theme":{"type":"string","enum":["light","dark","auto"]},"orientation":{"type":"string","enum":["left","right"]},"logoUrl":{"type":"string"},"bubbleStyle":{"type":"string","enum":["icon","pill"]},"bubbleLabel":{"type":["string","null"]},"useBrandColor":{"type":"boolean"}},"required":["welcomeMessage","brandColor","theme","orientation","logoUrl","bubbleStyle","bubbleLabel","useBrandColor"],"additionalProperties":false},"behavior":{"type":"object","properties":{"welcomePopup":{"type":"object","properties":{"enabled":{"type":"boolean"},"seconds":{"type":"number","minimum":0,"maximum":30},"message":{"type":"string"}},"required":["enabled","seconds","message"],"additionalProperties":false},"leadCapture":{"type":"object","properties":{"enabled":{"type":"boolean"},"contactEmail":{"anyOf":[{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},{"type":"string","const":""}]},"calendarLink":{"anyOf":[{"type":"string","format":"uri"},{"type":"string","const":""}]},"phoneNumber":{"type":"string"},"customMessage":{"type":"string"},"emailNotificationEnabled":{"type":"boolean"}},"required":["enabled","contactEmail","calendarLink","phoneNumber","customMessage","emailNotificationEnabled"],"additionalProperties":false},"predefinedQuestions":{"maxItems":4,"type":"array","items":{"type":"object","properties":{"question":{"type":"string","minLength":1},"order":{"type":"number"}},"required":["question"],"additionalProperties":false}}},"required":["welcomePopup","leadCapture","predefinedQuestions"],"additionalProperties":false},"widget":{"type":"object","properties":{"schemaVersion":{"type":"number","const":2},"identity":{"type":"object","properties":{"name":{"type":"string"},"avatarUrl":{"type":"string"}},"required":["name"],"additionalProperties":false},"conversation":{"type":"object","properties":{"greeting":{"type":"object","properties":{"es":{"type":"string"},"en":{"type":"string"}},"additionalProperties":false},"starters":{"type":"object","properties":{"es":{"type":"array","items":{"type":"string"}},"en":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"footerNote":{"type":"object","properties":{"es":{"type":"string"},"en":{"type":"string"}},"additionalProperties":false},"proactive":{"type":"object","properties":{"messages":{"type":"object","properties":{"es":{"type":"array","items":{"type":"string"}},"en":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"delaySeconds":{"type":"number"},"mobile":{"type":"boolean"}},"required":["messages","delaySeconds","mobile"],"additionalProperties":false}},"required":["greeting","starters"],"additionalProperties":false},"look":{"type":"object","properties":{"accent":{"type":"string"},"theme":{"type":"string","enum":["light","dark","auto"]},"header":{"type":"string","enum":["neutral","brand"]},"launcher":{"type":"object","properties":{"style":{"type":"string","enum":["icon","pill"]},"icon":{"type":"string","enum":["andy","logo"]},"label":{"type":"object","properties":{"es":{"type":"string"},"en":{"type":"string"}},"additionalProperties":false},"position":{"type":"string","enum":["left","right"]},"offsetY":{"type":"number"}},"required":["style","icon","position","offsetY"],"additionalProperties":false},"branding":{"type":"boolean"}},"required":["accent","theme","header","launcher","branding"],"additionalProperties":false},"defaultLang":{"type":"string","enum":["es","en"]}},"required":["schemaVersion","identity","conversation","look","defaultLang"],"additionalProperties":false,"description":"What the 3.x Widget shows, with the look's defaults resolved. Copy the Owner never wrote in a language is absent: the Widget shows the Agent's own copy, else its localized default. Copy the Owner cleared in a language is the default (Greeting, launcher label) or empty (\"\" or []), which shows nothing. Read-only: change it with a `configuration.widget` patch, which takes per-language copy and one Proactive Message string per language, and stores every value it is sent."}},"required":["allowedOrigins","legacyAllowedDomains","legacyAllowsAnyOrigin","showBranding","defaultLanguage","website","appearance","behavior","widget"],"additionalProperties":false},"publicChat":{"type":"object","properties":{"agentId":{"type":"string","minLength":1},"enabled":{"type":"boolean"},"url":{"type":"string","format":"uri"},"website":{"type":["string","null"]},"demo":{"default":false,"type":"boolean"}},"required":["agentId","enabled","url","website","demo"],"additionalProperties":false}},"required":["workspace","agent","package","configuration","publicChat"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

widget verify

  • Operation ID: widget.verify
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/widgets/verify
  • MCP: not exposed on MCP — Verify an Andy Widget integration. Verify Agent/configuration/origin/Knowledge/Public Chat and execute one real public answer, consuming one conversation and quota unit.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, processing_failed

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"agentId":{"type":"string","minLength":1},"origin":{"type":"string"},"question":{"default":"What can you help me with?","type":"string","minLength":1,"maxLength":2000}},"required":["agentId","origin"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"agentId":{"type":"string","minLength":1},"origin":{"type":"string"},"configuration":{"type":"object","properties":{"allowedOrigins":{"maxItems":50,"type":"array","items":{"type":"string"}},"legacyAllowedDomains":{"type":"array","items":{"type":"string","minLength":1}},"legacyAllowsAnyOrigin":{"type":"boolean"},"showBranding":{"type":"boolean"},"defaultLanguage":{"type":"string","enum":["en","es"]},"website":{"type":["string","null"]},"appearance":{"type":"object","properties":{"welcomeMessage":{"type":"string"},"brandColor":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"theme":{"type":"string","enum":["light","dark","auto"]},"orientation":{"type":"string","enum":["left","right"]},"logoUrl":{"type":"string"},"bubbleStyle":{"type":"string","enum":["icon","pill"]},"bubbleLabel":{"type":["string","null"]},"useBrandColor":{"type":"boolean"}},"required":["welcomeMessage","brandColor","theme","orientation","logoUrl","bubbleStyle","bubbleLabel","useBrandColor"],"additionalProperties":false},"behavior":{"type":"object","properties":{"welcomePopup":{"type":"object","properties":{"enabled":{"type":"boolean"},"seconds":{"type":"number","minimum":0,"maximum":30},"message":{"type":"string"}},"required":["enabled","seconds","message"],"additionalProperties":false},"leadCapture":{"type":"object","properties":{"enabled":{"type":"boolean"},"contactEmail":{"anyOf":[{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},{"type":"string","const":""}]},"calendarLink":{"anyOf":[{"type":"string","format":"uri"},{"type":"string","const":""}]},"phoneNumber":{"type":"string"},"customMessage":{"type":"string"},"emailNotificationEnabled":{"type":"boolean"}},"required":["enabled","contactEmail","calendarLink","phoneNumber","customMessage","emailNotificationEnabled"],"additionalProperties":false},"predefinedQuestions":{"maxItems":4,"type":"array","items":{"type":"object","properties":{"question":{"type":"string","minLength":1},"order":{"type":"number"}},"required":["question"],"additionalProperties":false}}},"required":["welcomePopup","leadCapture","predefinedQuestions"],"additionalProperties":false},"widget":{"type":"object","properties":{"schemaVersion":{"type":"number","const":2},"identity":{"type":"object","properties":{"name":{"type":"string"},"avatarUrl":{"type":"string"}},"required":["name"],"additionalProperties":false},"conversation":{"type":"object","properties":{"greeting":{"type":"object","properties":{"es":{"type":"string"},"en":{"type":"string"}},"additionalProperties":false},"starters":{"type":"object","properties":{"es":{"type":"array","items":{"type":"string"}},"en":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"footerNote":{"type":"object","properties":{"es":{"type":"string"},"en":{"type":"string"}},"additionalProperties":false},"proactive":{"type":"object","properties":{"messages":{"type":"object","properties":{"es":{"type":"array","items":{"type":"string"}},"en":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"delaySeconds":{"type":"number"},"mobile":{"type":"boolean"}},"required":["messages","delaySeconds","mobile"],"additionalProperties":false}},"required":["greeting","starters"],"additionalProperties":false},"look":{"type":"object","properties":{"accent":{"type":"string"},"theme":{"type":"string","enum":["light","dark","auto"]},"header":{"type":"string","enum":["neutral","brand"]},"launcher":{"type":"object","properties":{"style":{"type":"string","enum":["icon","pill"]},"icon":{"type":"string","enum":["andy","logo"]},"label":{"type":"object","properties":{"es":{"type":"string"},"en":{"type":"string"}},"additionalProperties":false},"position":{"type":"string","enum":["left","right"]},"offsetY":{"type":"number"}},"required":["style","icon","position","offsetY"],"additionalProperties":false},"branding":{"type":"boolean"}},"required":["accent","theme","header","launcher","branding"],"additionalProperties":false},"defaultLang":{"type":"string","enum":["es","en"]}},"required":["schemaVersion","identity","conversation","look","defaultLang"],"additionalProperties":false,"description":"What the 3.x Widget shows, with the look's defaults resolved. Copy the Owner never wrote in a language is absent: the Widget shows the Agent's own copy, else its localized default. Copy the Owner cleared in a language is the default (Greeting, launcher label) or empty (\"\" or []), which shows nothing. Read-only: change it with a `configuration.widget` patch, which takes per-language copy and one Proactive Message string per language, and stores every value it is sent."}},"required":["allowedOrigins","legacyAllowedDomains","legacyAllowsAnyOrigin","showBranding","defaultLanguage","website","appearance","behavior","widget"],"additionalProperties":false},"checks":{"type":"object","properties":{"agent":{"type":"boolean","const":true},"configuration":{"type":"boolean","const":true},"origin":{"type":"boolean","const":true},"knowledge":{"type":"boolean","const":true},"publicChat":{"type":"boolean","const":true},"answer":{"type":"boolean","const":true}},"required":["agent","configuration","origin","knowledge","publicChat","answer"],"additionalProperties":false},"answer":{"type":"string","minLength":1}},"required":["agentId","origin","configuration","checks","answer"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

channel list

  • Operation ID: channel.list
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: agent:read
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/channels/list
  • MCP: list_channels — List Andy Agent Channels. List every Channel of each Agent (or of one Agent with agentId): its lifecycle state, whether the Plan includes it, the next action Canales offers, and whether channel connect takes it.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required

Operation input schema (compact JSON, complete contract):

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

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"channels":{"type":"array","items":{"type":"object","properties":{"agentId":{"type":"string","minLength":1},"agentName":{"type":"string"},"provider":{"type":"string","minLength":1},"state":{"type":"string","enum":["available","unentitled","setup_started","deferred","connected","reauth_required","disconnected","archived"]},"entitled":{"type":"boolean"},"condition":{"anyOf":[{"type":"string","enum":["delivery_blocked"]},{"type":"null"}]},"nextAction":{"type":"object","properties":{"verb":{"type":["string","null"]},"destination":{"anyOf":[{"type":"string","enum":["channel_page","upgrade"]},{"type":"null"}]},"enabled":{"type":"boolean"}},"required":["verb","destination","enabled"],"additionalProperties":false},"connectable":{"type":"boolean"},"updatedAt":{"type":["number","null"]}},"required":["agentId","agentName","provider","state","entitled","nextAction","connectable","updatedAt"],"additionalProperties":false}}},"required":["channels"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

channel connect

  • Operation ID: channel.connect
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: agent:write
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/channels/connect
  • MCP: manage_channel (action connect) — Start connecting an Andy Agent Channel. Start (or resume) connecting one Channel of an Agent and return connectUrl, an Andy App link. The same User opens it in a browser: Andy signs them in if needed, then sends them to the provider to grant access. The Channel becomes connected only when the provider confirms it; read it back with channel list.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, agent_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"provider":{"type":"string","enum":["instagram","messenger","tiktok"]},"agentId":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["provider"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"channel":{"type":"object","properties":{"agentId":{"type":"string","minLength":1},"agentName":{"type":"string"},"provider":{"type":"string","minLength":1},"state":{"type":"string","enum":["available","unentitled","setup_started","deferred","connected","reauth_required","disconnected","archived"]},"entitled":{"type":"boolean"},"condition":{"anyOf":[{"type":"string","enum":["delivery_blocked"]},{"type":"null"}]},"nextAction":{"type":"object","properties":{"verb":{"type":["string","null"]},"destination":{"anyOf":[{"type":"string","enum":["channel_page","upgrade"]},{"type":"null"}]},"enabled":{"type":"boolean"}},"required":["verb","destination","enabled"],"additionalProperties":false},"connectable":{"type":"boolean"},"updatedAt":{"type":["number","null"]}},"required":["agentId","agentName","provider","state","entitled","nextAction","connectable","updatedAt"],"additionalProperties":false},"attemptId":{"type":"string","minLength":1},"connectUrl":{"type":"string","format":"uri"}},"required":["channel","attemptId","connectUrl"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

channel disconnect

  • Operation ID: channel.disconnect
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: agent:write
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/channels/disconnect
  • MCP: manage_channel (action disconnect) — Disconnect an Andy Agent Channel. Disconnect one Channel of an Agent after confirm: true. The Agent stops answering there and Andy drops the Channel's credentials; Conversations and Messages stay, and the account can be connected again with channel connect.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, agent_selection_required, permission_denied, resource_not_found, workspace_archived, confirmation_required, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"provider":{"type":"string","enum":["instagram","messenger","tiktok"]},"agentId":{"type":"string","minLength":1},"confirm":{"type":"boolean"},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["provider"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"channel":{"type":"object","properties":{"agentId":{"type":"string","minLength":1},"agentName":{"type":"string"},"provider":{"type":"string","minLength":1},"state":{"type":"string","enum":["available","unentitled","setup_started","deferred","connected","reauth_required","disconnected","archived"]},"entitled":{"type":"boolean"},"condition":{"anyOf":[{"type":"string","enum":["delivery_blocked"]},{"type":"null"}]},"nextAction":{"type":"object","properties":{"verb":{"type":["string","null"]},"destination":{"anyOf":[{"type":"string","enum":["channel_page","upgrade"]},{"type":"null"}]},"enabled":{"type":"boolean"}},"required":["verb","destination","enabled"],"additionalProperties":false},"connectable":{"type":"boolean"},"updatedAt":{"type":["number","null"]}},"required":["agentId","agentName","provider","state","entitled","nextAction","connectable","updatedAt"],"additionalProperties":false}},"required":["channel"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

content connection list

  • Operation ID: content.connection.list
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: content:connections
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/content/connections/list
  • MCP: list_connections — List Andy Content connections. List the current Platform Connection for each publish target, without credentials. Superseded and abandoned connections are not returned.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, workspace_archived, insufficient_scope

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"cursor":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"pageSize":{"default":50,"type":"integer","minimum":1,"maximum":100}},"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"connections":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"label":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"provider":{"type":"string","enum":["x","linkedin","instagram","tiktok"]},"status":{"type":"string","enum":["connected","disconnected","expired"]},"mode":{"type":"string","enum":["direct","draft_only","manual_export"]},"destination":{"type":"object","properties":{"externalAccountId":{"type":["string","null"]},"handle":{"type":["string","null"]},"targetType":{"anyOf":[{"type":"string","enum":["personal_profile","company_page"]},{"type":"null"}]},"organizationId":{"type":["string","null"]}},"required":["externalAccountId","handle","targetType","organizationId"],"additionalProperties":false},"scopes":{"type":"array","items":{"type":"string"}},"expiresAt":{"type":["number","null"]},"capabilities":{"type":"object","properties":{"canPublish":{"type":"boolean"},"canRefresh":{"default":false,"type":"boolean"},"canReadMetrics":{"type":"boolean"},"maxTextLength":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"formats":{"default":["text"],"type":"array","items":{"type":"string","enum":["text","article"]}}},"required":["canPublish","canRefresh","canReadMetrics","maxTextLength","formats"],"additionalProperties":false},"tiktokCreator":{"anyOf":[{"type":"object","properties":{"displayName":{"type":["string","null"]},"avatarUrl":{"type":["string","null"]},"privacyLevelOptions":{"type":"array","items":{"type":"string"}},"maxVideoDurationSec":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"commentDisabled":{"type":["boolean","null"]},"duetDisabled":{"type":["boolean","null"]},"stitchDisabled":{"type":["boolean","null"]},"fetchedAt":{"type":"number"},"checkedAt":{"type":["number","null"]},"checkPending":{"type":["number","null"]}},"required":["displayName","avatarUrl","privacyLevelOptions","maxVideoDurationSec","commentDisabled","duetDisabled","stitchDisabled","fetchedAt","checkedAt","checkPending"],"additionalProperties":false},{"type":"null"}]},"tiktokWorkspaceConsent":{"anyOf":[{"type":"object","properties":{"acceptedAt":{"type":"number"},"current":{"type":"boolean"}},"required":["acceptedAt","current"],"additionalProperties":false},{"type":"null"}]},"postingSchedule":{"default":null,"anyOf":[{"type":"object","properties":{"timeZone":{"type":"string","minLength":1,"maxLength":64},"slots":{"maxItems":70,"type":"array","items":{"type":"object","properties":{"day":{"type":"integer","minimum":0,"maximum":6},"time":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"}},"required":["day","time"],"additionalProperties":false}}},"required":["timeZone","slots"],"additionalProperties":false},{"type":"null"}]},"xCommunities":{"default":[],"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9]{1,19}$"},"name":{"type":"string","minLength":1,"maxLength":80},"addedAt":{"type":"number"}},"required":["id","name","addedAt"],"additionalProperties":false}},"slotGuard":{"default":null,"anyOf":[{"type":"object","properties":{"enabled":{"type":"boolean"},"timeZone":{"type":"string","minLength":1,"maxLength":64},"windows":{"maxItems":70,"type":"array","items":{"type":"object","properties":{"day":{"type":"integer","minimum":0,"maximum":6},"start":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"end":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"}},"required":["day","start","end"],"additionalProperties":false}},"minGapMinutes":{"type":"integer","minimum":0,"maximum":1440}},"required":["enabled","timeZone","windows","minGapMinutes"],"additionalProperties":false},{"type":"null"}]},"createdAt":{"type":"number"},"updatedAt":{"type":"number"}},"required":["id","label","workspaceId","agentId","provider","status","mode","destination","scopes","expiresAt","capabilities","tiktokCreator","tiktokWorkspaceConsent","postingSchedule","xCommunities","slotGuard","createdAt","updatedAt"],"additionalProperties":false}},"agentId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"availableProviders":{"type":"array","items":{"type":"string","enum":["x","linkedin","instagram","tiktok"]}}},"required":["connections","agentId","availableProviders"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

content connection show

  • Operation ID: content.connection.inspect
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: content:connections
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/content/connections/inspect
  • MCP: manage_connection (action inspect) — Inspect an Andy Content connection. Inspect one exact Platform Connection and its non-secret destination identity.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, insufficient_scope

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"connectionId":{"type":"string","minLength":1}},"required":["connectionId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"connection":{"type":"object","properties":{"id":{"type":"string","minLength":1},"label":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"provider":{"type":"string","enum":["x","linkedin","instagram","tiktok"]},"status":{"type":"string","enum":["connected","disconnected","expired"]},"mode":{"type":"string","enum":["direct","draft_only","manual_export"]},"destination":{"type":"object","properties":{"externalAccountId":{"type":["string","null"]},"handle":{"type":["string","null"]},"targetType":{"anyOf":[{"type":"string","enum":["personal_profile","company_page"]},{"type":"null"}]},"organizationId":{"type":["string","null"]}},"required":["externalAccountId","handle","targetType","organizationId"],"additionalProperties":false},"scopes":{"type":"array","items":{"type":"string"}},"expiresAt":{"type":["number","null"]},"capabilities":{"type":"object","properties":{"canPublish":{"type":"boolean"},"canRefresh":{"default":false,"type":"boolean"},"canReadMetrics":{"type":"boolean"},"maxTextLength":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"formats":{"default":["text"],"type":"array","items":{"type":"string","enum":["text","article"]}}},"required":["canPublish","canRefresh","canReadMetrics","maxTextLength","formats"],"additionalProperties":false},"tiktokCreator":{"anyOf":[{"type":"object","properties":{"displayName":{"type":["string","null"]},"avatarUrl":{"type":["string","null"]},"privacyLevelOptions":{"type":"array","items":{"type":"string"}},"maxVideoDurationSec":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"commentDisabled":{"type":["boolean","null"]},"duetDisabled":{"type":["boolean","null"]},"stitchDisabled":{"type":["boolean","null"]},"fetchedAt":{"type":"number"},"checkedAt":{"type":["number","null"]},"checkPending":{"type":["number","null"]}},"required":["displayName","avatarUrl","privacyLevelOptions","maxVideoDurationSec","commentDisabled","duetDisabled","stitchDisabled","fetchedAt","checkedAt","checkPending"],"additionalProperties":false},{"type":"null"}]},"tiktokWorkspaceConsent":{"anyOf":[{"type":"object","properties":{"acceptedAt":{"type":"number"},"current":{"type":"boolean"}},"required":["acceptedAt","current"],"additionalProperties":false},{"type":"null"}]},"postingSchedule":{"default":null,"anyOf":[{"type":"object","properties":{"timeZone":{"type":"string","minLength":1,"maxLength":64},"slots":{"maxItems":70,"type":"array","items":{"type":"object","properties":{"day":{"type":"integer","minimum":0,"maximum":6},"time":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"}},"required":["day","time"],"additionalProperties":false}}},"required":["timeZone","slots"],"additionalProperties":false},{"type":"null"}]},"xCommunities":{"default":[],"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9]{1,19}$"},"name":{"type":"string","minLength":1,"maxLength":80},"addedAt":{"type":"number"}},"required":["id","name","addedAt"],"additionalProperties":false}},"slotGuard":{"default":null,"anyOf":[{"type":"object","properties":{"enabled":{"type":"boolean"},"timeZone":{"type":"string","minLength":1,"maxLength":64},"windows":{"maxItems":70,"type":"array","items":{"type":"object","properties":{"day":{"type":"integer","minimum":0,"maximum":6},"start":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"end":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"}},"required":["day","start","end"],"additionalProperties":false}},"minGapMinutes":{"type":"integer","minimum":0,"maximum":1440}},"required":["enabled","timeZone","windows","minGapMinutes"],"additionalProperties":false},{"type":"null"}]},"createdAt":{"type":"number"},"updatedAt":{"type":"number"}},"required":["id","label","workspaceId","agentId","provider","status","mode","destination","scopes","expiresAt","capabilities","tiktokCreator","tiktokWorkspaceConsent","postingSchedule","xCommunities","slotGuard","createdAt","updatedAt"],"additionalProperties":false}},"required":["connection"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

content connection preflight

  • Operation ID: content.connection.preflight
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: content:connections
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/content/connections/preflight
  • MCP: manage_connection (action preflight) — Preflight an Andy Content connection. Check one exact Platform Connection, refresh credentials when needed, and return a reconnect handoff when setup is required. Set refreshCreator:true when opening TikTok publishing review, then inspect until creator checkPending clears and fetchedAt advances; a failed check must not authorize publication.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, setup_required, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, idempotency_conflict, insufficient_scope

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"connectionId":{"type":"string","minLength":1},"refreshCreator":{"type":"boolean"},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["connectionId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"connection":{"type":"object","properties":{"id":{"type":"string","minLength":1},"label":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"provider":{"type":"string","enum":["x","linkedin","instagram","tiktok"]},"status":{"type":"string","enum":["connected","disconnected","expired"]},"mode":{"type":"string","enum":["direct","draft_only","manual_export"]},"destination":{"type":"object","properties":{"externalAccountId":{"type":["string","null"]},"handle":{"type":["string","null"]},"targetType":{"anyOf":[{"type":"string","enum":["personal_profile","company_page"]},{"type":"null"}]},"organizationId":{"type":["string","null"]}},"required":["externalAccountId","handle","targetType","organizationId"],"additionalProperties":false},"scopes":{"type":"array","items":{"type":"string"}},"expiresAt":{"type":["number","null"]},"capabilities":{"type":"object","properties":{"canPublish":{"type":"boolean"},"canRefresh":{"default":false,"type":"boolean"},"canReadMetrics":{"type":"boolean"},"maxTextLength":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"formats":{"default":["text"],"type":"array","items":{"type":"string","enum":["text","article"]}}},"required":["canPublish","canRefresh","canReadMetrics","maxTextLength","formats"],"additionalProperties":false},"tiktokCreator":{"anyOf":[{"type":"object","properties":{"displayName":{"type":["string","null"]},"avatarUrl":{"type":["string","null"]},"privacyLevelOptions":{"type":"array","items":{"type":"string"}},"maxVideoDurationSec":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"commentDisabled":{"type":["boolean","null"]},"duetDisabled":{"type":["boolean","null"]},"stitchDisabled":{"type":["boolean","null"]},"fetchedAt":{"type":"number"},"checkedAt":{"type":["number","null"]},"checkPending":{"type":["number","null"]}},"required":["displayName","avatarUrl","privacyLevelOptions","maxVideoDurationSec","commentDisabled","duetDisabled","stitchDisabled","fetchedAt","checkedAt","checkPending"],"additionalProperties":false},{"type":"null"}]},"tiktokWorkspaceConsent":{"anyOf":[{"type":"object","properties":{"acceptedAt":{"type":"number"},"current":{"type":"boolean"}},"required":["acceptedAt","current"],"additionalProperties":false},{"type":"null"}]},"postingSchedule":{"default":null,"anyOf":[{"type":"object","properties":{"timeZone":{"type":"string","minLength":1,"maxLength":64},"slots":{"maxItems":70,"type":"array","items":{"type":"object","properties":{"day":{"type":"integer","minimum":0,"maximum":6},"time":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"}},"required":["day","time"],"additionalProperties":false}}},"required":["timeZone","slots"],"additionalProperties":false},{"type":"null"}]},"xCommunities":{"default":[],"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9]{1,19}$"},"name":{"type":"string","minLength":1,"maxLength":80},"addedAt":{"type":"number"}},"required":["id","name","addedAt"],"additionalProperties":false}},"slotGuard":{"default":null,"anyOf":[{"type":"object","properties":{"enabled":{"type":"boolean"},"timeZone":{"type":"string","minLength":1,"maxLength":64},"windows":{"maxItems":70,"type":"array","items":{"type":"object","properties":{"day":{"type":"integer","minimum":0,"maximum":6},"start":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"end":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"}},"required":["day","start","end"],"additionalProperties":false}},"minGapMinutes":{"type":"integer","minimum":0,"maximum":1440}},"required":["enabled","timeZone","windows","minGapMinutes"],"additionalProperties":false},{"type":"null"}]},"createdAt":{"type":"number"},"updatedAt":{"type":"number"}},"required":["id","label","workspaceId","agentId","provider","status","mode","destination","scopes","expiresAt","capabilities","tiktokCreator","tiktokWorkspaceConsent","postingSchedule","xCommunities","slotGuard","createdAt","updatedAt"],"additionalProperties":false},"ready":{"type":"boolean"},"state":{"type":"string","enum":["ready","refreshing","setup_required"]},"handoffUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"nextAction":{"type":["string","null"]}},"required":["connection","ready","state","handoffUrl","nextAction"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

content connection connect

  • Operation ID: content.connection.connect
  • Authentication: workspace_api_key
  • Workspace selection: required
  • Required API Key scope: content:connections
  • Minimum User role: admin
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/content/connections/connect
  • MCP: manage_connection (action connect) — Prepare an Andy Content provider handoff. Prepare an App handoff for native provider consent without impersonating a User. insights:true (Instagram only) also asks for Insights, so read_instagram_insights can read account and media metrics.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, provider_unavailable, insufficient_scope

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"provider":{"type":"string","enum":["x","linkedin","instagram","tiktok"]},"agentId":{"type":"string","minLength":1},"connectionId":{"type":"string","minLength":1},"targetType":{"type":"string","enum":["personal_profile","company_page"]},"organizationId":{"type":"string","minLength":1},"displayName":{"type":"string","minLength":1},"insights":{"type":"boolean"}},"required":["provider","agentId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"provider":{"type":"string","enum":["x","linkedin","instagram","tiktok"]},"agentId":{"type":"string","minLength":1},"connectionId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"targetType":{"anyOf":[{"type":"string","enum":["personal_profile","company_page"]},{"type":"null"}]},"organizationId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"displayName":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"insights":{"default":false,"type":"boolean"},"handoffUrl":{"type":"string","format":"uri"}},"required":["provider","agentId","connectionId","targetType","organizationId","displayName","insights","handoffUrl"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

content connection disconnect

  • Operation ID: content.connection.disconnect
  • Authentication: workspace_api_key
  • Workspace selection: required
  • Required API Key scope: content:connections
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/content/connections/disconnect
  • MCP: manage_connection (action disconnect) — Disconnect an Andy Content connection. Disconnect one exact Platform Connection after exact-ID confirmation: dispose of credentials, remove it from the Workspace's connections, and cancel Posts still waiting on it. Published Posts keep their history; connecting the same account again makes a new connection.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, confirmation_required, idempotency_conflict, insufficient_scope

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"connectionId":{"type":"string","minLength":1},"confirm":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["connectionId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"connection":{"type":"object","properties":{"id":{"type":"string","minLength":1},"label":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"provider":{"type":"string","enum":["x","linkedin","instagram","tiktok"]},"status":{"type":"string","enum":["connected","disconnected","expired"]},"mode":{"type":"string","enum":["direct","draft_only","manual_export"]},"destination":{"type":"object","properties":{"externalAccountId":{"type":["string","null"]},"handle":{"type":["string","null"]},"targetType":{"anyOf":[{"type":"string","enum":["personal_profile","company_page"]},{"type":"null"}]},"organizationId":{"type":["string","null"]}},"required":["externalAccountId","handle","targetType","organizationId"],"additionalProperties":false},"scopes":{"type":"array","items":{"type":"string"}},"expiresAt":{"type":["number","null"]},"capabilities":{"type":"object","properties":{"canPublish":{"type":"boolean"},"canRefresh":{"default":false,"type":"boolean"},"canReadMetrics":{"type":"boolean"},"maxTextLength":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"formats":{"default":["text"],"type":"array","items":{"type":"string","enum":["text","article"]}}},"required":["canPublish","canRefresh","canReadMetrics","maxTextLength","formats"],"additionalProperties":false},"tiktokCreator":{"anyOf":[{"type":"object","properties":{"displayName":{"type":["string","null"]},"avatarUrl":{"type":["string","null"]},"privacyLevelOptions":{"type":"array","items":{"type":"string"}},"maxVideoDurationSec":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"commentDisabled":{"type":["boolean","null"]},"duetDisabled":{"type":["boolean","null"]},"stitchDisabled":{"type":["boolean","null"]},"fetchedAt":{"type":"number"},"checkedAt":{"type":["number","null"]},"checkPending":{"type":["number","null"]}},"required":["displayName","avatarUrl","privacyLevelOptions","maxVideoDurationSec","commentDisabled","duetDisabled","stitchDisabled","fetchedAt","checkedAt","checkPending"],"additionalProperties":false},{"type":"null"}]},"tiktokWorkspaceConsent":{"anyOf":[{"type":"object","properties":{"acceptedAt":{"type":"number"},"current":{"type":"boolean"}},"required":["acceptedAt","current"],"additionalProperties":false},{"type":"null"}]},"postingSchedule":{"default":null,"anyOf":[{"type":"object","properties":{"timeZone":{"type":"string","minLength":1,"maxLength":64},"slots":{"maxItems":70,"type":"array","items":{"type":"object","properties":{"day":{"type":"integer","minimum":0,"maximum":6},"time":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"}},"required":["day","time"],"additionalProperties":false}}},"required":["timeZone","slots"],"additionalProperties":false},{"type":"null"}]},"xCommunities":{"default":[],"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9]{1,19}$"},"name":{"type":"string","minLength":1,"maxLength":80},"addedAt":{"type":"number"}},"required":["id","name","addedAt"],"additionalProperties":false}},"slotGuard":{"default":null,"anyOf":[{"type":"object","properties":{"enabled":{"type":"boolean"},"timeZone":{"type":"string","minLength":1,"maxLength":64},"windows":{"maxItems":70,"type":"array","items":{"type":"object","properties":{"day":{"type":"integer","minimum":0,"maximum":6},"start":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"end":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"}},"required":["day","start","end"],"additionalProperties":false}},"minGapMinutes":{"type":"integer","minimum":0,"maximum":1440}},"required":["enabled","timeZone","windows","minGapMinutes"],"additionalProperties":false},{"type":"null"}]},"createdAt":{"type":"number"},"updatedAt":{"type":"number"}},"required":["id","label","workspaceId","agentId","provider","status","mode","destination","scopes","expiresAt","capabilities","tiktokCreator","tiktokWorkspaceConsent","postingSchedule","xCommunities","slotGuard","createdAt","updatedAt"],"additionalProperties":false}},"required":["connection"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

content connection slots

  • Operation ID: content.connection.set_posting_slots
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: content:connections
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/content/connections/set-posting-slots
  • MCP: manage_connection (action set_posting_slots) — Set an Andy Content connection's posting slots. Replace one Platform Connection's weekly posting slots: slots is the whole week as { day, time } rows (day 0 = Sunday … 6 = Saturday, time "HH:mm" on timeZone, e.g. Europe/London; timeZone defaults to the connection's current zone). Andy proposes a new or pending Post's time as the next free slot at least 30 minutes out; explicit and approved times never move. An empty list turns slots off and proposals fall back to the next full hour. Owner/Admin only.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, idempotency_conflict, insufficient_scope

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"connectionId":{"type":"string","minLength":1},"slots":{"maxItems":70,"type":"array","items":{"type":"object","properties":{"day":{"type":"integer","minimum":0,"maximum":6},"time":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"}},"required":["day","time"],"additionalProperties":false}},"timeZone":{"type":"string","minLength":1,"maxLength":64},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["connectionId","slots"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"connection":{"type":"object","properties":{"id":{"type":"string","minLength":1},"label":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"provider":{"type":"string","enum":["x","linkedin","instagram","tiktok"]},"status":{"type":"string","enum":["connected","disconnected","expired"]},"mode":{"type":"string","enum":["direct","draft_only","manual_export"]},"destination":{"type":"object","properties":{"externalAccountId":{"type":["string","null"]},"handle":{"type":["string","null"]},"targetType":{"anyOf":[{"type":"string","enum":["personal_profile","company_page"]},{"type":"null"}]},"organizationId":{"type":["string","null"]}},"required":["externalAccountId","handle","targetType","organizationId"],"additionalProperties":false},"scopes":{"type":"array","items":{"type":"string"}},"expiresAt":{"type":["number","null"]},"capabilities":{"type":"object","properties":{"canPublish":{"type":"boolean"},"canRefresh":{"default":false,"type":"boolean"},"canReadMetrics":{"type":"boolean"},"maxTextLength":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"formats":{"default":["text"],"type":"array","items":{"type":"string","enum":["text","article"]}}},"required":["canPublish","canRefresh","canReadMetrics","maxTextLength","formats"],"additionalProperties":false},"tiktokCreator":{"anyOf":[{"type":"object","properties":{"displayName":{"type":["string","null"]},"avatarUrl":{"type":["string","null"]},"privacyLevelOptions":{"type":"array","items":{"type":"string"}},"maxVideoDurationSec":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"commentDisabled":{"type":["boolean","null"]},"duetDisabled":{"type":["boolean","null"]},"stitchDisabled":{"type":["boolean","null"]},"fetchedAt":{"type":"number"},"checkedAt":{"type":["number","null"]},"checkPending":{"type":["number","null"]}},"required":["displayName","avatarUrl","privacyLevelOptions","maxVideoDurationSec","commentDisabled","duetDisabled","stitchDisabled","fetchedAt","checkedAt","checkPending"],"additionalProperties":false},{"type":"null"}]},"tiktokWorkspaceConsent":{"anyOf":[{"type":"object","properties":{"acceptedAt":{"type":"number"},"current":{"type":"boolean"}},"required":["acceptedAt","current"],"additionalProperties":false},{"type":"null"}]},"postingSchedule":{"default":null,"anyOf":[{"type":"object","properties":{"timeZone":{"type":"string","minLength":1,"maxLength":64},"slots":{"maxItems":70,"type":"array","items":{"type":"object","properties":{"day":{"type":"integer","minimum":0,"maximum":6},"time":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"}},"required":["day","time"],"additionalProperties":false}}},"required":["timeZone","slots"],"additionalProperties":false},{"type":"null"}]},"xCommunities":{"default":[],"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9]{1,19}$"},"name":{"type":"string","minLength":1,"maxLength":80},"addedAt":{"type":"number"}},"required":["id","name","addedAt"],"additionalProperties":false}},"slotGuard":{"default":null,"anyOf":[{"type":"object","properties":{"enabled":{"type":"boolean"},"timeZone":{"type":"string","minLength":1,"maxLength":64},"windows":{"maxItems":70,"type":"array","items":{"type":"object","properties":{"day":{"type":"integer","minimum":0,"maximum":6},"start":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"end":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"}},"required":["day","start","end"],"additionalProperties":false}},"minGapMinutes":{"type":"integer","minimum":0,"maximum":1440}},"required":["enabled","timeZone","windows","minGapMinutes"],"additionalProperties":false},{"type":"null"}]},"createdAt":{"type":"number"},"updatedAt":{"type":"number"}},"required":["id","label","workspaceId","agentId","provider","status","mode","destination","scopes","expiresAt","capabilities","tiktokCreator","tiktokWorkspaceConsent","postingSchedule","xCommunities","slotGuard","createdAt","updatedAt"],"additionalProperties":false}},"required":["connection"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

content connection slot-guard

  • Operation ID: content.connection.set_slot_guard
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: content:connections
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/content/connections/set-slot-guard
  • MCP: manage_connection (action set_slot_guard) — Set an Andy X connection's slot guard. Replace one X connection's slot guard: enabled switches it, windows is the whole week of reply windows as { day, start, end } rows (day 0 = Sunday … 6 = Saturday, "HH:mm" on timeZone, start inclusive, end exclusive), minGapMinutes the least time between two X Posts on the connection. timeZone defaults to the guard's zone, then the connection's posting-slot zone. While enabled, scheduling, rescheduling, approving or resuming an X Post outside every window or within minGapMinutes of another approved or published X Post on the connection is refused with slot_guard_warning and its slotWarnings until the caller repeats it with acknowledgeSlotWarnings: true; a new Post's proposed time prefers the next window start that keeps the gap. Recommended for a reply-driven account: Monday to Friday 09:00-10:00, 12:00-13:00 and 20:00-22:00 Europe/London with a 180-minute gap. X connections only (slot_guard_unsupported otherwise). Owner/Admin only.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, slot_guard_unsupported, idempotency_conflict, insufficient_scope

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"connectionId":{"type":"string","minLength":1},"enabled":{"type":"boolean"},"windows":{"maxItems":70,"type":"array","items":{"type":"object","properties":{"day":{"type":"integer","minimum":0,"maximum":6},"start":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"end":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"}},"required":["day","start","end"],"additionalProperties":false}},"minGapMinutes":{"type":"integer","minimum":0,"maximum":1440},"timeZone":{"type":"string","minLength":1,"maxLength":64},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["connectionId","enabled","windows","minGapMinutes"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"connection":{"type":"object","properties":{"id":{"type":"string","minLength":1},"label":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"provider":{"type":"string","enum":["x","linkedin","instagram","tiktok"]},"status":{"type":"string","enum":["connected","disconnected","expired"]},"mode":{"type":"string","enum":["direct","draft_only","manual_export"]},"destination":{"type":"object","properties":{"externalAccountId":{"type":["string","null"]},"handle":{"type":["string","null"]},"targetType":{"anyOf":[{"type":"string","enum":["personal_profile","company_page"]},{"type":"null"}]},"organizationId":{"type":["string","null"]}},"required":["externalAccountId","handle","targetType","organizationId"],"additionalProperties":false},"scopes":{"type":"array","items":{"type":"string"}},"expiresAt":{"type":["number","null"]},"capabilities":{"type":"object","properties":{"canPublish":{"type":"boolean"},"canRefresh":{"default":false,"type":"boolean"},"canReadMetrics":{"type":"boolean"},"maxTextLength":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"formats":{"default":["text"],"type":"array","items":{"type":"string","enum":["text","article"]}}},"required":["canPublish","canRefresh","canReadMetrics","maxTextLength","formats"],"additionalProperties":false},"tiktokCreator":{"anyOf":[{"type":"object","properties":{"displayName":{"type":["string","null"]},"avatarUrl":{"type":["string","null"]},"privacyLevelOptions":{"type":"array","items":{"type":"string"}},"maxVideoDurationSec":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"commentDisabled":{"type":["boolean","null"]},"duetDisabled":{"type":["boolean","null"]},"stitchDisabled":{"type":["boolean","null"]},"fetchedAt":{"type":"number"},"checkedAt":{"type":["number","null"]},"checkPending":{"type":["number","null"]}},"required":["displayName","avatarUrl","privacyLevelOptions","maxVideoDurationSec","commentDisabled","duetDisabled","stitchDisabled","fetchedAt","checkedAt","checkPending"],"additionalProperties":false},{"type":"null"}]},"tiktokWorkspaceConsent":{"anyOf":[{"type":"object","properties":{"acceptedAt":{"type":"number"},"current":{"type":"boolean"}},"required":["acceptedAt","current"],"additionalProperties":false},{"type":"null"}]},"postingSchedule":{"default":null,"anyOf":[{"type":"object","properties":{"timeZone":{"type":"string","minLength":1,"maxLength":64},"slots":{"maxItems":70,"type":"array","items":{"type":"object","properties":{"day":{"type":"integer","minimum":0,"maximum":6},"time":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"}},"required":["day","time"],"additionalProperties":false}}},"required":["timeZone","slots"],"additionalProperties":false},{"type":"null"}]},"xCommunities":{"default":[],"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9]{1,19}$"},"name":{"type":"string","minLength":1,"maxLength":80},"addedAt":{"type":"number"}},"required":["id","name","addedAt"],"additionalProperties":false}},"slotGuard":{"default":null,"anyOf":[{"type":"object","properties":{"enabled":{"type":"boolean"},"timeZone":{"type":"string","minLength":1,"maxLength":64},"windows":{"maxItems":70,"type":"array","items":{"type":"object","properties":{"day":{"type":"integer","minimum":0,"maximum":6},"start":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"end":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"}},"required":["day","start","end"],"additionalProperties":false}},"minGapMinutes":{"type":"integer","minimum":0,"maximum":1440}},"required":["enabled","timeZone","windows","minGapMinutes"],"additionalProperties":false},{"type":"null"}]},"createdAt":{"type":"number"},"updatedAt":{"type":"number"}},"required":["id","label","workspaceId","agentId","provider","status","mode","destination","scopes","expiresAt","capabilities","tiktokCreator","tiktokWorkspaceConsent","postingSchedule","xCommunities","slotGuard","createdAt","updatedAt"],"additionalProperties":false}},"required":["connection"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

content connection community-add

  • Operation ID: content.connection.add_x_community
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: content:connections
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/content/connections/add-x-community
  • MCP: manage_connection (action add_x_community) — Save an X Community on an Andy X connection. Save one X Community on an X Platform Connection so its Posts can target it with xCommunity. community is the numeric id or the community URL (https://x.com/i/communities/); name is the label pickers show (saving an id already on the list renames it). Up to 20 per connection. X connections only (x_community_unsupported otherwise); a malformed id or URL is x_community_invalid. The connected X account must be a member of the community for X to accept Posts there. Owner/Admin only.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, x_community_unsupported, x_community_invalid, idempotency_conflict, insufficient_scope

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"connectionId":{"type":"string","minLength":1},"community":{"type":"string","minLength":1,"maxLength":200},"name":{"type":"string","minLength":1,"maxLength":80},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["connectionId","community","name"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"connection":{"type":"object","properties":{"id":{"type":"string","minLength":1},"label":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"provider":{"type":"string","enum":["x","linkedin","instagram","tiktok"]},"status":{"type":"string","enum":["connected","disconnected","expired"]},"mode":{"type":"string","enum":["direct","draft_only","manual_export"]},"destination":{"type":"object","properties":{"externalAccountId":{"type":["string","null"]},"handle":{"type":["string","null"]},"targetType":{"anyOf":[{"type":"string","enum":["personal_profile","company_page"]},{"type":"null"}]},"organizationId":{"type":["string","null"]}},"required":["externalAccountId","handle","targetType","organizationId"],"additionalProperties":false},"scopes":{"type":"array","items":{"type":"string"}},"expiresAt":{"type":["number","null"]},"capabilities":{"type":"object","properties":{"canPublish":{"type":"boolean"},"canRefresh":{"default":false,"type":"boolean"},"canReadMetrics":{"type":"boolean"},"maxTextLength":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"formats":{"default":["text"],"type":"array","items":{"type":"string","enum":["text","article"]}}},"required":["canPublish","canRefresh","canReadMetrics","maxTextLength","formats"],"additionalProperties":false},"tiktokCreator":{"anyOf":[{"type":"object","properties":{"displayName":{"type":["string","null"]},"avatarUrl":{"type":["string","null"]},"privacyLevelOptions":{"type":"array","items":{"type":"string"}},"maxVideoDurationSec":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"commentDisabled":{"type":["boolean","null"]},"duetDisabled":{"type":["boolean","null"]},"stitchDisabled":{"type":["boolean","null"]},"fetchedAt":{"type":"number"},"checkedAt":{"type":["number","null"]},"checkPending":{"type":["number","null"]}},"required":["displayName","avatarUrl","privacyLevelOptions","maxVideoDurationSec","commentDisabled","duetDisabled","stitchDisabled","fetchedAt","checkedAt","checkPending"],"additionalProperties":false},{"type":"null"}]},"tiktokWorkspaceConsent":{"anyOf":[{"type":"object","properties":{"acceptedAt":{"type":"number"},"current":{"type":"boolean"}},"required":["acceptedAt","current"],"additionalProperties":false},{"type":"null"}]},"postingSchedule":{"default":null,"anyOf":[{"type":"object","properties":{"timeZone":{"type":"string","minLength":1,"maxLength":64},"slots":{"maxItems":70,"type":"array","items":{"type":"object","properties":{"day":{"type":"integer","minimum":0,"maximum":6},"time":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"}},"required":["day","time"],"additionalProperties":false}}},"required":["timeZone","slots"],"additionalProperties":false},{"type":"null"}]},"xCommunities":{"default":[],"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9]{1,19}$"},"name":{"type":"string","minLength":1,"maxLength":80},"addedAt":{"type":"number"}},"required":["id","name","addedAt"],"additionalProperties":false}},"slotGuard":{"default":null,"anyOf":[{"type":"object","properties":{"enabled":{"type":"boolean"},"timeZone":{"type":"string","minLength":1,"maxLength":64},"windows":{"maxItems":70,"type":"array","items":{"type":"object","properties":{"day":{"type":"integer","minimum":0,"maximum":6},"start":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"end":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"}},"required":["day","start","end"],"additionalProperties":false}},"minGapMinutes":{"type":"integer","minimum":0,"maximum":1440}},"required":["enabled","timeZone","windows","minGapMinutes"],"additionalProperties":false},{"type":"null"}]},"createdAt":{"type":"number"},"updatedAt":{"type":"number"}},"required":["id","label","workspaceId","agentId","provider","status","mode","destination","scopes","expiresAt","capabilities","tiktokCreator","tiktokWorkspaceConsent","postingSchedule","xCommunities","slotGuard","createdAt","updatedAt"],"additionalProperties":false}},"required":["connection"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

content connection community-remove

  • Operation ID: content.connection.remove_x_community
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: content:connections
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/content/connections/remove-x-community
  • MCP: manage_connection (action remove_x_community) — Remove a saved X Community from an Andy X connection. Remove one saved X Community (communityId from the connection's xCommunities) from an X Platform Connection. New Posts can no longer target it; approved Posts keep it, and a pending Post that targets it is refused at approval (x_community_not_saved) until it is edited. Removing an id that is not saved changes nothing. X connections only. Owner/Admin only.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, x_community_unsupported, idempotency_conflict, insufficient_scope

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"connectionId":{"type":"string","minLength":1},"communityId":{"type":"string","pattern":"^[0-9]{1,19}$"},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["connectionId","communityId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"connection":{"type":"object","properties":{"id":{"type":"string","minLength":1},"label":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"provider":{"type":"string","enum":["x","linkedin","instagram","tiktok"]},"status":{"type":"string","enum":["connected","disconnected","expired"]},"mode":{"type":"string","enum":["direct","draft_only","manual_export"]},"destination":{"type":"object","properties":{"externalAccountId":{"type":["string","null"]},"handle":{"type":["string","null"]},"targetType":{"anyOf":[{"type":"string","enum":["personal_profile","company_page"]},{"type":"null"}]},"organizationId":{"type":["string","null"]}},"required":["externalAccountId","handle","targetType","organizationId"],"additionalProperties":false},"scopes":{"type":"array","items":{"type":"string"}},"expiresAt":{"type":["number","null"]},"capabilities":{"type":"object","properties":{"canPublish":{"type":"boolean"},"canRefresh":{"default":false,"type":"boolean"},"canReadMetrics":{"type":"boolean"},"maxTextLength":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"formats":{"default":["text"],"type":"array","items":{"type":"string","enum":["text","article"]}}},"required":["canPublish","canRefresh","canReadMetrics","maxTextLength","formats"],"additionalProperties":false},"tiktokCreator":{"anyOf":[{"type":"object","properties":{"displayName":{"type":["string","null"]},"avatarUrl":{"type":["string","null"]},"privacyLevelOptions":{"type":"array","items":{"type":"string"}},"maxVideoDurationSec":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"commentDisabled":{"type":["boolean","null"]},"duetDisabled":{"type":["boolean","null"]},"stitchDisabled":{"type":["boolean","null"]},"fetchedAt":{"type":"number"},"checkedAt":{"type":["number","null"]},"checkPending":{"type":["number","null"]}},"required":["displayName","avatarUrl","privacyLevelOptions","maxVideoDurationSec","commentDisabled","duetDisabled","stitchDisabled","fetchedAt","checkedAt","checkPending"],"additionalProperties":false},{"type":"null"}]},"tiktokWorkspaceConsent":{"anyOf":[{"type":"object","properties":{"acceptedAt":{"type":"number"},"current":{"type":"boolean"}},"required":["acceptedAt","current"],"additionalProperties":false},{"type":"null"}]},"postingSchedule":{"default":null,"anyOf":[{"type":"object","properties":{"timeZone":{"type":"string","minLength":1,"maxLength":64},"slots":{"maxItems":70,"type":"array","items":{"type":"object","properties":{"day":{"type":"integer","minimum":0,"maximum":6},"time":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"}},"required":["day","time"],"additionalProperties":false}}},"required":["timeZone","slots"],"additionalProperties":false},{"type":"null"}]},"xCommunities":{"default":[],"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9]{1,19}$"},"name":{"type":"string","minLength":1,"maxLength":80},"addedAt":{"type":"number"}},"required":["id","name","addedAt"],"additionalProperties":false}},"slotGuard":{"default":null,"anyOf":[{"type":"object","properties":{"enabled":{"type":"boolean"},"timeZone":{"type":"string","minLength":1,"maxLength":64},"windows":{"maxItems":70,"type":"array","items":{"type":"object","properties":{"day":{"type":"integer","minimum":0,"maximum":6},"start":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"end":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"}},"required":["day","start","end"],"additionalProperties":false}},"minGapMinutes":{"type":"integer","minimum":0,"maximum":1440}},"required":["enabled","timeZone","windows","minGapMinutes"],"additionalProperties":false},{"type":"null"}]},"createdAt":{"type":"number"},"updatedAt":{"type":"number"}},"required":["id","label","workspaceId","agentId","provider","status","mode","destination","scopes","expiresAt","capabilities","tiktokCreator","tiktokWorkspaceConsent","postingSchedule","xCommunities","slotGuard","createdAt","updatedAt"],"additionalProperties":false}},"required":["connection"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

content instagram account

  • Operation ID: content.instagram.account_insights
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: content:read
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/content/instagram/account-insights
  • MCP: read_instagram_insights (action account) — Read Instagram account Insights. Read one Instagram connection's account Insights from Meta for a UTC window of at most 30 days (since inclusive, until exclusive): range views, reach, total_interactions and accounts_engaged, follows_and_unfollows, and daily reach and follower_count. A metric Meta does not answer is listed in unavailable with its reason. Needs a connection granted instagram_business_manage_insights.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, insufficient_scope, setup_required, instagram_insights_scope_required, provider_rate_limited, provider_request_failed

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"connectionId":{"type":"string","minLength":1},"since":{"anyOf":[{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}]},"until":{"anyOf":[{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}]}},"required":["connectionId","since","until"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"connection":{"type":"object","properties":{"id":{"type":"string"},"externalAccountId":{"type":"string"},"handle":{"type":["string","null"]}},"required":["id","externalAccountId","handle"],"additionalProperties":false},"window":{"type":"object","properties":{"since":{"type":"string"},"until":{"type":"string"}},"required":["since","until"],"additionalProperties":false},"range":{"type":"object","properties":{"views":{"type":["number","null"]},"reach":{"type":["number","null"]},"total_interactions":{"type":["number","null"]},"accounts_engaged":{"type":["number","null"]}},"required":["views","reach","total_interactions","accounts_engaged"],"additionalProperties":false},"follows_and_unfollows":{"anyOf":[{"type":"object","properties":{"total":{"type":["number","null"]},"breakdown":{"type":"array","items":{"type":"object","properties":{"followType":{"type":"string"},"value":{"type":"number"}},"required":["followType","value"],"additionalProperties":false}}},"required":["total","breakdown"],"additionalProperties":false},{"type":"null"}]},"daily":{"type":"object","properties":{"reach":{"type":"array","items":{"type":"object","properties":{"endTime":{"type":"string"},"value":{"type":"number"}},"required":["endTime","value"],"additionalProperties":false}},"follower_count":{"type":"array","items":{"type":"object","properties":{"endTime":{"type":"string"},"value":{"type":"number"}},"required":["endTime","value"],"additionalProperties":false}}},"required":["reach","follower_count"],"additionalProperties":false},"unavailable":{"type":"array","items":{"type":"object","properties":{"metric":{"type":"string"},"reason":{"type":"string","enum":["unsupported","not_applicable","no_data","provider_error"]}},"required":["metric","reason"],"additionalProperties":false}}},"required":["connection","window","range","follows_and_unfollows","daily","unavailable"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

content instagram media list

  • Operation ID: content.instagram.media_list
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: content:read
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/content/instagram/media/list
  • MCP: read_instagram_insights (action media_list) — List Instagram owned media. List the media one Instagram connection's account published in a UTC window (since inclusive, until exclusive), newest first, with caption, permalink, type, likes and comments. source is andy with andyPost when Andy published it, or no_andy_receipt. Works on every Instagram connection, with or without Insights. Page with meta.nextCursor.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, insufficient_scope, setup_required, instagram_insights_scope_required, provider_rate_limited, provider_request_failed

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"connectionId":{"type":"string","minLength":1},"since":{"anyOf":[{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}]},"until":{"anyOf":[{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}]},"cursor":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"pageSize":{"default":25,"type":"integer","minimum":1,"maximum":100}},"required":["connectionId","since","until"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"connection":{"type":"object","properties":{"id":{"type":"string"},"externalAccountId":{"type":"string"},"handle":{"type":["string","null"]}},"required":["id","externalAccountId","handle"],"additionalProperties":false},"window":{"type":"object","properties":{"since":{"type":"string"},"until":{"type":"string"}},"required":["since","until"],"additionalProperties":false},"media":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"caption":{"type":["string","null"]},"permalink":{"type":["string","null"]},"timestamp":{"type":["string","null"]},"mediaType":{"type":["string","null"]},"mediaProductType":{"type":["string","null"]},"likeCount":{"type":["number","null"]},"commentsCount":{"type":["number","null"]},"source":{"type":"string","enum":["andy","no_andy_receipt"]},"andyPost":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]}},"required":["id","url"],"additionalProperties":false},{"type":"null"}]}},"required":["id","caption","permalink","timestamp","mediaType","mediaProductType","likeCount","commentsCount","source","andyPost"],"additionalProperties":false}}},"required":["connection","window","media"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

content instagram media show

  • Operation ID: content.instagram.media_insights
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: content:read
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/content/instagram/media/insights
  • MCP: read_instagram_insights (action media) — Read Instagram media Insights. Read one of the account's own media (a mediaId from the media list) and its Insights: views, reach, likes, comments, shares and saved; for a Reel, average and total watch time in milliseconds; and facebook_views and crossposted_views, which are separate counts never added to views. A metric Meta does not answer is listed in unavailable with its reason. Needs a connection granted instagram_business_manage_insights.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, insufficient_scope, setup_required, instagram_insights_scope_required, provider_rate_limited, provider_request_failed

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"connectionId":{"type":"string","minLength":1},"mediaId":{"type":"string","pattern":"^\\d+$"}},"required":["connectionId","mediaId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"connection":{"type":"object","properties":{"id":{"type":"string"},"externalAccountId":{"type":"string"},"handle":{"type":["string","null"]}},"required":["id","externalAccountId","handle"],"additionalProperties":false},"media":{"type":"object","properties":{"id":{"type":"string"},"caption":{"type":["string","null"]},"permalink":{"type":["string","null"]},"timestamp":{"type":["string","null"]},"mediaType":{"type":["string","null"]},"mediaProductType":{"type":["string","null"]},"likeCount":{"type":["number","null"]},"commentsCount":{"type":["number","null"]},"source":{"type":"string","enum":["andy","no_andy_receipt"]},"andyPost":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]}},"required":["id","url"],"additionalProperties":false},{"type":"null"}]}},"required":["id","caption","permalink","timestamp","mediaType","mediaProductType","likeCount","commentsCount","source","andyPost"],"additionalProperties":false},"metrics":{"type":"object","properties":{"views":{"type":["number","null"]},"reach":{"type":["number","null"]},"likes":{"type":["number","null"]},"comments":{"type":["number","null"]},"shares":{"type":["number","null"]},"saved":{"type":["number","null"]},"ig_reels_avg_watch_time":{"type":["number","null"]},"ig_reels_video_view_total_time":{"type":["number","null"]},"facebook_views":{"type":["number","null"]},"crossposted_views":{"type":["number","null"]}},"required":["views","reach","likes","comments","shares","saved","ig_reels_avg_watch_time","ig_reels_video_view_total_time","facebook_views","crossposted_views"],"additionalProperties":false},"unavailable":{"type":"array","items":{"type":"object","properties":{"metric":{"type":"string"},"reason":{"type":"string","enum":["unsupported","not_applicable","no_data","provider_error"]}},"required":["metric","reason"],"additionalProperties":false}}},"required":["connection","media","metrics","unavailable"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

content media list

  • Operation ID: content.media.list
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: content:read
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/content/media/list
  • MCP: manage_media (action list) — List Andy Content Media Assets. List the Workspace's durable Media Assets.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, insufficient_scope

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"pieceId":{"type":"string","minLength":1},"cursor":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"pageSize":{"default":50,"type":"integer","minimum":1,"maximum":100}},"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"media":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"pieceId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"pieceRevision":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"planItemId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"kind":{"type":"string","enum":["video","photo"]},"revision":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"reviewState":{"type":"string","enum":["pending","approved","rejected"]},"renderState":{"type":"string","enum":["none","rendered"]},"provenance":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["bsale_product","catalog_product","upload","brand_logo","screen_capture"]},"ref":{"type":["string","null"]}},"required":["type"],"additionalProperties":false}},"mime":{"type":["string","null"]},"byteSize":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"width":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"height":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"durationSeconds":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"uploadState":{"anyOf":[{"type":"string","enum":["pending","ready","failed"]},{"type":"null"}]},"uploadError":{"type":["string","null"]},"revisions":{"type":"array","items":{"type":"object","properties":{"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"mime":{"type":["string","null"]},"renderJobId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"createdAt":{"type":"number"}},"required":["revision","url","mime","renderJobId","createdAt"],"additionalProperties":false}},"review":{"anyOf":[{"type":"object","properties":{"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"decision":{"type":"string","enum":["approved","rejected"]},"actor":{"type":"string","minLength":1},"policyVersion":{"type":"integer","minimum":0,"maximum":9007199254740991},"note":{"type":["string","null"]},"decidedAt":{"type":"number"}},"required":["revision","decision","actor","policyVersion","note","decidedAt"],"additionalProperties":false},{"type":"null"}]},"costs":{"type":"object","properties":{"estimatedUsd":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"actualUsd":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]}},"required":["estimatedUsd","actualUsd"],"additionalProperties":false},"nextAction":{"type":["string","null"]},"createdAt":{"type":"number"},"updatedAt":{"type":"number"}},"required":["id","pieceId","pieceRevision","planItemId","kind","revision","reviewState","renderState","provenance","mime","byteSize","width","height","durationSeconds","uploadState","uploadError","revisions","review","costs","nextAction","createdAt","updatedAt"],"additionalProperties":false}}},"required":["media"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

content media show

  • Operation ID: content.media.inspect
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: content:read
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/content/media/inspect
  • MCP: manage_media (action inspect) — Inspect an Andy Content Media Asset. Inspect one exact Media Asset revision, its jobs, review, and cost evidence.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, insufficient_scope

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"assetId":{"type":"string","minLength":1}},"required":["assetId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"media":{"type":"object","properties":{"id":{"type":"string","minLength":1},"pieceId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"pieceRevision":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"planItemId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"kind":{"type":"string","enum":["video","photo"]},"revision":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"reviewState":{"type":"string","enum":["pending","approved","rejected"]},"renderState":{"type":"string","enum":["none","rendered"]},"provenance":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["bsale_product","catalog_product","upload","brand_logo","screen_capture"]},"ref":{"type":["string","null"]}},"required":["type"],"additionalProperties":false}},"mime":{"type":["string","null"]},"byteSize":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"width":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"height":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"durationSeconds":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"uploadState":{"anyOf":[{"type":"string","enum":["pending","ready","failed"]},{"type":"null"}]},"uploadError":{"type":["string","null"]},"revisions":{"type":"array","items":{"type":"object","properties":{"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"mime":{"type":["string","null"]},"renderJobId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"createdAt":{"type":"number"}},"required":["revision","url","mime","renderJobId","createdAt"],"additionalProperties":false}},"review":{"anyOf":[{"type":"object","properties":{"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"decision":{"type":"string","enum":["approved","rejected"]},"actor":{"type":"string","minLength":1},"policyVersion":{"type":"integer","minimum":0,"maximum":9007199254740991},"note":{"type":["string","null"]},"decidedAt":{"type":"number"}},"required":["revision","decision","actor","policyVersion","note","decidedAt"],"additionalProperties":false},{"type":"null"}]},"costs":{"type":"object","properties":{"estimatedUsd":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"actualUsd":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]}},"required":["estimatedUsd","actualUsd"],"additionalProperties":false},"nextAction":{"type":["string","null"]},"createdAt":{"type":"number"},"updatedAt":{"type":"number"}},"required":["id","pieceId","pieceRevision","planItemId","kind","revision","reviewState","renderState","provenance","mime","byteSize","width","height","durationSeconds","uploadState","uploadError","revisions","review","costs","nextAction","createdAt","updatedAt"],"additionalProperties":false}},"required":["media"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

content media upload-prepare

  • Operation ID: content.media.upload_prepare
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: content:write
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/content/media/upload-prepare
  • MCP: manage_media (action prepare) — Prepare an Andy Content Media upload. Create a scoped 24-hour upload session for one file without creating a Media Asset. Anyone permitted to create Posts may upload; declare the file's sha256 hex digest so the assembled bytes are checked against it. The response carries the preparationId, the session uploadUrl, partSizeBytes, partCount, and the uploadToken. Send the bytes as parts (POST <uploadUrl>?preparation=<id>&index=<0-based> with header X-Andy-Upload-Token and the raw slice as the body); the server stores every part itself, so no caller ever names a storage object. Replaying prepare with the same key returns the same live session and the same endpoint.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, workspace_archived, idempotency_conflict, insufficient_scope

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"fileName":{"type":"string","minLength":1},"contentType":{"type":"string","minLength":1},"byteSize":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"sha256":{"type":"string","minLength":64,"maxLength":64},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["fileName","contentType","byteSize","sha256"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"preparationId":{"type":"string","minLength":1},"uploadUrl":{"type":"string","format":"uri"},"partSizeBytes":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"partCount":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"uploadToken":{"type":"string","minLength":1}},"required":["preparationId","uploadUrl","partSizeBytes","partCount","uploadToken"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

content media upload-complete

  • Operation ID: content.media.upload_complete
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: content:write
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/content/media/upload-complete
  • MCP: manage_media (action complete) — Complete an Andy Content Media upload. Close an upload session whose parts all arrived and create a provenance-bearing Media Asset from them. Completion takes no storage id: the asset is assembled from the parts this session's own intake stored, inside the same Workspace, actor, token and 24-hour window, so bytes sent under another session can never be claimed. Anyone permitted to create Posts may complete their own sessions. The asset kind is derived from measured bytes. Assembly and content validation finish asynchronously; poll inspect until uploadState is ready or failed. Only ready assets attach or publish.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, idempotency_conflict, insufficient_scope

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"preparationId":{"type":"string","minLength":1},"uploadToken":{"type":"string","minLength":1},"sourceType":{"type":"string","enum":["bsale_product","catalog_product","upload"]},"sourceRef":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["preparationId","uploadToken","sourceType"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"media":{"type":"object","properties":{"id":{"type":"string","minLength":1},"pieceId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"pieceRevision":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"planItemId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"kind":{"type":"string","enum":["video","photo"]},"revision":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"reviewState":{"type":"string","enum":["pending","approved","rejected"]},"renderState":{"type":"string","enum":["none","rendered"]},"provenance":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["bsale_product","catalog_product","upload","brand_logo","screen_capture"]},"ref":{"type":["string","null"]}},"required":["type"],"additionalProperties":false}},"mime":{"type":["string","null"]},"byteSize":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"width":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"height":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"durationSeconds":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"uploadState":{"anyOf":[{"type":"string","enum":["pending","ready","failed"]},{"type":"null"}]},"uploadError":{"type":["string","null"]},"revisions":{"type":"array","items":{"type":"object","properties":{"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"mime":{"type":["string","null"]},"renderJobId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"createdAt":{"type":"number"}},"required":["revision","url","mime","renderJobId","createdAt"],"additionalProperties":false}},"review":{"anyOf":[{"type":"object","properties":{"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"decision":{"type":"string","enum":["approved","rejected"]},"actor":{"type":"string","minLength":1},"policyVersion":{"type":"integer","minimum":0,"maximum":9007199254740991},"note":{"type":["string","null"]},"decidedAt":{"type":"number"}},"required":["revision","decision","actor","policyVersion","note","decidedAt"],"additionalProperties":false},{"type":"null"}]},"costs":{"type":"object","properties":{"estimatedUsd":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"actualUsd":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]}},"required":["estimatedUsd","actualUsd"],"additionalProperties":false},"nextAction":{"type":["string","null"]},"createdAt":{"type":"number"},"updatedAt":{"type":"number"}},"required":["id","pieceId","pieceRevision","planItemId","kind","revision","reviewState","renderState","provenance","mime","byteSize","width","height","durationSeconds","uploadState","uploadError","revisions","review","costs","nextAction","createdAt","updatedAt"],"additionalProperties":false}},"required":["media"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

content media upload-bytes

  • Operation ID: content.media.upload_bytes
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: content:write
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/content/media/upload-bytes
  • MCP: manage_media (action upload_bytes) — Upload Andy Content Media bytes. Upload one PNG/JPEG image as JSON-transport bytes (max 3 MB raw) and create a reusable photo Media Asset with sourceType upload. The server stores the bytes itself — no preparation, no upload URL, no client storage id — then completes through the same shared upload lifecycle as the direct-upload door. Replaying the same idempotencyKey with the same bytes returns the same asset; the same key with different bytes is idempotency_conflict. Read the asset back with content.media.inspect and attach its id as mediaAssetId on content.post.create for any channel. Anyone permitted to create Posts may upload.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, workspace_archived, idempotency_conflict, insufficient_scope

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"bytesBase64":{"type":"string","minLength":4,"maxLength":4000000},"contentType":{"type":"string","enum":["image/png","image/jpeg"]},"fileName":{"type":"string","minLength":1,"maxLength":200},"sourceRef":{"type":"string","minLength":1,"maxLength":500},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["bytesBase64","contentType","fileName"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"media":{"type":"object","properties":{"id":{"type":"string","minLength":1},"pieceId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"pieceRevision":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"planItemId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"kind":{"type":"string","enum":["video","photo"]},"revision":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"reviewState":{"type":"string","enum":["pending","approved","rejected"]},"renderState":{"type":"string","enum":["none","rendered"]},"provenance":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["bsale_product","catalog_product","upload","brand_logo","screen_capture"]},"ref":{"type":["string","null"]}},"required":["type"],"additionalProperties":false}},"mime":{"type":["string","null"]},"byteSize":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"width":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"height":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"durationSeconds":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"uploadState":{"anyOf":[{"type":"string","enum":["pending","ready","failed"]},{"type":"null"}]},"uploadError":{"type":["string","null"]},"revisions":{"type":"array","items":{"type":"object","properties":{"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"mime":{"type":["string","null"]},"renderJobId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"createdAt":{"type":"number"}},"required":["revision","url","mime","renderJobId","createdAt"],"additionalProperties":false}},"review":{"anyOf":[{"type":"object","properties":{"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"decision":{"type":"string","enum":["approved","rejected"]},"actor":{"type":"string","minLength":1},"policyVersion":{"type":"integer","minimum":0,"maximum":9007199254740991},"note":{"type":["string","null"]},"decidedAt":{"type":"number"}},"required":["revision","decision","actor","policyVersion","note","decidedAt"],"additionalProperties":false},{"type":"null"}]},"costs":{"type":"object","properties":{"estimatedUsd":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"actualUsd":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]}},"required":["estimatedUsd","actualUsd"],"additionalProperties":false},"nextAction":{"type":["string","null"]},"createdAt":{"type":"number"},"updatedAt":{"type":"number"}},"required":["id","pieceId","pieceRevision","planItemId","kind","revision","reviewState","renderState","provenance","mime","byteSize","width","height","durationSeconds","uploadState","uploadError","revisions","review","costs","nextAction","createdAt","updatedAt"],"additionalProperties":false}},"required":["media"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

content post create

  • Operation ID: content.post.create
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: content:write
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/content/posts/create
  • MCP: manage_post (action create) — Create an Andy Content Post. Create a direct Post for one channel with an explicit intent (default request_approval). request_approval always files the Post as pending_approval with no dispatch, storing a proposed future scheduledAt (when the caller gives none, Andy proposes the connection's next free posting slot at least 30 minutes out, or the next full hour when the connection has no slots). schedule requires an explicit future scheduledAt and directly approves+schedules for Owner/Admin. publish_now is explicitly immediate and rejects scheduledAt. Members may only request approval. A Workspace API Key needs content:write, plus content:schedule for schedule or content:publish for publish_now. Media: mediaAssetId attaches one Media Asset; mediaAssetIds attaches several images in publish order (X up to 4, LinkedIn up to 20, Instagram up to 10 as a feed carousel; TikTok takes one video). A video is always the Post's only media item. Send one of the two; a breach is media_unsupported. Create's optional targetType (personal_profile | company_page, LinkedIn only) picks the destination without an id; omitted, LinkedIn stays on the member profile. Optional firstComment (X up to 280 characters, LinkedIn up to 1250) is posted by Andy right after the Post publishes: a reply to the tweet on X, a comment by the same author on LinkedIn; Instagram and TikTok refuse it with first_comment_unsupported. It is part of what approval pins. X only: optional xCommunity { id, shareWithFollowers } (id from the Post's connection xCommunities, see content.connection.add_x_community) publishes the Post to that X Community instead of the author's timeline; shareWithFollowers:true also shows it to the author's followers. The author must be a member of the community. Other channels refuse it with x_community_unsupported; a community the connection has not saved is x_community_not_saved. Approval pins it. X Articles: send article { title, body, coverMediaAssetId? } instead of text (connections whose capabilities.formats include article; otherwise post_format_unsupported). The body is Markdown stored exactly as sent; inline images are ![caption](media:<mediaAssetId>) Workspace Media Assets, and they and the cover must be JPEG/PNG up to 5 MB. An Article takes no mediaAssetId, mediaAssetIds, firstComment or xCommunity; copy.text is its title. Approval pins the title, body, cover and every inline image. On an X connection with an active slot guard (content.connection.set_slot_guard), a time outside its reply windows or within its minimum gap of another approved or published X Post on the connection is refused with slot_guard_warning, whose slotWarnings say why and whose nextAction repeats the call with acknowledgeSlotWarnings: true; once acknowledged the write goes through and its result carries the same slotWarnings. It applies to schedule and publish_now, never to a request_approval proposal; a dateless proposal prefers the guard's next window start that keeps the gap.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, setup_required, instagram_media_required, instagram_media_unsupported, media_unsupported, media_pending, tiktok_settings_required, tiktok_consent_required, tiktok_privacy_invalid, tiktok_media_required, tiktok_media_unsupported, tiktok_media_too_long, tiktok_interaction_unavailable, tiktok_branded_private, tiktok_caption_too_long, tiktok_delivery_unconfigured, tiktok_delivery_misconfigured, tiktok_media_unmeasured, tiktok_creator_cap_missing, first_comment_unsupported, x_community_unsupported, x_community_not_saved, post_text_too_long, post_format_unsupported, article_body_empty, article_markdown_too_long, article_image_source_unsupported, article_link_unsupported, article_html_unsupported, slot_guard_warning, idempotency_conflict, insufficient_scope

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","oneOf":[{"type":"object","properties":{"channel":{"type":"string","enum":["x","linkedin","instagram","tiktok"]},"text":{"type":"string","minLength":1,"maxLength":25000},"targetType":{"type":"string","enum":["personal_profile","company_page"]},"mediaAssetId":{"type":"string","minLength":1},"mediaAssetIds":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":1}},"tiktokSettings":{"type":"object","properties":{"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"commentEnabled":{"type":"boolean"},"duetEnabled":{"type":"boolean"},"stitchEnabled":{"type":"boolean"},"commercialContent":{"type":"string","enum":["off","own_brand","branded","both"]},"consentAccepted":{"type":"boolean"}},"required":["privacyLevel"],"additionalProperties":false},"firstComment":{"type":"string","minLength":1,"maxLength":1250},"xCommunity":{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9]{1,19}$"},"shareWithFollowers":{"type":"boolean"}},"required":["id","shareWithFollowers"],"additionalProperties":false},"quotePost":{"description":"X only: quote an X or Twitter status URL or numeric post id. null clears it. Not supported on Articles.","type":["string","null"]},"connectionId":{"type":"string","minLength":1},"intent":{"type":"string","enum":["request_approval","schedule","publish_now"]},"scheduledAt":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"acknowledgeSlotWarnings":{"type":"boolean"},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["channel","text"],"additionalProperties":false},{"type":"object","properties":{"channel":{"type":"string","enum":["x","linkedin","instagram","tiktok"]},"article":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":1000},"body":{"type":"string","minLength":1,"maxLength":100000},"coverMediaAssetId":{"type":"string","minLength":1}},"required":["title","body"],"additionalProperties":false},"quotePost":{"type":["string","null"]},"connectionId":{"type":"string","minLength":1},"intent":{"type":"string","enum":["request_approval","schedule","publish_now"]},"scheduledAt":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"acknowledgeSlotWarnings":{"type":"boolean"},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["channel","article"],"additionalProperties":false}]}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"post":{"type":"object","properties":{"id":{"type":"string","minLength":1},"channel":{"type":"string","enum":["x","linkedin","instagram","tiktok"]},"status":{"type":"string","enum":["pending_approval","approved","published","failed","rejected"]},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"format":{"default":"text","type":"string","enum":["text","article"]},"copy":{"type":"object","properties":{"text":{"type":"string"},"hashtags":{"type":"array","items":{"type":"string"}},"cta":{"type":["string","null"]}},"required":["text","hashtags","cta"],"additionalProperties":false},"article":{"default":null,"anyOf":[{"type":"object","properties":{"title":{"type":"string"},"body":{"type":"string"},"coverMediaAssetId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]}},"required":["title","body","coverMediaAssetId"],"additionalProperties":false},{"type":"null"}]},"scheduledAt":{"type":["number","null"]},"publishState":{"anyOf":[{"type":"string","enum":["queued","paused","publishing","manual_exported","published","failed","unknown","cancelled"]},{"type":"null"}]},"publishError":{"type":["string","null"]},"externalPostId":{"type":["string","null"]},"externalUrl":{"anyOf":[{"type":"string","format":"starts_with","pattern":"^https:\\/\\/.*"},{"type":"null"}]},"mediaAssetId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"mediaAssetIds":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"mediaRevision":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"tiktokSettings":{"anyOf":[{"type":"object","properties":{"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"commentEnabled":{"type":"boolean"},"duetEnabled":{"type":"boolean"},"stitchEnabled":{"type":"boolean"},"commercialContent":{"type":"string","enum":["off","own_brand","branded","both"]}},"required":["privacyLevel","commentEnabled","duetEnabled","stitchEnabled","commercialContent"],"additionalProperties":false},{"type":"null"}]},"firstComment":{"anyOf":[{"type":"object","properties":{"text":{"type":"string","minLength":1},"state":{"type":"string","enum":["pending","posting","posted","failed"]},"externalId":{"type":["string","null"]},"externalUrl":{"anyOf":[{"type":"string","format":"starts_with","pattern":"^https:\\/\\/.*"},{"type":"null"}]},"error":{"type":["string","null"]},"updatedAt":{"type":["number","null"]}},"required":["text","state","externalId","externalUrl","error","updatedAt"],"additionalProperties":false},{"type":"null"}]},"xCommunity":{"default":null,"anyOf":[{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9]{1,19}$"},"shareWithFollowers":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":80}},"required":["id","shareWithFollowers","name"],"additionalProperties":false},{"type":"null"}]},"quotePost":{"default":null,"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":["id","url"],"additionalProperties":false},{"type":"null"}]},"connectionId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"connectionLabel":{"type":["string","null"]},"url":{"default":null,"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"approval":{"anyOf":[{"type":"object","properties":{"approvedAt":{"type":"number"},"approvedBy":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"approvedRevision":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"actor":{"type":"string","minLength":1},"contentHash":{"type":"string","minLength":1},"destinationFingerprint":{"type":["string","null"]}},"required":["approvedAt","approvedBy","approvedRevision","actor","contentHash","destinationFingerprint"],"additionalProperties":false},{"type":"null"}]},"terminalReason":{"anyOf":[{"type":"string","enum":["rejected","cancelled","dismissed"]},{"type":"null"}]},"terminalAt":{"type":["number","null"]},"terminalActor":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"terminalNote":{"type":["string","null"]},"nextAction":{"type":["string","null"]},"createdAt":{"type":"number"},"updatedAt":{"type":"number"}},"required":["id","channel","status","revision","format","copy","article","scheduledAt","publishState","publishError","externalPostId","externalUrl","mediaAssetId","mediaAssetIds","mediaRevision","tiktokSettings","xCommunity","quotePost","connectionId","connectionLabel","url","approval","terminalReason","terminalAt","terminalActor","terminalNote","nextAction","createdAt","updatedAt"],"additionalProperties":false},"slotWarnings":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"outside_reply_window"},"scheduledAt":{"type":"number"},"timeZone":{"type":"string"},"nextWindowStart":{"type":["number","null"]}},"required":["code","scheduledAt","timeZone","nextWindowStart"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","const":"within_min_gap"},"scheduledAt":{"type":"number"},"minGapMinutes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"conflictingPostId":{"type":["string","null"]},"conflictingAt":{"type":"number"}},"required":["code","scheduledAt","minGapMinutes","conflictingPostId","conflictingAt"],"additionalProperties":false}]}}},"required":["post"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

content post list

  • Operation ID: content.post.list
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: content:read
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/content/posts/list
  • MCP: list_posts — List Andy Content Posts. List Workspace Posts newest first. Filter status=pending_approval for the one approval queue. Every row carries url, the Post's own page in the App.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, workspace_archived, insufficient_scope

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"cursor":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"pageSize":{"default":50,"type":"integer","minimum":1,"maximum":100},"status":{"type":"string","enum":["pending_approval","approved","published","failed","rejected"]}},"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"posts":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"channel":{"type":"string","enum":["x","linkedin","instagram","tiktok"]},"status":{"type":"string","enum":["pending_approval","approved","published","failed","rejected"]},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"format":{"default":"text","type":"string","enum":["text","article"]},"copy":{"type":"object","properties":{"text":{"type":"string"},"hashtags":{"type":"array","items":{"type":"string"}},"cta":{"type":["string","null"]}},"required":["text","hashtags","cta"],"additionalProperties":false},"article":{"default":null,"anyOf":[{"type":"object","properties":{"title":{"type":"string"},"body":{"type":"string"},"coverMediaAssetId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]}},"required":["title","body","coverMediaAssetId"],"additionalProperties":false},{"type":"null"}]},"scheduledAt":{"type":["number","null"]},"publishState":{"anyOf":[{"type":"string","enum":["queued","paused","publishing","manual_exported","published","failed","unknown","cancelled"]},{"type":"null"}]},"publishError":{"type":["string","null"]},"externalPostId":{"type":["string","null"]},"externalUrl":{"anyOf":[{"type":"string","format":"starts_with","pattern":"^https:\\/\\/.*"},{"type":"null"}]},"mediaAssetId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"mediaAssetIds":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"mediaRevision":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"tiktokSettings":{"anyOf":[{"type":"object","properties":{"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"commentEnabled":{"type":"boolean"},"duetEnabled":{"type":"boolean"},"stitchEnabled":{"type":"boolean"},"commercialContent":{"type":"string","enum":["off","own_brand","branded","both"]}},"required":["privacyLevel","commentEnabled","duetEnabled","stitchEnabled","commercialContent"],"additionalProperties":false},{"type":"null"}]},"firstComment":{"anyOf":[{"type":"object","properties":{"text":{"type":"string","minLength":1},"state":{"type":"string","enum":["pending","posting","posted","failed"]},"externalId":{"type":["string","null"]},"externalUrl":{"anyOf":[{"type":"string","format":"starts_with","pattern":"^https:\\/\\/.*"},{"type":"null"}]},"error":{"type":["string","null"]},"updatedAt":{"type":["number","null"]}},"required":["text","state","externalId","externalUrl","error","updatedAt"],"additionalProperties":false},{"type":"null"}]},"xCommunity":{"default":null,"anyOf":[{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9]{1,19}$"},"shareWithFollowers":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":80}},"required":["id","shareWithFollowers","name"],"additionalProperties":false},{"type":"null"}]},"quotePost":{"default":null,"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":["id","url"],"additionalProperties":false},{"type":"null"}]},"connectionId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"connectionLabel":{"type":["string","null"]},"url":{"default":null,"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"approval":{"anyOf":[{"type":"object","properties":{"approvedAt":{"type":"number"},"approvedBy":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"approvedRevision":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"actor":{"type":"string","minLength":1},"contentHash":{"type":"string","minLength":1},"destinationFingerprint":{"type":["string","null"]}},"required":["approvedAt","approvedBy","approvedRevision","actor","contentHash","destinationFingerprint"],"additionalProperties":false},{"type":"null"}]},"terminalReason":{"anyOf":[{"type":"string","enum":["rejected","cancelled","dismissed"]},{"type":"null"}]},"terminalAt":{"type":["number","null"]},"terminalActor":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"terminalNote":{"type":["string","null"]},"nextAction":{"type":["string","null"]},"createdAt":{"type":"number"},"updatedAt":{"type":"number"}},"required":["id","channel","status","revision","format","copy","article","scheduledAt","publishState","publishError","externalPostId","externalUrl","mediaAssetId","mediaAssetIds","mediaRevision","tiktokSettings","xCommunity","quotePost","connectionId","connectionLabel","url","approval","terminalReason","terminalAt","terminalActor","terminalNote","nextAction","createdAt","updatedAt"],"additionalProperties":false}}},"required":["posts"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

content post show

  • Operation ID: content.post.inspect
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: content:read
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/content/posts/inspect
  • MCP: list_posts — Inspect an Andy Content Post. Inspect one exact Post by id, including lifecycle and publish state and url, the Post's own page in the App to share.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, insufficient_scope

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"postId":{"type":"string","minLength":1}},"required":["postId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"post":{"type":"object","properties":{"id":{"type":"string","minLength":1},"channel":{"type":"string","enum":["x","linkedin","instagram","tiktok"]},"status":{"type":"string","enum":["pending_approval","approved","published","failed","rejected"]},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"format":{"default":"text","type":"string","enum":["text","article"]},"copy":{"type":"object","properties":{"text":{"type":"string"},"hashtags":{"type":"array","items":{"type":"string"}},"cta":{"type":["string","null"]}},"required":["text","hashtags","cta"],"additionalProperties":false},"article":{"default":null,"anyOf":[{"type":"object","properties":{"title":{"type":"string"},"body":{"type":"string"},"coverMediaAssetId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]}},"required":["title","body","coverMediaAssetId"],"additionalProperties":false},{"type":"null"}]},"scheduledAt":{"type":["number","null"]},"publishState":{"anyOf":[{"type":"string","enum":["queued","paused","publishing","manual_exported","published","failed","unknown","cancelled"]},{"type":"null"}]},"publishError":{"type":["string","null"]},"externalPostId":{"type":["string","null"]},"externalUrl":{"anyOf":[{"type":"string","format":"starts_with","pattern":"^https:\\/\\/.*"},{"type":"null"}]},"mediaAssetId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"mediaAssetIds":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"mediaRevision":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"tiktokSettings":{"anyOf":[{"type":"object","properties":{"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"commentEnabled":{"type":"boolean"},"duetEnabled":{"type":"boolean"},"stitchEnabled":{"type":"boolean"},"commercialContent":{"type":"string","enum":["off","own_brand","branded","both"]}},"required":["privacyLevel","commentEnabled","duetEnabled","stitchEnabled","commercialContent"],"additionalProperties":false},{"type":"null"}]},"firstComment":{"anyOf":[{"type":"object","properties":{"text":{"type":"string","minLength":1},"state":{"type":"string","enum":["pending","posting","posted","failed"]},"externalId":{"type":["string","null"]},"externalUrl":{"anyOf":[{"type":"string","format":"starts_with","pattern":"^https:\\/\\/.*"},{"type":"null"}]},"error":{"type":["string","null"]},"updatedAt":{"type":["number","null"]}},"required":["text","state","externalId","externalUrl","error","updatedAt"],"additionalProperties":false},{"type":"null"}]},"xCommunity":{"default":null,"anyOf":[{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9]{1,19}$"},"shareWithFollowers":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":80}},"required":["id","shareWithFollowers","name"],"additionalProperties":false},{"type":"null"}]},"quotePost":{"default":null,"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":["id","url"],"additionalProperties":false},{"type":"null"}]},"connectionId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"connectionLabel":{"type":["string","null"]},"url":{"default":null,"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"approval":{"anyOf":[{"type":"object","properties":{"approvedAt":{"type":"number"},"approvedBy":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"approvedRevision":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"actor":{"type":"string","minLength":1},"contentHash":{"type":"string","minLength":1},"destinationFingerprint":{"type":["string","null"]}},"required":["approvedAt","approvedBy","approvedRevision","actor","contentHash","destinationFingerprint"],"additionalProperties":false},{"type":"null"}]},"terminalReason":{"anyOf":[{"type":"string","enum":["rejected","cancelled","dismissed"]},{"type":"null"}]},"terminalAt":{"type":["number","null"]},"terminalActor":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"terminalNote":{"type":["string","null"]},"nextAction":{"type":["string","null"]},"createdAt":{"type":"number"},"updatedAt":{"type":"number"}},"required":["id","channel","status","revision","format","copy","article","scheduledAt","publishState","publishError","externalPostId","externalUrl","mediaAssetId","mediaAssetIds","mediaRevision","tiktokSettings","xCommunity","quotePost","connectionId","connectionLabel","url","approval","terminalReason","terminalAt","terminalActor","terminalNote","nextAction","createdAt","updatedAt"],"additionalProperties":false},"slotWarnings":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"outside_reply_window"},"scheduledAt":{"type":"number"},"timeZone":{"type":"string"},"nextWindowStart":{"type":["number","null"]}},"required":["code","scheduledAt","timeZone","nextWindowStart"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","const":"within_min_gap"},"scheduledAt":{"type":"number"},"minGapMinutes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"conflictingPostId":{"type":["string","null"]},"conflictingAt":{"type":"number"}},"required":["code","scheduledAt","minGapMinutes","conflictingPostId","conflictingAt"],"additionalProperties":false}]}}},"required":["post"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

content post edit

  • Operation ID: content.post.edit
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: content:write
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/content/posts/edit
  • MCP: manage_post (action edit) — Edit an Andy Content Post. Edit text, media, first comment (null removes it), quote, X Community (xCommunity { id, shareWithFollowers }; null sends the Post back to the author's timeline), or proposed time on a pending_approval Post (Owner/Admin). Media is replaced whole: mediaAssetId (one asset, null detaches) or mediaAssetIds (the ordered list, null or [] detaches all), with create's per-channel limits. An approved Post that has not started publishing can be edited too, except its time (use reschedule): an Owner/Admin, or a Workspace API Key with content:approve, keeps the approval and its scheduled time; a key without content:approve sends the Post back to pending_approval. A Post that has started publishing (even if a retry queued it again) or has published cannot be edited. An Article is edited with article { title, body, coverMediaAssetId? }, replaced whole; it refuses text, mediaAssetId and mediaAssetIds, and a text Post refuses article.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, instagram_media_required, instagram_media_unsupported, media_unsupported, media_pending, first_comment_unsupported, x_community_unsupported, x_community_not_saved, post_text_too_long, post_format_unsupported, article_body_empty, article_markdown_too_long, article_image_source_unsupported, article_link_unsupported, article_html_unsupported, idempotency_conflict, insufficient_scope

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"postId":{"type":"string","minLength":1},"text":{"type":"string","minLength":1,"maxLength":25000},"article":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":1000},"body":{"type":"string","minLength":1,"maxLength":100000},"coverMediaAssetId":{"type":"string","minLength":1}},"required":["title","body"],"additionalProperties":false},"mediaAssetId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"mediaAssetIds":{"anyOf":[{"minItems":0,"maxItems":20,"type":"array","items":{"type":"string","minLength":1}},{"type":"null"}]},"scheduledAt":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"firstComment":{"anyOf":[{"type":"string","minLength":1,"maxLength":1250},{"type":"null"}]},"xCommunity":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9]{1,19}$"},"shareWithFollowers":{"type":"boolean"}},"required":["id","shareWithFollowers"],"additionalProperties":false},{"type":"null"}]},"quotePost":{"description":"X only: quote an X or Twitter status URL or numeric post id. null clears it. Not supported on Articles.","type":["string","null"]},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["postId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"post":{"type":"object","properties":{"id":{"type":"string","minLength":1},"channel":{"type":"string","enum":["x","linkedin","instagram","tiktok"]},"status":{"type":"string","enum":["pending_approval","approved","published","failed","rejected"]},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"format":{"default":"text","type":"string","enum":["text","article"]},"copy":{"type":"object","properties":{"text":{"type":"string"},"hashtags":{"type":"array","items":{"type":"string"}},"cta":{"type":["string","null"]}},"required":["text","hashtags","cta"],"additionalProperties":false},"article":{"default":null,"anyOf":[{"type":"object","properties":{"title":{"type":"string"},"body":{"type":"string"},"coverMediaAssetId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]}},"required":["title","body","coverMediaAssetId"],"additionalProperties":false},{"type":"null"}]},"scheduledAt":{"type":["number","null"]},"publishState":{"anyOf":[{"type":"string","enum":["queued","paused","publishing","manual_exported","published","failed","unknown","cancelled"]},{"type":"null"}]},"publishError":{"type":["string","null"]},"externalPostId":{"type":["string","null"]},"externalUrl":{"anyOf":[{"type":"string","format":"starts_with","pattern":"^https:\\/\\/.*"},{"type":"null"}]},"mediaAssetId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"mediaAssetIds":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"mediaRevision":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"tiktokSettings":{"anyOf":[{"type":"object","properties":{"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"commentEnabled":{"type":"boolean"},"duetEnabled":{"type":"boolean"},"stitchEnabled":{"type":"boolean"},"commercialContent":{"type":"string","enum":["off","own_brand","branded","both"]}},"required":["privacyLevel","commentEnabled","duetEnabled","stitchEnabled","commercialContent"],"additionalProperties":false},{"type":"null"}]},"firstComment":{"anyOf":[{"type":"object","properties":{"text":{"type":"string","minLength":1},"state":{"type":"string","enum":["pending","posting","posted","failed"]},"externalId":{"type":["string","null"]},"externalUrl":{"anyOf":[{"type":"string","format":"starts_with","pattern":"^https:\\/\\/.*"},{"type":"null"}]},"error":{"type":["string","null"]},"updatedAt":{"type":["number","null"]}},"required":["text","state","externalId","externalUrl","error","updatedAt"],"additionalProperties":false},{"type":"null"}]},"xCommunity":{"default":null,"anyOf":[{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9]{1,19}$"},"shareWithFollowers":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":80}},"required":["id","shareWithFollowers","name"],"additionalProperties":false},{"type":"null"}]},"quotePost":{"default":null,"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":["id","url"],"additionalProperties":false},{"type":"null"}]},"connectionId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"connectionLabel":{"type":["string","null"]},"url":{"default":null,"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"approval":{"anyOf":[{"type":"object","properties":{"approvedAt":{"type":"number"},"approvedBy":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"approvedRevision":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"actor":{"type":"string","minLength":1},"contentHash":{"type":"string","minLength":1},"destinationFingerprint":{"type":["string","null"]}},"required":["approvedAt","approvedBy","approvedRevision","actor","contentHash","destinationFingerprint"],"additionalProperties":false},{"type":"null"}]},"terminalReason":{"anyOf":[{"type":"string","enum":["rejected","cancelled","dismissed"]},{"type":"null"}]},"terminalAt":{"type":["number","null"]},"terminalActor":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"terminalNote":{"type":["string","null"]},"nextAction":{"type":["string","null"]},"createdAt":{"type":"number"},"updatedAt":{"type":"number"}},"required":["id","channel","status","revision","format","copy","article","scheduledAt","publishState","publishError","externalPostId","externalUrl","mediaAssetId","mediaAssetIds","mediaRevision","tiktokSettings","xCommunity","quotePost","connectionId","connectionLabel","url","approval","terminalReason","terminalAt","terminalActor","terminalNote","nextAction","createdAt","updatedAt"],"additionalProperties":false},"slotWarnings":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"outside_reply_window"},"scheduledAt":{"type":"number"},"timeZone":{"type":"string"},"nextWindowStart":{"type":["number","null"]}},"required":["code","scheduledAt","timeZone","nextWindowStart"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","const":"within_min_gap"},"scheduledAt":{"type":"number"},"minGapMinutes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"conflictingPostId":{"type":["string","null"]},"conflictingAt":{"type":"number"}},"required":["code","scheduledAt","minGapMinutes","conflictingPostId","conflictingAt"],"additionalProperties":false}]}}},"required":["post"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

content post approve

  • Operation ID: content.post.approve
  • Authentication: workspace_api_key
  • Workspace selection: required
  • Required API Key scope: content:write
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/content/posts/approve
  • MCP: manage_post (action approve) — Approve an Andy Content Post. Approve one pending_approval Post (Owner/Admin) with an explicit future scheduledAt; with scheduledAt "recommended", which keeps the Post's proposal while it is still ahead and otherwise takes the connection's next free posting slot (the result carries the chosen scheduledAt); or publish it immediately with publishNow:true — a separate explicit intent, never the default and never derived from a missing or expired proposal. Pins content and connection, then schedules publish or dispatches now. A Workspace API Key needs content:write plus content:approve and content:schedule (or content:publish instead of content:schedule for publishNow). On an X connection with an active slot guard (content.connection.set_slot_guard), a time outside its reply windows or within its minimum gap of another approved or published X Post on the connection is refused with slot_guard_warning, whose slotWarnings say why and whose nextAction repeats the call with acknowledgeSlotWarnings: true; once acknowledged the write goes through and its result carries the same slotWarnings.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, setup_required, instagram_media_required, instagram_media_unsupported, media_unsupported, media_pending, tiktok_settings_required, tiktok_consent_required, tiktok_privacy_invalid, tiktok_media_required, tiktok_media_unsupported, tiktok_media_too_long, tiktok_interaction_unavailable, tiktok_branded_private, tiktok_caption_too_long, tiktok_delivery_unconfigured, tiktok_delivery_misconfigured, tiktok_media_unmeasured, tiktok_creator_cap_missing, x_community_not_saved, post_text_too_long, post_format_unsupported, article_body_empty, article_markdown_too_long, article_image_source_unsupported, article_link_unsupported, article_html_unsupported, slot_guard_warning, idempotency_conflict, insufficient_scope

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","oneOf":[{"type":"object","properties":{"postId":{"type":"string","minLength":1},"scheduledAt":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"string","const":"recommended"}]},"consentAccepted":{"type":"boolean"},"acknowledgeSlotWarnings":{"type":"boolean"},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["postId","scheduledAt"],"additionalProperties":false},{"type":"object","properties":{"postId":{"type":"string","minLength":1},"publishNow":{"type":"boolean","const":true},"consentAccepted":{"type":"boolean"},"acknowledgeSlotWarnings":{"type":"boolean"},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["postId","publishNow"],"additionalProperties":false}]}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"post":{"type":"object","properties":{"id":{"type":"string","minLength":1},"channel":{"type":"string","enum":["x","linkedin","instagram","tiktok"]},"status":{"type":"string","enum":["pending_approval","approved","published","failed","rejected"]},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"format":{"default":"text","type":"string","enum":["text","article"]},"copy":{"type":"object","properties":{"text":{"type":"string"},"hashtags":{"type":"array","items":{"type":"string"}},"cta":{"type":["string","null"]}},"required":["text","hashtags","cta"],"additionalProperties":false},"article":{"default":null,"anyOf":[{"type":"object","properties":{"title":{"type":"string"},"body":{"type":"string"},"coverMediaAssetId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]}},"required":["title","body","coverMediaAssetId"],"additionalProperties":false},{"type":"null"}]},"scheduledAt":{"type":["number","null"]},"publishState":{"anyOf":[{"type":"string","enum":["queued","paused","publishing","manual_exported","published","failed","unknown","cancelled"]},{"type":"null"}]},"publishError":{"type":["string","null"]},"externalPostId":{"type":["string","null"]},"externalUrl":{"anyOf":[{"type":"string","format":"starts_with","pattern":"^https:\\/\\/.*"},{"type":"null"}]},"mediaAssetId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"mediaAssetIds":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"mediaRevision":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"tiktokSettings":{"anyOf":[{"type":"object","properties":{"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"commentEnabled":{"type":"boolean"},"duetEnabled":{"type":"boolean"},"stitchEnabled":{"type":"boolean"},"commercialContent":{"type":"string","enum":["off","own_brand","branded","both"]}},"required":["privacyLevel","commentEnabled","duetEnabled","stitchEnabled","commercialContent"],"additionalProperties":false},{"type":"null"}]},"firstComment":{"anyOf":[{"type":"object","properties":{"text":{"type":"string","minLength":1},"state":{"type":"string","enum":["pending","posting","posted","failed"]},"externalId":{"type":["string","null"]},"externalUrl":{"anyOf":[{"type":"string","format":"starts_with","pattern":"^https:\\/\\/.*"},{"type":"null"}]},"error":{"type":["string","null"]},"updatedAt":{"type":["number","null"]}},"required":["text","state","externalId","externalUrl","error","updatedAt"],"additionalProperties":false},{"type":"null"}]},"xCommunity":{"default":null,"anyOf":[{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9]{1,19}$"},"shareWithFollowers":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":80}},"required":["id","shareWithFollowers","name"],"additionalProperties":false},{"type":"null"}]},"quotePost":{"default":null,"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":["id","url"],"additionalProperties":false},{"type":"null"}]},"connectionId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"connectionLabel":{"type":["string","null"]},"url":{"default":null,"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"approval":{"anyOf":[{"type":"object","properties":{"approvedAt":{"type":"number"},"approvedBy":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"approvedRevision":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"actor":{"type":"string","minLength":1},"contentHash":{"type":"string","minLength":1},"destinationFingerprint":{"type":["string","null"]}},"required":["approvedAt","approvedBy","approvedRevision","actor","contentHash","destinationFingerprint"],"additionalProperties":false},{"type":"null"}]},"terminalReason":{"anyOf":[{"type":"string","enum":["rejected","cancelled","dismissed"]},{"type":"null"}]},"terminalAt":{"type":["number","null"]},"terminalActor":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"terminalNote":{"type":["string","null"]},"nextAction":{"type":["string","null"]},"createdAt":{"type":"number"},"updatedAt":{"type":"number"}},"required":["id","channel","status","revision","format","copy","article","scheduledAt","publishState","publishError","externalPostId","externalUrl","mediaAssetId","mediaAssetIds","mediaRevision","tiktokSettings","xCommunity","quotePost","connectionId","connectionLabel","url","approval","terminalReason","terminalAt","terminalActor","terminalNote","nextAction","createdAt","updatedAt"],"additionalProperties":false},"slotWarnings":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"outside_reply_window"},"scheduledAt":{"type":"number"},"timeZone":{"type":"string"},"nextWindowStart":{"type":["number","null"]}},"required":["code","scheduledAt","timeZone","nextWindowStart"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","const":"within_min_gap"},"scheduledAt":{"type":"number"},"minGapMinutes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"conflictingPostId":{"type":["string","null"]},"conflictingAt":{"type":"number"}},"required":["code","scheduledAt","minGapMinutes","conflictingPostId","conflictingAt"],"additionalProperties":false}]}}},"required":["post"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

content post reject

  • Operation ID: content.post.reject
  • Authentication: workspace_api_key
  • Workspace selection: required
  • Required API Key scope: content:write
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/content/posts/reject
  • MCP: manage_post (action reject) — Reject an Andy Content Post. Reject one pending_approval Post (Owner/Admin). Rejected is terminal — no redraft loop. An optional note records why.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, idempotency_conflict, insufficient_scope

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"postId":{"type":"string","minLength":1},"note":{"type":"string","maxLength":2000},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["postId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"post":{"type":"object","properties":{"id":{"type":"string","minLength":1},"channel":{"type":"string","enum":["x","linkedin","instagram","tiktok"]},"status":{"type":"string","enum":["pending_approval","approved","published","failed","rejected"]},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"format":{"default":"text","type":"string","enum":["text","article"]},"copy":{"type":"object","properties":{"text":{"type":"string"},"hashtags":{"type":"array","items":{"type":"string"}},"cta":{"type":["string","null"]}},"required":["text","hashtags","cta"],"additionalProperties":false},"article":{"default":null,"anyOf":[{"type":"object","properties":{"title":{"type":"string"},"body":{"type":"string"},"coverMediaAssetId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]}},"required":["title","body","coverMediaAssetId"],"additionalProperties":false},{"type":"null"}]},"scheduledAt":{"type":["number","null"]},"publishState":{"anyOf":[{"type":"string","enum":["queued","paused","publishing","manual_exported","published","failed","unknown","cancelled"]},{"type":"null"}]},"publishError":{"type":["string","null"]},"externalPostId":{"type":["string","null"]},"externalUrl":{"anyOf":[{"type":"string","format":"starts_with","pattern":"^https:\\/\\/.*"},{"type":"null"}]},"mediaAssetId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"mediaAssetIds":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"mediaRevision":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"tiktokSettings":{"anyOf":[{"type":"object","properties":{"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"commentEnabled":{"type":"boolean"},"duetEnabled":{"type":"boolean"},"stitchEnabled":{"type":"boolean"},"commercialContent":{"type":"string","enum":["off","own_brand","branded","both"]}},"required":["privacyLevel","commentEnabled","duetEnabled","stitchEnabled","commercialContent"],"additionalProperties":false},{"type":"null"}]},"firstComment":{"anyOf":[{"type":"object","properties":{"text":{"type":"string","minLength":1},"state":{"type":"string","enum":["pending","posting","posted","failed"]},"externalId":{"type":["string","null"]},"externalUrl":{"anyOf":[{"type":"string","format":"starts_with","pattern":"^https:\\/\\/.*"},{"type":"null"}]},"error":{"type":["string","null"]},"updatedAt":{"type":["number","null"]}},"required":["text","state","externalId","externalUrl","error","updatedAt"],"additionalProperties":false},{"type":"null"}]},"xCommunity":{"default":null,"anyOf":[{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9]{1,19}$"},"shareWithFollowers":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":80}},"required":["id","shareWithFollowers","name"],"additionalProperties":false},{"type":"null"}]},"quotePost":{"default":null,"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":["id","url"],"additionalProperties":false},{"type":"null"}]},"connectionId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"connectionLabel":{"type":["string","null"]},"url":{"default":null,"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"approval":{"anyOf":[{"type":"object","properties":{"approvedAt":{"type":"number"},"approvedBy":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"approvedRevision":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"actor":{"type":"string","minLength":1},"contentHash":{"type":"string","minLength":1},"destinationFingerprint":{"type":["string","null"]}},"required":["approvedAt","approvedBy","approvedRevision","actor","contentHash","destinationFingerprint"],"additionalProperties":false},{"type":"null"}]},"terminalReason":{"anyOf":[{"type":"string","enum":["rejected","cancelled","dismissed"]},{"type":"null"}]},"terminalAt":{"type":["number","null"]},"terminalActor":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"terminalNote":{"type":["string","null"]},"nextAction":{"type":["string","null"]},"createdAt":{"type":"number"},"updatedAt":{"type":"number"}},"required":["id","channel","status","revision","format","copy","article","scheduledAt","publishState","publishError","externalPostId","externalUrl","mediaAssetId","mediaAssetIds","mediaRevision","tiktokSettings","xCommunity","quotePost","connectionId","connectionLabel","url","approval","terminalReason","terminalAt","terminalActor","terminalNote","nextAction","createdAt","updatedAt"],"additionalProperties":false},"slotWarnings":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"outside_reply_window"},"scheduledAt":{"type":"number"},"timeZone":{"type":"string"},"nextWindowStart":{"type":["number","null"]}},"required":["code","scheduledAt","timeZone","nextWindowStart"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","const":"within_min_gap"},"scheduledAt":{"type":"number"},"minGapMinutes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"conflictingPostId":{"type":["string","null"]},"conflictingAt":{"type":"number"}},"required":["code","scheduledAt","minGapMinutes","conflictingPostId","conflictingAt"],"additionalProperties":false}]}}},"required":["post"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

content post cancel

  • Operation ID: content.post.cancel
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: content:write
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/content/posts/cancel
  • MCP: manage_post (action cancel) — Cancel an Andy Content Post. Cancel a pending draft or an approved Post still queued for dispatch. Lands as rejected with terminalReason=cancelled. A Post paused for lost access (TikTok, LinkedIn or X; #2107, #2813) stays cancellable. Reschedule on approved/no-attempt creates the queued attempt and arms dispatch atomically.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict, insufficient_scope

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"postId":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["postId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"post":{"type":"object","properties":{"id":{"type":"string","minLength":1},"channel":{"type":"string","enum":["x","linkedin","instagram","tiktok"]},"status":{"type":"string","enum":["pending_approval","approved","published","failed","rejected"]},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"format":{"default":"text","type":"string","enum":["text","article"]},"copy":{"type":"object","properties":{"text":{"type":"string"},"hashtags":{"type":"array","items":{"type":"string"}},"cta":{"type":["string","null"]}},"required":["text","hashtags","cta"],"additionalProperties":false},"article":{"default":null,"anyOf":[{"type":"object","properties":{"title":{"type":"string"},"body":{"type":"string"},"coverMediaAssetId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]}},"required":["title","body","coverMediaAssetId"],"additionalProperties":false},{"type":"null"}]},"scheduledAt":{"type":["number","null"]},"publishState":{"anyOf":[{"type":"string","enum":["queued","paused","publishing","manual_exported","published","failed","unknown","cancelled"]},{"type":"null"}]},"publishError":{"type":["string","null"]},"externalPostId":{"type":["string","null"]},"externalUrl":{"anyOf":[{"type":"string","format":"starts_with","pattern":"^https:\\/\\/.*"},{"type":"null"}]},"mediaAssetId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"mediaAssetIds":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"mediaRevision":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"tiktokSettings":{"anyOf":[{"type":"object","properties":{"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"commentEnabled":{"type":"boolean"},"duetEnabled":{"type":"boolean"},"stitchEnabled":{"type":"boolean"},"commercialContent":{"type":"string","enum":["off","own_brand","branded","both"]}},"required":["privacyLevel","commentEnabled","duetEnabled","stitchEnabled","commercialContent"],"additionalProperties":false},{"type":"null"}]},"firstComment":{"anyOf":[{"type":"object","properties":{"text":{"type":"string","minLength":1},"state":{"type":"string","enum":["pending","posting","posted","failed"]},"externalId":{"type":["string","null"]},"externalUrl":{"anyOf":[{"type":"string","format":"starts_with","pattern":"^https:\\/\\/.*"},{"type":"null"}]},"error":{"type":["string","null"]},"updatedAt":{"type":["number","null"]}},"required":["text","state","externalId","externalUrl","error","updatedAt"],"additionalProperties":false},{"type":"null"}]},"xCommunity":{"default":null,"anyOf":[{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9]{1,19}$"},"shareWithFollowers":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":80}},"required":["id","shareWithFollowers","name"],"additionalProperties":false},{"type":"null"}]},"quotePost":{"default":null,"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":["id","url"],"additionalProperties":false},{"type":"null"}]},"connectionId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"connectionLabel":{"type":["string","null"]},"url":{"default":null,"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"approval":{"anyOf":[{"type":"object","properties":{"approvedAt":{"type":"number"},"approvedBy":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"approvedRevision":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"actor":{"type":"string","minLength":1},"contentHash":{"type":"string","minLength":1},"destinationFingerprint":{"type":["string","null"]}},"required":["approvedAt","approvedBy","approvedRevision","actor","contentHash","destinationFingerprint"],"additionalProperties":false},{"type":"null"}]},"terminalReason":{"anyOf":[{"type":"string","enum":["rejected","cancelled","dismissed"]},{"type":"null"}]},"terminalAt":{"type":["number","null"]},"terminalActor":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"terminalNote":{"type":["string","null"]},"nextAction":{"type":["string","null"]},"createdAt":{"type":"number"},"updatedAt":{"type":"number"}},"required":["id","channel","status","revision","format","copy","article","scheduledAt","publishState","publishError","externalPostId","externalUrl","mediaAssetId","mediaAssetIds","mediaRevision","tiktokSettings","xCommunity","quotePost","connectionId","connectionLabel","url","approval","terminalReason","terminalAt","terminalActor","terminalNote","nextAction","createdAt","updatedAt"],"additionalProperties":false},"slotWarnings":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"outside_reply_window"},"scheduledAt":{"type":"number"},"timeZone":{"type":"string"},"nextWindowStart":{"type":["number","null"]}},"required":["code","scheduledAt","timeZone","nextWindowStart"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","const":"within_min_gap"},"scheduledAt":{"type":"number"},"minGapMinutes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"conflictingPostId":{"type":["string","null"]},"conflictingAt":{"type":"number"}},"required":["code","scheduledAt","minGapMinutes","conflictingPostId","conflictingAt"],"additionalProperties":false}]}}},"required":["post"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

content post dismiss

  • Operation ID: content.post.dismiss
  • Authentication: workspace_api_key
  • Workspace selection: required
  • Required API Key scope: content:write
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/content/posts/dismiss
  • MCP: manage_post (action dismiss) — Dismiss a failed or unknown-outcome Andy Content Post. Dismiss one failed Post, or one approved Post whose publishState is unknown and confirmed unpublished, for Owner/Admin. Lands as rejected with terminalReason=dismissed, keeping the failed/unknown attempt as the history fact and leaving Te necesitan and the approval queue. No provider call, no job, never publishes, never retries. A Workspace API Key needs content:write.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, idempotency_conflict, insufficient_scope

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"postId":{"type":"string","minLength":1},"note":{"type":"string","maxLength":2000},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["postId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"post":{"type":"object","properties":{"id":{"type":"string","minLength":1},"channel":{"type":"string","enum":["x","linkedin","instagram","tiktok"]},"status":{"type":"string","enum":["pending_approval","approved","published","failed","rejected"]},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"format":{"default":"text","type":"string","enum":["text","article"]},"copy":{"type":"object","properties":{"text":{"type":"string"},"hashtags":{"type":"array","items":{"type":"string"}},"cta":{"type":["string","null"]}},"required":["text","hashtags","cta"],"additionalProperties":false},"article":{"default":null,"anyOf":[{"type":"object","properties":{"title":{"type":"string"},"body":{"type":"string"},"coverMediaAssetId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]}},"required":["title","body","coverMediaAssetId"],"additionalProperties":false},{"type":"null"}]},"scheduledAt":{"type":["number","null"]},"publishState":{"anyOf":[{"type":"string","enum":["queued","paused","publishing","manual_exported","published","failed","unknown","cancelled"]},{"type":"null"}]},"publishError":{"type":["string","null"]},"externalPostId":{"type":["string","null"]},"externalUrl":{"anyOf":[{"type":"string","format":"starts_with","pattern":"^https:\\/\\/.*"},{"type":"null"}]},"mediaAssetId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"mediaAssetIds":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"mediaRevision":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"tiktokSettings":{"anyOf":[{"type":"object","properties":{"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"commentEnabled":{"type":"boolean"},"duetEnabled":{"type":"boolean"},"stitchEnabled":{"type":"boolean"},"commercialContent":{"type":"string","enum":["off","own_brand","branded","both"]}},"required":["privacyLevel","commentEnabled","duetEnabled","stitchEnabled","commercialContent"],"additionalProperties":false},{"type":"null"}]},"firstComment":{"anyOf":[{"type":"object","properties":{"text":{"type":"string","minLength":1},"state":{"type":"string","enum":["pending","posting","posted","failed"]},"externalId":{"type":["string","null"]},"externalUrl":{"anyOf":[{"type":"string","format":"starts_with","pattern":"^https:\\/\\/.*"},{"type":"null"}]},"error":{"type":["string","null"]},"updatedAt":{"type":["number","null"]}},"required":["text","state","externalId","externalUrl","error","updatedAt"],"additionalProperties":false},{"type":"null"}]},"xCommunity":{"default":null,"anyOf":[{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9]{1,19}$"},"shareWithFollowers":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":80}},"required":["id","shareWithFollowers","name"],"additionalProperties":false},{"type":"null"}]},"quotePost":{"default":null,"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":["id","url"],"additionalProperties":false},{"type":"null"}]},"connectionId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"connectionLabel":{"type":["string","null"]},"url":{"default":null,"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"approval":{"anyOf":[{"type":"object","properties":{"approvedAt":{"type":"number"},"approvedBy":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"approvedRevision":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"actor":{"type":"string","minLength":1},"contentHash":{"type":"string","minLength":1},"destinationFingerprint":{"type":["string","null"]}},"required":["approvedAt","approvedBy","approvedRevision","actor","contentHash","destinationFingerprint"],"additionalProperties":false},{"type":"null"}]},"terminalReason":{"anyOf":[{"type":"string","enum":["rejected","cancelled","dismissed"]},{"type":"null"}]},"terminalAt":{"type":["number","null"]},"terminalActor":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"terminalNote":{"type":["string","null"]},"nextAction":{"type":["string","null"]},"createdAt":{"type":"number"},"updatedAt":{"type":"number"}},"required":["id","channel","status","revision","format","copy","article","scheduledAt","publishState","publishError","externalPostId","externalUrl","mediaAssetId","mediaAssetIds","mediaRevision","tiktokSettings","xCommunity","quotePost","connectionId","connectionLabel","url","approval","terminalReason","terminalAt","terminalActor","terminalNote","nextAction","createdAt","updatedAt"],"additionalProperties":false},"slotWarnings":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"outside_reply_window"},"scheduledAt":{"type":"number"},"timeZone":{"type":"string"},"nextWindowStart":{"type":["number","null"]}},"required":["code","scheduledAt","timeZone","nextWindowStart"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","const":"within_min_gap"},"scheduledAt":{"type":"number"},"minGapMinutes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"conflictingPostId":{"type":["string","null"]},"conflictingAt":{"type":"number"}},"required":["code","scheduledAt","minGapMinutes","conflictingPostId","conflictingAt"],"additionalProperties":false}]}}},"required":["post"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

content post reschedule

  • Operation ID: content.post.reschedule
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: content:write
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/content/posts/reschedule
  • MCP: manage_post (action reschedule) — Reschedule an Andy Content Post. Move the proposed or queued publish time of a pending or approved Post. Approved rows with no publish attempt get a queued attempt and dispatch armed atomically. Rescheduling an approved Post needs Owner/Admin (a Workspace API Key needs content:schedule plus content:write); moving a pending proposal needs only content:write. On an X connection with an active slot guard (content.connection.set_slot_guard), a time outside its reply windows or within its minimum gap of another approved or published X Post on the connection is refused with slot_guard_warning, whose slotWarnings say why and whose nextAction repeats the call with acknowledgeSlotWarnings: true; once acknowledged the write goes through and its result carries the same slotWarnings. It applies to approved Posts that stay armed, not to a pending proposal or a paused Post.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, slot_guard_warning, idempotency_conflict, insufficient_scope

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"postId":{"type":"string","minLength":1},"scheduledAt":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"acknowledgeSlotWarnings":{"type":"boolean"},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["postId","scheduledAt"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"post":{"type":"object","properties":{"id":{"type":"string","minLength":1},"channel":{"type":"string","enum":["x","linkedin","instagram","tiktok"]},"status":{"type":"string","enum":["pending_approval","approved","published","failed","rejected"]},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"format":{"default":"text","type":"string","enum":["text","article"]},"copy":{"type":"object","properties":{"text":{"type":"string"},"hashtags":{"type":"array","items":{"type":"string"}},"cta":{"type":["string","null"]}},"required":["text","hashtags","cta"],"additionalProperties":false},"article":{"default":null,"anyOf":[{"type":"object","properties":{"title":{"type":"string"},"body":{"type":"string"},"coverMediaAssetId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]}},"required":["title","body","coverMediaAssetId"],"additionalProperties":false},{"type":"null"}]},"scheduledAt":{"type":["number","null"]},"publishState":{"anyOf":[{"type":"string","enum":["queued","paused","publishing","manual_exported","published","failed","unknown","cancelled"]},{"type":"null"}]},"publishError":{"type":["string","null"]},"externalPostId":{"type":["string","null"]},"externalUrl":{"anyOf":[{"type":"string","format":"starts_with","pattern":"^https:\\/\\/.*"},{"type":"null"}]},"mediaAssetId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"mediaAssetIds":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"mediaRevision":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"tiktokSettings":{"anyOf":[{"type":"object","properties":{"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"commentEnabled":{"type":"boolean"},"duetEnabled":{"type":"boolean"},"stitchEnabled":{"type":"boolean"},"commercialContent":{"type":"string","enum":["off","own_brand","branded","both"]}},"required":["privacyLevel","commentEnabled","duetEnabled","stitchEnabled","commercialContent"],"additionalProperties":false},{"type":"null"}]},"firstComment":{"anyOf":[{"type":"object","properties":{"text":{"type":"string","minLength":1},"state":{"type":"string","enum":["pending","posting","posted","failed"]},"externalId":{"type":["string","null"]},"externalUrl":{"anyOf":[{"type":"string","format":"starts_with","pattern":"^https:\\/\\/.*"},{"type":"null"}]},"error":{"type":["string","null"]},"updatedAt":{"type":["number","null"]}},"required":["text","state","externalId","externalUrl","error","updatedAt"],"additionalProperties":false},{"type":"null"}]},"xCommunity":{"default":null,"anyOf":[{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9]{1,19}$"},"shareWithFollowers":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":80}},"required":["id","shareWithFollowers","name"],"additionalProperties":false},{"type":"null"}]},"quotePost":{"default":null,"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":["id","url"],"additionalProperties":false},{"type":"null"}]},"connectionId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"connectionLabel":{"type":["string","null"]},"url":{"default":null,"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"approval":{"anyOf":[{"type":"object","properties":{"approvedAt":{"type":"number"},"approvedBy":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"approvedRevision":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"actor":{"type":"string","minLength":1},"contentHash":{"type":"string","minLength":1},"destinationFingerprint":{"type":["string","null"]}},"required":["approvedAt","approvedBy","approvedRevision","actor","contentHash","destinationFingerprint"],"additionalProperties":false},{"type":"null"}]},"terminalReason":{"anyOf":[{"type":"string","enum":["rejected","cancelled","dismissed"]},{"type":"null"}]},"terminalAt":{"type":["number","null"]},"terminalActor":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"terminalNote":{"type":["string","null"]},"nextAction":{"type":["string","null"]},"createdAt":{"type":"number"},"updatedAt":{"type":"number"}},"required":["id","channel","status","revision","format","copy","article","scheduledAt","publishState","publishError","externalPostId","externalUrl","mediaAssetId","mediaAssetIds","mediaRevision","tiktokSettings","xCommunity","quotePost","connectionId","connectionLabel","url","approval","terminalReason","terminalAt","terminalActor","terminalNote","nextAction","createdAt","updatedAt"],"additionalProperties":false},"slotWarnings":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"outside_reply_window"},"scheduledAt":{"type":"number"},"timeZone":{"type":"string"},"nextWindowStart":{"type":["number","null"]}},"required":["code","scheduledAt","timeZone","nextWindowStart"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","const":"within_min_gap"},"scheduledAt":{"type":"number"},"minGapMinutes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"conflictingPostId":{"type":["string","null"]},"conflictingAt":{"type":"number"}},"required":["code","scheduledAt","minGapMinutes","conflictingPostId","conflictingAt"],"additionalProperties":false}]}}},"required":["post"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

content post pause

  • Operation ID: content.post.pause
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: content:write
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/content/posts/pause
  • MCP: manage_post (action pause) — Pause an Andy Content Post. Pause an approved queued Post without losing approval or its target. Paused posts cannot dispatch. A Member or content:write key may stop delivery.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict, insufficient_scope

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"postId":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["postId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"post":{"type":"object","properties":{"id":{"type":"string","minLength":1},"channel":{"type":"string","enum":["x","linkedin","instagram","tiktok"]},"status":{"type":"string","enum":["pending_approval","approved","published","failed","rejected"]},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"format":{"default":"text","type":"string","enum":["text","article"]},"copy":{"type":"object","properties":{"text":{"type":"string"},"hashtags":{"type":"array","items":{"type":"string"}},"cta":{"type":["string","null"]}},"required":["text","hashtags","cta"],"additionalProperties":false},"article":{"default":null,"anyOf":[{"type":"object","properties":{"title":{"type":"string"},"body":{"type":"string"},"coverMediaAssetId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]}},"required":["title","body","coverMediaAssetId"],"additionalProperties":false},{"type":"null"}]},"scheduledAt":{"type":["number","null"]},"publishState":{"anyOf":[{"type":"string","enum":["queued","paused","publishing","manual_exported","published","failed","unknown","cancelled"]},{"type":"null"}]},"publishError":{"type":["string","null"]},"externalPostId":{"type":["string","null"]},"externalUrl":{"anyOf":[{"type":"string","format":"starts_with","pattern":"^https:\\/\\/.*"},{"type":"null"}]},"mediaAssetId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"mediaAssetIds":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"mediaRevision":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"tiktokSettings":{"anyOf":[{"type":"object","properties":{"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"commentEnabled":{"type":"boolean"},"duetEnabled":{"type":"boolean"},"stitchEnabled":{"type":"boolean"},"commercialContent":{"type":"string","enum":["off","own_brand","branded","both"]}},"required":["privacyLevel","commentEnabled","duetEnabled","stitchEnabled","commercialContent"],"additionalProperties":false},{"type":"null"}]},"firstComment":{"anyOf":[{"type":"object","properties":{"text":{"type":"string","minLength":1},"state":{"type":"string","enum":["pending","posting","posted","failed"]},"externalId":{"type":["string","null"]},"externalUrl":{"anyOf":[{"type":"string","format":"starts_with","pattern":"^https:\\/\\/.*"},{"type":"null"}]},"error":{"type":["string","null"]},"updatedAt":{"type":["number","null"]}},"required":["text","state","externalId","externalUrl","error","updatedAt"],"additionalProperties":false},{"type":"null"}]},"xCommunity":{"default":null,"anyOf":[{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9]{1,19}$"},"shareWithFollowers":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":80}},"required":["id","shareWithFollowers","name"],"additionalProperties":false},{"type":"null"}]},"quotePost":{"default":null,"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":["id","url"],"additionalProperties":false},{"type":"null"}]},"connectionId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"connectionLabel":{"type":["string","null"]},"url":{"default":null,"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"approval":{"anyOf":[{"type":"object","properties":{"approvedAt":{"type":"number"},"approvedBy":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"approvedRevision":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"actor":{"type":"string","minLength":1},"contentHash":{"type":"string","minLength":1},"destinationFingerprint":{"type":["string","null"]}},"required":["approvedAt","approvedBy","approvedRevision","actor","contentHash","destinationFingerprint"],"additionalProperties":false},{"type":"null"}]},"terminalReason":{"anyOf":[{"type":"string","enum":["rejected","cancelled","dismissed"]},{"type":"null"}]},"terminalAt":{"type":["number","null"]},"terminalActor":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"terminalNote":{"type":["string","null"]},"nextAction":{"type":["string","null"]},"createdAt":{"type":"number"},"updatedAt":{"type":"number"}},"required":["id","channel","status","revision","format","copy","article","scheduledAt","publishState","publishError","externalPostId","externalUrl","mediaAssetId","mediaAssetIds","mediaRevision","tiktokSettings","xCommunity","quotePost","connectionId","connectionLabel","url","approval","terminalReason","terminalAt","terminalActor","terminalNote","nextAction","createdAt","updatedAt"],"additionalProperties":false},"slotWarnings":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"outside_reply_window"},"scheduledAt":{"type":"number"},"timeZone":{"type":"string"},"nextWindowStart":{"type":["number","null"]}},"required":["code","scheduledAt","timeZone","nextWindowStart"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","const":"within_min_gap"},"scheduledAt":{"type":"number"},"minGapMinutes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"conflictingPostId":{"type":["string","null"]},"conflictingAt":{"type":"number"}},"required":["code","scheduledAt","minGapMinutes","conflictingPostId","conflictingAt"],"additionalProperties":false}]}}},"required":["post"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

content post retry-first-comment

  • Operation ID: content.post.retry_first_comment
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: content:write
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/content/posts/retry-first-comment
  • MCP: manage_post (action retry_first_comment) — Retry an Andy Post's first comment. Post the first comment again for a published Post whose firstComment.state is failed. Only the comment is retried; the Post itself is never republished. It posts through the Post's connection; when that connection was replaced by a reconnect, through its single replacement. Optional connectionId (a list_connections row of the same workspace, provider and target, connected, with the comment scope) picks the connection explicitly and is required when the replacement is ambiguous. Owner/Admin, or an API key with content:write and content:publish.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict, insufficient_scope

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"postId":{"type":"string","minLength":1},"connectionId":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["postId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"post":{"type":"object","properties":{"id":{"type":"string","minLength":1},"channel":{"type":"string","enum":["x","linkedin","instagram","tiktok"]},"status":{"type":"string","enum":["pending_approval","approved","published","failed","rejected"]},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"format":{"default":"text","type":"string","enum":["text","article"]},"copy":{"type":"object","properties":{"text":{"type":"string"},"hashtags":{"type":"array","items":{"type":"string"}},"cta":{"type":["string","null"]}},"required":["text","hashtags","cta"],"additionalProperties":false},"article":{"default":null,"anyOf":[{"type":"object","properties":{"title":{"type":"string"},"body":{"type":"string"},"coverMediaAssetId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]}},"required":["title","body","coverMediaAssetId"],"additionalProperties":false},{"type":"null"}]},"scheduledAt":{"type":["number","null"]},"publishState":{"anyOf":[{"type":"string","enum":["queued","paused","publishing","manual_exported","published","failed","unknown","cancelled"]},{"type":"null"}]},"publishError":{"type":["string","null"]},"externalPostId":{"type":["string","null"]},"externalUrl":{"anyOf":[{"type":"string","format":"starts_with","pattern":"^https:\\/\\/.*"},{"type":"null"}]},"mediaAssetId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"mediaAssetIds":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"mediaRevision":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"tiktokSettings":{"anyOf":[{"type":"object","properties":{"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"commentEnabled":{"type":"boolean"},"duetEnabled":{"type":"boolean"},"stitchEnabled":{"type":"boolean"},"commercialContent":{"type":"string","enum":["off","own_brand","branded","both"]}},"required":["privacyLevel","commentEnabled","duetEnabled","stitchEnabled","commercialContent"],"additionalProperties":false},{"type":"null"}]},"firstComment":{"anyOf":[{"type":"object","properties":{"text":{"type":"string","minLength":1},"state":{"type":"string","enum":["pending","posting","posted","failed"]},"externalId":{"type":["string","null"]},"externalUrl":{"anyOf":[{"type":"string","format":"starts_with","pattern":"^https:\\/\\/.*"},{"type":"null"}]},"error":{"type":["string","null"]},"updatedAt":{"type":["number","null"]}},"required":["text","state","externalId","externalUrl","error","updatedAt"],"additionalProperties":false},{"type":"null"}]},"xCommunity":{"default":null,"anyOf":[{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9]{1,19}$"},"shareWithFollowers":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":80}},"required":["id","shareWithFollowers","name"],"additionalProperties":false},{"type":"null"}]},"quotePost":{"default":null,"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":["id","url"],"additionalProperties":false},{"type":"null"}]},"connectionId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"connectionLabel":{"type":["string","null"]},"url":{"default":null,"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"approval":{"anyOf":[{"type":"object","properties":{"approvedAt":{"type":"number"},"approvedBy":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"approvedRevision":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"actor":{"type":"string","minLength":1},"contentHash":{"type":"string","minLength":1},"destinationFingerprint":{"type":["string","null"]}},"required":["approvedAt","approvedBy","approvedRevision","actor","contentHash","destinationFingerprint"],"additionalProperties":false},{"type":"null"}]},"terminalReason":{"anyOf":[{"type":"string","enum":["rejected","cancelled","dismissed"]},{"type":"null"}]},"terminalAt":{"type":["number","null"]},"terminalActor":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"terminalNote":{"type":["string","null"]},"nextAction":{"type":["string","null"]},"createdAt":{"type":"number"},"updatedAt":{"type":"number"}},"required":["id","channel","status","revision","format","copy","article","scheduledAt","publishState","publishError","externalPostId","externalUrl","mediaAssetId","mediaAssetIds","mediaRevision","tiktokSettings","xCommunity","quotePost","connectionId","connectionLabel","url","approval","terminalReason","terminalAt","terminalActor","terminalNote","nextAction","createdAt","updatedAt"],"additionalProperties":false},"slotWarnings":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"outside_reply_window"},"scheduledAt":{"type":"number"},"timeZone":{"type":"string"},"nextWindowStart":{"type":["number","null"]}},"required":["code","scheduledAt","timeZone","nextWindowStart"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","const":"within_min_gap"},"scheduledAt":{"type":"number"},"minGapMinutes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"conflictingPostId":{"type":["string","null"]},"conflictingAt":{"type":"number"}},"required":["code","scheduledAt","minGapMinutes","conflictingPostId","conflictingAt"],"additionalProperties":false}]}}},"required":["post"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

content post resume

  • Operation ID: content.post.resume
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: content:write
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/content/posts/resume
  • MCP: manage_post (action resume) — Resume an Andy Content Post. Resume a paused approved Post at an explicit future scheduledAt. Revalidates its exact connected target. Requires Owner/Admin or an API key with content:write and content:schedule. Never publishes immediately. On an X connection with an active slot guard (content.connection.set_slot_guard), a time outside its reply windows or within its minimum gap of another approved or published X Post on the connection is refused with slot_guard_warning, whose slotWarnings say why and whose nextAction repeats the call with acknowledgeSlotWarnings: true; once acknowledged the write goes through and its result carries the same slotWarnings.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, slot_guard_warning, idempotency_conflict, insufficient_scope

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"postId":{"type":"string","minLength":1},"scheduledAt":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"acknowledgeSlotWarnings":{"type":"boolean"},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["postId","scheduledAt"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"post":{"type":"object","properties":{"id":{"type":"string","minLength":1},"channel":{"type":"string","enum":["x","linkedin","instagram","tiktok"]},"status":{"type":"string","enum":["pending_approval","approved","published","failed","rejected"]},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"format":{"default":"text","type":"string","enum":["text","article"]},"copy":{"type":"object","properties":{"text":{"type":"string"},"hashtags":{"type":"array","items":{"type":"string"}},"cta":{"type":["string","null"]}},"required":["text","hashtags","cta"],"additionalProperties":false},"article":{"default":null,"anyOf":[{"type":"object","properties":{"title":{"type":"string"},"body":{"type":"string"},"coverMediaAssetId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]}},"required":["title","body","coverMediaAssetId"],"additionalProperties":false},{"type":"null"}]},"scheduledAt":{"type":["number","null"]},"publishState":{"anyOf":[{"type":"string","enum":["queued","paused","publishing","manual_exported","published","failed","unknown","cancelled"]},{"type":"null"}]},"publishError":{"type":["string","null"]},"externalPostId":{"type":["string","null"]},"externalUrl":{"anyOf":[{"type":"string","format":"starts_with","pattern":"^https:\\/\\/.*"},{"type":"null"}]},"mediaAssetId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"mediaAssetIds":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"mediaRevision":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"tiktokSettings":{"anyOf":[{"type":"object","properties":{"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"commentEnabled":{"type":"boolean"},"duetEnabled":{"type":"boolean"},"stitchEnabled":{"type":"boolean"},"commercialContent":{"type":"string","enum":["off","own_brand","branded","both"]}},"required":["privacyLevel","commentEnabled","duetEnabled","stitchEnabled","commercialContent"],"additionalProperties":false},{"type":"null"}]},"firstComment":{"anyOf":[{"type":"object","properties":{"text":{"type":"string","minLength":1},"state":{"type":"string","enum":["pending","posting","posted","failed"]},"externalId":{"type":["string","null"]},"externalUrl":{"anyOf":[{"type":"string","format":"starts_with","pattern":"^https:\\/\\/.*"},{"type":"null"}]},"error":{"type":["string","null"]},"updatedAt":{"type":["number","null"]}},"required":["text","state","externalId","externalUrl","error","updatedAt"],"additionalProperties":false},{"type":"null"}]},"xCommunity":{"default":null,"anyOf":[{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9]{1,19}$"},"shareWithFollowers":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":80}},"required":["id","shareWithFollowers","name"],"additionalProperties":false},{"type":"null"}]},"quotePost":{"default":null,"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":["id","url"],"additionalProperties":false},{"type":"null"}]},"connectionId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"connectionLabel":{"type":["string","null"]},"url":{"default":null,"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"approval":{"anyOf":[{"type":"object","properties":{"approvedAt":{"type":"number"},"approvedBy":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"approvedRevision":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"actor":{"type":"string","minLength":1},"contentHash":{"type":"string","minLength":1},"destinationFingerprint":{"type":["string","null"]}},"required":["approvedAt","approvedBy","approvedRevision","actor","contentHash","destinationFingerprint"],"additionalProperties":false},{"type":"null"}]},"terminalReason":{"anyOf":[{"type":"string","enum":["rejected","cancelled","dismissed"]},{"type":"null"}]},"terminalAt":{"type":["number","null"]},"terminalActor":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"terminalNote":{"type":["string","null"]},"nextAction":{"type":["string","null"]},"createdAt":{"type":"number"},"updatedAt":{"type":"number"}},"required":["id","channel","status","revision","format","copy","article","scheduledAt","publishState","publishError","externalPostId","externalUrl","mediaAssetId","mediaAssetIds","mediaRevision","tiktokSettings","xCommunity","quotePost","connectionId","connectionLabel","url","approval","terminalReason","terminalAt","terminalActor","terminalNote","nextAction","createdAt","updatedAt"],"additionalProperties":false},"slotWarnings":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","const":"outside_reply_window"},"scheduledAt":{"type":"number"},"timeZone":{"type":"string"},"nextWindowStart":{"type":["number","null"]}},"required":["code","scheduledAt","timeZone","nextWindowStart"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","const":"within_min_gap"},"scheduledAt":{"type":"number"},"minGapMinutes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"conflictingPostId":{"type":["string","null"]},"conflictingAt":{"type":"number"}},"required":["code","scheduledAt","minGapMinutes","conflictingPostId","conflictingAt"],"additionalProperties":false}]}}},"required":["post"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

conversation list

  • Operation ID: conversation.list
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: agent:read
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/conversation/list
  • MCP: list_conversations — List Andy Conversations. List Workspace Conversations as flat rows sorted by recency, aggregated across every active Agent unless agentId narrows it. Each row carries Workspace and Agent identity, customer label, channel, needs-human status, handoff state, sender-block fact, a preview of at most 160 characters, and the Message count. Production traffic only; raw provider metadata never crosses this boundary.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, workspace_archived, entitlement_required

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"agentId":{"type":"string","minLength":1},"channel":{"type":"string","enum":["whatsapp","instagram","messenger","tiktok","slack","voice","widget","public_url"]},"status":{"type":"string","enum":["needs_human","waiting","resolved"]},"since":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"until":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"cursor":{"type":"string","minLength":1},"pageSize":{"default":20,"type":"integer","minimum":1,"maximum":100}},"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"conversations":{"type":"array","items":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"workspaceName":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"agentName":{"type":"string","minLength":1},"sessionId":{"type":"string","minLength":1},"customerLabel":{"type":"string","minLength":1},"channel":{"type":"string","minLength":1},"channelLabel":{"type":"string","minLength":1},"status":{"type":"string","enum":["needs_human","waiting","resolved"]},"handoffState":{"type":"string","enum":["agent_active","paused_by_andy","paused_by_human"]},"senderBlocked":{"type":"boolean"},"lastMessageRole":{"type":"string","enum":["visitor","agent"]},"lastMessagePreview":{"type":"string"},"lastMessageAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"messageCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"messageCountCapped":{"description":"True when the Conversation has more Messages than messageCount; the count is capped per Conversation.","type":"boolean"}},"required":["workspaceId","workspaceName","agentId","agentName","sessionId","customerLabel","channel","channelLabel","status","handoffState","senderBlocked","lastMessageRole","lastMessagePreview","lastMessageAt","messageCount"],"additionalProperties":false}},"truncated":{"type":"boolean"}},"required":["conversations","truncated"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

conversation message list

  • Operation ID: conversation.message.list
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: agent:read
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/conversation/message/list
  • MCP: list_conversation_messages — List Andy Conversation Messages. List Conversation Messages newest first, aggregated across every active Agent unless agentId narrows it. Call it with {"role":"visitor","pageSize":1} and no other context to read the newest customer Message with Workspace and Agent names on the row; add sessionId (with agentId) to read one Conversation. Content is verbatim, clamped to maxContentChars with an honest contentTruncated flag; raw provider metadata never crosses this boundary. An Instagram Agent reply carries delivery: sent, or failed with failureCode instagram_thread_owner (Instagram had given the conversation to another app or the Meta inbox, so the Visitor got none of it), instagram_send_failed (any other failure, none of it sent) or instagram_partly_delivered (the Visitor got only the first parts). Reads are bounded: a rare role or channel can return a short or empty page with truncated true, so keep calling with meta.nextCursor until truncated is false.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, workspace_archived, entitlement_required

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"agentId":{"type":"string","minLength":1},"sessionId":{"type":"string","minLength":1},"role":{"type":"string","enum":["visitor","agent"]},"channel":{"type":"string","enum":["whatsapp","instagram","messenger","tiktok","slack","voice","widget","public_url"]},"since":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"until":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"maxContentChars":{"default":300,"type":"integer","minimum":50,"maximum":4000},"cursor":{"type":"string","minLength":1},"pageSize":{"default":20,"type":"integer","minimum":1,"maximum":100}},"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"messages":{"type":"array","items":{"type":"object","properties":{"messageId":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"workspaceName":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"agentName":{"type":"string","minLength":1},"sessionId":{"type":"string","minLength":1},"customerLabel":{"type":"string","minLength":1},"role":{"type":"string","enum":["visitor","agent"]},"content":{"type":"string"},"contentTruncated":{"type":"boolean"},"attachments":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1},"mime":{"type":"string","minLength":1},"bytes":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["name","mime","bytes"],"additionalProperties":false}},"channel":{"type":"string","minLength":1},"channelLabel":{"type":"string","minLength":1},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"delivery":{"type":"object","properties":{"status":{"type":"string","enum":["unknown","queued","sending","sent","delivered","read","failed","acceptance_unknown"]},"routeKind":{"type":"string","enum":["projection","browser","official_whatsapp","baileys_whatsapp","unsupported","unknown"]},"attempt":{"type":"integer","minimum":0,"maximum":9007199254740991},"maxAttempts":{"type":"integer","minimum":0,"maximum":9007199254740991},"correlationId":{"type":"string","minLength":1},"providerMessageId":{"type":"string","minLength":1},"failureCode":{"type":"string","minLength":1},"retryAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["status","routeKind","attempt","maxAttempts","correlationId"],"additionalProperties":false}},"required":["messageId","workspaceId","workspaceName","agentId","agentName","sessionId","customerLabel","role","content","contentTruncated","channel","channelLabel","createdAt"],"additionalProperties":false}},"truncated":{"type":"boolean"}},"required":["messages","truncated"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

conversation reply-eligibility inspect

  • Operation ID: conversation.reply_eligibility.inspect
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: agent:read
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/conversation/reply-eligibility/inspect
  • MCP: inspect_reply_eligibility — Inspect Conversation Reply Eligibility. Read the canonical, source-agnostic facts that decide whether an operator reply may be submitted. This does not enable a channel or send anything.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, agent_selection_required

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"agentId":{"type":"string","minLength":1},"sessionId":{"type":"string","minLength":1}},"required":["sessionId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"sessionId":{"type":"string","minLength":1},"source":{"type":"string","enum":["browser","official_whatsapp","baileys_whatsapp","instagram","messenger","tiktok","slack","voice","generic_api","widget","public_url","unknown"]},"routeKind":{"type":"string","enum":["projection","browser","official_whatsapp","baileys_whatsapp","unsupported","unknown"]},"eligible":{"type":"boolean"},"control":{"type":"string","enum":["available","unavailable","unknown"]},"autoResumesAt":{"description":"When Andy may answer again, in ms since epoch: set only while a manual phone or Instagram reply holds the Conversation and the Agent's auto-resume is on. A time already past means Andy answers the next message. null otherwise.","type":["number","null"]},"canonicalRoute":{"type":"string","enum":["available","unavailable","unknown"]},"presence":{"type":"string","enum":["available","unavailable","unknown"]},"destination":{"type":"string","enum":["available","unavailable","unknown"]},"releaseState":{"type":"string","enum":["available","unavailable","unknown"]},"providerPolicy":{"type":"string","enum":["available","unavailable","unknown"]},"senderBlock":{"type":"string","enum":["available","unavailable","unknown"]},"transportHealth":{"type":"string","enum":["available","unavailable","unknown"]},"reason":{"type":"string","enum":["eligible","control_not_human","sender_blocked","route_unknown","route_unavailable","destination_unavailable","not_released","provider_policy_unavailable","template_required","transport_unavailable","visitor_offline","channel_not_allowed"]}},"required":["workspaceId","agentId","sessionId","source","routeKind","eligible","control","canonicalRoute","presence","destination","releaseState","providerPolicy","senderBlock","transportHealth","reason"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

conversation handoff takeover

  • Operation ID: conversation.handoff.takeover
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: agent:write
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/conversation/handoff/takeover
  • MCP: manage_handoff (action takeover) — Take over a Conversation. Pause the Agent for one Conversation so a human operator can reply. Idempotent per operator intent. Taking over a chat that a manual phone or Instagram reply paused keeps it with the operator: auto-resume no longer applies to it.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict, agent_selection_required

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"agentId":{"type":"string","minLength":1},"sessionId":{"type":"string","minLength":1},"reason":{"description":"Why you took over. \"External Reply\" is reserved for replies made from the phone or Instagram.","type":"string","minLength":1,"maxLength":500},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["sessionId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"agentId":{"type":"string","minLength":1},"sessionId":{"type":"string","minLength":1},"status":{"type":"string","const":"paused"},"pausedAt":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["agentId","sessionId","status","pausedAt"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

conversation handoff hand-back

  • Operation ID: conversation.handoff.hand_back
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: agent:write
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/conversation/handoff/hand-back
  • MCP: manage_handoff (action hand_back) — Hand a Conversation back to the Agent. Resume the Agent for one Conversation after human operator control. Idempotent per operator intent. A Human-only Contact (Solo humano) is refused with human_only_contact: remove it with agent.human_only_contact.remove first.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict, agent_selection_required, human_only_contact

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"agentId":{"type":"string","minLength":1},"sessionId":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["sessionId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"agentId":{"type":"string","minLength":1},"sessionId":{"type":"string","minLength":1},"status":{"type":"string","const":"active"},"resumedAt":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["agentId","sessionId","status","resumedAt"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

conversation message send

  • Operation ID: conversation.message.send
  • Authentication: workspace_api_key
  • Workspace selection: required
  • Required API Key scope: agent:write
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/conversation/message/send
  • MCP: send_message — Send an operator reply in a Conversation. Persist a human operator reply into the Conversation projection and schedule channel delivery when needed. No client-facing provider send.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, workspace_commercial_inactive, idempotency_conflict, agent_selection_required, reply_ineligible

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"agentId":{"type":"string","minLength":1},"sessionId":{"type":"string","minLength":1},"content":{"type":"string","minLength":1,"maxLength":4000},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["sessionId","content"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"messageId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"sessionId":{"type":"string","minLength":1},"delivery":{"type":"object","properties":{"status":{"type":"string","enum":["projected","queued"]},"deliveryId":{"type":"string","minLength":1}},"required":["status","deliveryId"],"additionalProperties":false}},"required":["messageId","agentId","sessionId","delivery"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

conversation message submission inspect

  • Operation ID: conversation.message.submission.inspect
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: agent:write
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/conversation/message/submission/inspect
  • MCP: inspect_message_submission — Recover an operator reply's acceptance and delivery. Inspect one original send intent under the current actor and Workspace. Returns durable Message acceptance and route-evidenced Delivery state; absence never starts another send. Reauthorises current access without matching Message text.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, workspace_commercial_inactive, agent_selection_required

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"agentId":{"type":"string","minLength":1},"sessionId":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["sessionId","idempotencyKey"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"agentId":{"type":"string","minLength":1},"sessionId":{"type":"string","minLength":1},"submission":{"oneOf":[{"type":"object","properties":{"status":{"type":"string","const":"not_found"}},"required":["status"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","const":"accepted"},"messageId":{"type":"string","minLength":1},"delivery":{"type":"object","properties":{"deliveryId":{"type":"string","minLength":1},"status":{"anyOf":[{"type":"string","enum":["unknown","queued","sending","sent","delivered","read","failed","acceptance_unknown"]},{"type":"string","const":"projected"}]},"routeKind":{"type":"string","enum":["projection","browser","official_whatsapp","baileys_whatsapp","unsupported","unknown"]},"failureCode":{"type":"string"},"updatedAt":{"type":"number"}},"required":["status","routeKind"],"additionalProperties":false}},"required":["status","messageId","delivery"],"additionalProperties":false}]}},"required":["agentId","sessionId","submission"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

conversation message report

  • Operation ID: conversation.message.report
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/conversation/message/report
  • MCP: not exposed on MCP — Report a Conversation Message. File a UGC Message report with identity + privacy-bounded evidence. Ordinary reports go to Workspace Owner/Admin; serious categories escalate to andy@andesphere.com. No automated classifier.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict, agent_selection_required

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"agentId":{"type":"string","minLength":1},"sessionId":{"type":"string","minLength":1},"messageId":{"type":"string","minLength":1},"reasonCategory":{"type":"string","enum":["ordinary","illegal","child_safety","credible_threat","cross_tenant","andy_policy"]},"note":{"type":"string","minLength":1,"maxLength":1000},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["sessionId","messageId","reasonCategory"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"reportId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"sessionId":{"type":"string","minLength":1},"messageId":{"type":"string","minLength":1},"reasonCategory":{"type":"string","enum":["ordinary","illegal","child_safety","credible_threat","cross_tenant","andy_policy"]},"status":{"type":"string","enum":["open","escalated"]},"escalationTarget":{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"}},"required":["reportId","agentId","sessionId","messageId","reasonCategory","status"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

conversation sender block

  • Operation ID: conversation.sender.block
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/conversation/sender/block
  • MCP: not exposed on MCP — Block a Conversation sender. Owner/Admin reversible block scoped to Agent × provider sender identity (channel denormalized for audit). Suppresses AI and operator replies and keeps an audit record.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict, agent_selection_required

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"agentId":{"type":"string","minLength":1},"sessionId":{"type":"string","minLength":1},"reason":{"type":"string","minLength":1,"maxLength":500},"reportId":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["sessionId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"blockId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"sessionId":{"type":"string","minLength":1},"channel":{"type":"string","minLength":1},"providerSenderIdentity":{"type":"string","minLength":1},"status":{"type":"string","const":"active"},"blockedAt":{"type":"integer","minimum":0,"maximum":9007199254740991},"contactId":{"type":"string","minLength":1}},"required":["blockId","agentId","sessionId","channel","providerSenderIdentity","status","blockedAt"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

conversation sender unblock

  • Operation ID: conversation.sender.unblock
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/conversation/sender/unblock
  • MCP: not exposed on MCP — Unblock a Conversation sender. Owner/Admin lift of a reversible sender block for Agent × provider sender identity.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict, agent_selection_required

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"agentId":{"type":"string","minLength":1},"sessionId":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["sessionId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"blockId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"sessionId":{"type":"string","minLength":1},"channel":{"type":"string","minLength":1},"providerSenderIdentity":{"type":"string","minLength":1},"status":{"type":"string","const":"lifted"},"liftedAt":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["blockId","agentId","sessionId","channel","providerSenderIdentity","status","liftedAt"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

agent human-only list

  • Operation ID: agent.human_only_contact.list
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/agents/human-only-contacts/list
  • MCP: manage_human_only_contacts (action list) — List an Agent's Human-only Contacts. List one Agent's Human-only Contacts (Solo humano), newest first: people the Agent never answers, in any Conversation, while Users still read and reply. With sessionId, only the entries that keep that Conversation human-only, and humanOnly says whether it is. Any Member may read.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, agent_selection_required

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"agentId":{"type":"string","minLength":1},"sessionId":{"description":"Only the entries that keep this Conversation human-only; humanOnly then says whether it is.","type":"string","minLength":1}},"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"agentId":{"type":"string","minLength":1},"humanOnlyContacts":{"type":"array","items":{"type":"object","properties":{"humanOnlyContactId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"phone":{"type":"string","minLength":1},"sessionId":{"type":"string","minLength":1},"channel":{"type":"string","minLength":1},"label":{"type":"string","minLength":1},"status":{"type":"string","enum":["active","removed"]},"createdAt":{"type":"integer","minimum":0,"maximum":9007199254740991},"removedAt":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["humanOnlyContactId","agentId","status","createdAt"],"additionalProperties":false}},"humanOnly":{"type":"boolean"}},"required":["agentId","humanOnlyContacts"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

agent human-only add

  • Operation ID: agent.human_only_contact.add
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/agents/human-only-contacts/add
  • MCP: manage_human_only_contacts (action add) — Make a contact human-only. Make a person human-only (Solo humano) for one Agent: the Agent never answers them again, in this or any later Conversation, and neither auto-resume nor Hand back gives them back to it. Users still see their messages and reply as usual; unlike a sender block, nothing is hidden. Name them by phone with its country code (e.g. +44 7700 900123; it matches every WhatsApp format of that number, even before they ever write) or by a Conversation's sessionId from list_conversations (any Channel). Adding someone already human-only returns their entry. Owner/Admin only.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, limit_exceeded, idempotency_conflict, agent_selection_required

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","oneOf":[{"type":"object","properties":{"agentId":{"type":"string","minLength":1},"phone":{"type":"string","minLength":1,"maxLength":40,"description":"The person's phone with its country code, e.g. +44 7700 900123 (+ or 00 first). Matches them on WhatsApp before they ever write."},"label":{"description":"A note for your team, e.g. \"Mamá\" or \"Proveedor\".","type":"string","minLength":1,"maxLength":120},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["phone"],"additionalProperties":false},{"type":"object","properties":{"agentId":{"type":"string","minLength":1},"sessionId":{"type":"string","minLength":1,"description":"A Conversation's sessionId, its sender's exact identity on any Channel."},"label":{"description":"A note for your team, e.g. \"Mamá\" or \"Proveedor\".","type":"string","minLength":1,"maxLength":120},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["sessionId"],"additionalProperties":false}]}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"humanOnlyContactId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"phone":{"type":"string","minLength":1},"sessionId":{"type":"string","minLength":1},"channel":{"type":"string","minLength":1},"label":{"type":"string","minLength":1},"status":{"type":"string","enum":["active","removed"]},"createdAt":{"type":"integer","minimum":0,"maximum":9007199254740991},"removedAt":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["humanOnlyContactId","agentId","status","createdAt"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

agent human-only remove

  • Operation ID: agent.human_only_contact.remove
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/agents/human-only-contacts/remove
  • MCP: manage_human_only_contacts (action remove) — Let the Agent answer a contact again. Remove one Human-only Contact (Solo humano) by its humanOnlyContactId, so the Agent may answer that person again from their next message. A Conversation a User took over stays with the User until handed back. Removing an entry already removed returns it. Owner/Admin only.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"humanOnlyContactId":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["humanOnlyContactId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"humanOnlyContactId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"phone":{"type":"string","minLength":1},"sessionId":{"type":"string","minLength":1},"channel":{"type":"string","minLength":1},"label":{"type":"string","minLength":1},"status":{"type":"string","enum":["active","removed"]},"createdAt":{"type":"integer","minimum":0,"maximum":9007199254740991},"removedAt":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["humanOnlyContactId","agentId","status","createdAt"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

agent alert-number list

  • Operation ID: agent.alert_number.list
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/agents/alert-numbers/list
  • MCP: manage_alert_numbers (action list) — List an Agent's Alert Numbers. List one Agent's Alert Numbers: the phones that get a WhatsApp Handoff Alert from Andy's official number when the Agent asks for a person. A pending number has not confirmed in WhatsApp yet and gets no alerts. Any Member may read.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, agent_selection_required

Operation input schema (compact JSON, complete contract):

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

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"agentId":{"type":"string","minLength":1},"alertNumbers":{"type":"array","items":{"type":"object","properties":{"alertNumberId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"phone":{"type":"string","minLength":1},"status":{"type":"string","enum":["pending","confirmed"]},"createdAt":{"type":"integer","minimum":0,"maximum":9007199254740991},"confirmationSentAt":{"type":"integer","minimum":0,"maximum":9007199254740991},"confirmedAt":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["alertNumberId","agentId","phone","status","createdAt"],"additionalProperties":false}},"max":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["agentId","alertNumbers","max"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

agent alert-number add

  • Operation ID: agent.alert_number.add
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/agents/alert-numbers/add
  • MCP: manage_alert_numbers (action add) — Add an Alert Number. Add a mobile number (with its country code) that gets a WhatsApp Handoff Alert when this Agent asks for a person, and one reminder 30 minutes later if nobody stepped in. Andy sends it a WhatsApp message from its official number; the number stays pending, with no alerts, until its holder taps "Activar alertas". Adding a pending number again re-sends that message; a confirmed one is returned as it is. At most 3 per Agent, on every plan. Owner/Admin only.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, limit_exceeded, idempotency_conflict, agent_selection_required

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"agentId":{"type":"string","minLength":1},"phone":{"type":"string","minLength":1,"maxLength":40,"description":"A mobile number with its country code, e.g. +56 9 1234 5678. Andy sends it a WhatsApp message to confirm; adding a pending number again re-sends that message."},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["phone"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"alertNumberId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"phone":{"type":"string","minLength":1},"status":{"type":"string","enum":["pending","confirmed"]},"createdAt":{"type":"integer","minimum":0,"maximum":9007199254740991},"confirmationSentAt":{"type":"integer","minimum":0,"maximum":9007199254740991},"confirmedAt":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["alertNumberId","agentId","phone","status","createdAt"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

agent alert-number remove

  • Operation ID: agent.alert_number.remove
  • Authentication: oauth_token
  • Workspace selection: required
  • Required API Key scope: none
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/agents/alert-numbers/remove
  • MCP: manage_alert_numbers (action remove) — Remove an Alert Number. Remove one Alert Number by its alertNumberId. It gets no Handoff Alert from that moment, including a reminder already scheduled. Owner/Admin only.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"alertNumberId":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["alertNumberId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"alertNumberId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"phone":{"type":"string","minLength":1},"removed":{"type":"boolean","const":true}},"required":["alertNumberId","agentId","phone","removed"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

affiliate join

  • Operation ID: affiliate.join
  • Authentication: oauth_token
  • Workspace selection: none
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/affiliate/join
  • MCP: manage_affiliate (action join) — Join the Andy affiliate program. Join the affiliate program as the signed-in User and get a personal Referral Link. Accepts the affiliate terms version 2026-09-27 (andypartner.com/legal/afiliados). Idempotent: joining again returns the same Affiliate with joined false.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"acceptTermsVersion":{"type":"string","const":"2026-09-27"},"payoutMethod":{"type":"string","enum":["wise","paypal"]},"payoutEmail":{"type":"string","maxLength":254,"format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["acceptTermsVersion"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"affiliate":{"type":"object","properties":{"affiliateId":{"type":"string","minLength":1},"referralCode":{"type":"string","minLength":1},"referralLink":{"type":"string","format":"uri"},"status":{"type":"string","enum":["active","suspended"]},"termsVersion":{"type":"string","minLength":1},"termsAcceptedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"payoutMethod":{"anyOf":[{"type":"string","enum":["wise","paypal"]},{"type":"null"}]},"payoutEmail":{"anyOf":[{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},{"type":"null"}]},"creditWorkspaceId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["affiliateId","referralCode","referralLink","status","termsVersion","termsAcceptedAt","payoutMethod","payoutEmail","creditWorkspaceId","createdAt"],"additionalProperties":false},"joined":{"type":"boolean"}},"required":["affiliate","joined"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

affiliate show

  • Operation ID: affiliate.get
  • Authentication: oauth_token
  • Workspace selection: none
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/affiliate/get
  • MCP: manage_affiliate (action get) — Show the signed-in User's Affiliate and earnings. Read the signed-in User's Referral Code, Referral Link and stats: Referral Link clicks (last 30 days and total), referred signups, paying Referrals, and earnings in USD cents (Andy Credit applied and pending, Cash Owed, cash paid, cash payable now against the US$20 minimum). Answers "how much have I earned?". Referrals are listed by Workspace initial, plan and whether they pay, only. creditWorkspaces lists the Affiliate's own paying Workspaces and which one receives Andy Credit. affiliate and stats are null until the User joins with affiliate.join.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied

Operation input schema (compact JSON, complete contract):

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

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"affiliate":{"anyOf":[{"type":"object","properties":{"affiliateId":{"type":"string","minLength":1},"referralCode":{"type":"string","minLength":1},"referralLink":{"type":"string","format":"uri"},"status":{"type":"string","enum":["active","suspended"]},"termsVersion":{"type":"string","minLength":1},"termsAcceptedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"payoutMethod":{"anyOf":[{"type":"string","enum":["wise","paypal"]},{"type":"null"}]},"payoutEmail":{"anyOf":[{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},{"type":"null"}]},"creditWorkspaceId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["affiliateId","referralCode","referralLink","status","termsVersion","termsAcceptedAt","payoutMethod","payoutEmail","creditWorkspaceId","createdAt"],"additionalProperties":false},{"type":"null"}]},"stats":{"anyOf":[{"type":"object","properties":{"clicks":{"type":"object","properties":{"last30Days":{"type":"integer","minimum":0,"maximum":9007199254740991},"total":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["last30Days","total"],"additionalProperties":false},"referredSignups":{"type":"integer","minimum":0,"maximum":9007199254740991},"payingReferrals":{"type":"integer","minimum":0,"maximum":9007199254740991},"earnings":{"type":"object","properties":{"currency":{"type":"string","const":"usd"},"andyCreditAppliedCents":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"andyCreditPendingCents":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"cashOwedCents":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"cashPaidCents":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"cashPayableCents":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"payoutMinimumCents":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["currency","andyCreditAppliedCents","andyCreditPendingCents","cashOwedCents","cashPaidCents","cashPayableCents","payoutMinimumCents"],"additionalProperties":false},"referrals":{"type":"array","items":{"type":"object","properties":{"referralId":{"type":"string","minLength":1},"workspaceInitial":{"type":"string","maxLength":1},"plan":{"type":["string","null"]},"paying":{"type":"boolean"}},"required":["referralId","workspaceInitial","plan","paying"],"additionalProperties":false}},"creditWorkspaces":{"type":"array","items":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"name":{"type":"string"},"receivesCredit":{"type":"boolean"}},"required":["workspaceId","name","receivesCredit"],"additionalProperties":false}}},"required":["clicks","referredSignups","payingReferrals","earnings","referrals","creditWorkspaces"],"additionalProperties":false},{"type":"null"}]}},"required":["affiliate","stats"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

affiliate update

  • Operation ID: affiliate.update
  • Authentication: oauth_token
  • Workspace selection: none
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/affiliate/update
  • MCP: manage_affiliate (action update) — Set the Affiliate's payout details and Andy Credit Workspace. Set how the signed-in Affiliate is paid Cash Owed: payoutMethod wise or paypal, and the payoutEmail of that account, always together. Andy Credit needs no payout details: it lands on the customer of a Workspace the Affiliate pays for. creditWorkspaceId picks which one, from stats.creditWorkspaces of affiliate.get; without a choice it is the oldest. Either change can be made alone. resource_not_found until the User joins with affiliate.join.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"payoutMethod":{"type":"string","enum":["wise","paypal"]},"payoutEmail":{"type":"string","maxLength":254,"format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"creditWorkspaceId":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"affiliate":{"type":"object","properties":{"affiliateId":{"type":"string","minLength":1},"referralCode":{"type":"string","minLength":1},"referralLink":{"type":"string","format":"uri"},"status":{"type":"string","enum":["active","suspended"]},"termsVersion":{"type":"string","minLength":1},"termsAcceptedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"payoutMethod":{"anyOf":[{"type":"string","enum":["wise","paypal"]},{"type":"null"}]},"payoutEmail":{"anyOf":[{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},{"type":"null"}]},"creditWorkspaceId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["affiliateId","referralCode","referralLink","status","termsVersion","termsAcceptedAt","payoutMethod","payoutEmail","creditWorkspaceId","createdAt"],"additionalProperties":false}},"required":["affiliate"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

affiliate admin list

  • Operation ID: affiliate.admin.list
  • Authentication: oauth_token
  • Workspace selection: none
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/affiliate/admin/list
  • MCP: manage_affiliate_payouts (action list) — List Affiliates with what they are owed (Platform Admin). Platform Admins only. Every Affiliate with Andy Credit applied, Cash Owed, cash payable now (from the US$20 minimum), cash paid and the last Payout, most payable first. payoutBatch is the frozen batch affiliate.admin.pay records: the cash lines, amount, method and payout email to send to. selfReferralSkips lists paid referred invoices that earned nothing because the payer's card or email is the Affiliate's.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied

Operation input schema (compact JSON, complete contract):

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

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"affiliates":{"type":"array","items":{"type":"object","properties":{"affiliateId":{"type":"string","minLength":1},"name":{"type":"string"},"email":{"type":"string"},"status":{"type":"string","enum":["active","suspended"]},"payoutMethod":{"anyOf":[{"type":"string","enum":["wise","paypal"]},{"type":"null"}]},"payoutEmail":{"type":["string","null"]},"andyCreditAppliedCents":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"cashOwedCents":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"cashPayableCents":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"payableNowCents":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"cashPaidCents":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"lastPayout":{"anyOf":[{"type":"object","properties":{"amountCents":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"method":{"type":"string","enum":["wise","paypal"]},"reference":{"type":"string"},"paidAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["amountCents","method","reference","paidAt"],"additionalProperties":false},{"type":"null"}]},"payoutBatch":{"anyOf":[{"type":"object","properties":{"lineIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string","minLength":1}},"amountCents":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"payoutMethod":{"type":"string","enum":["wise","paypal"]},"payoutEmail":{"type":"string","maxLength":254,"format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"}},"required":["lineIds","amountCents","payoutMethod","payoutEmail"],"additionalProperties":false},{"type":"null"}]},"selfReferralSkips":{"type":"array","items":{"type":"object","properties":{"stripeInvoiceId":{"type":"string","minLength":1},"reason":{"type":"string","enum":["same_card","affiliate_email"]},"amountPaidCents":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"skippedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["stripeInvoiceId","reason","amountPaidCents","skippedAt"],"additionalProperties":false}}},"required":["affiliateId","name","email","status","payoutMethod","payoutEmail","andyCreditAppliedCents","cashOwedCents","cashPayableCents","payableNowCents","cashPaidCents","lastPayout","payoutBatch","selfReferralSkips"],"additionalProperties":false}}},"required":["affiliates"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

affiliate admin export

  • Operation ID: affiliate.admin.export
  • Authentication: oauth_token
  • Workspace selection: none
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/affiliate/admin/export
  • MCP: manage_affiliate_payouts (action export) — Export this month's affiliate payouts as CSV (Platform Admin). Platform Admins only. The monthly payout list as CSV: one line per Affiliate payable now with the method, payout email and exact amount to send, plus the Affiliate id and line ids that affiliate.admin.pay records. payouts carries the same rows with their payoutBatch.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied

Operation input schema (compact JSON, complete contract):

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

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"csv":{"type":"string"},"payouts":{"type":"array","items":{"type":"object","properties":{"affiliateId":{"type":"string","minLength":1},"name":{"type":"string"},"email":{"type":"string"},"status":{"type":"string","enum":["active","suspended"]},"payoutMethod":{"anyOf":[{"type":"string","enum":["wise","paypal"]},{"type":"null"}]},"payoutEmail":{"type":["string","null"]},"andyCreditAppliedCents":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"cashOwedCents":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"cashPayableCents":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"payableNowCents":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"cashPaidCents":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"lastPayout":{"anyOf":[{"type":"object","properties":{"amountCents":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"method":{"type":"string","enum":["wise","paypal"]},"reference":{"type":"string"},"paidAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["amountCents","method","reference","paidAt"],"additionalProperties":false},{"type":"null"}]},"payoutBatch":{"anyOf":[{"type":"object","properties":{"lineIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string","minLength":1}},"amountCents":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"payoutMethod":{"type":"string","enum":["wise","paypal"]},"payoutEmail":{"type":"string","maxLength":254,"format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"}},"required":["lineIds","amountCents","payoutMethod","payoutEmail"],"additionalProperties":false},{"type":"null"}]},"selfReferralSkips":{"type":"array","items":{"type":"object","properties":{"stripeInvoiceId":{"type":"string","minLength":1},"reason":{"type":"string","enum":["same_card","affiliate_email"]},"amountPaidCents":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"skippedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["stripeInvoiceId","reason","amountPaidCents","skippedAt"],"additionalProperties":false}}},"required":["affiliateId","name","email","status","payoutMethod","payoutEmail","andyCreditAppliedCents","cashOwedCents","cashPayableCents","payableNowCents","cashPaidCents","lastPayout","payoutBatch","selfReferralSkips"],"additionalProperties":false}}},"required":["csv","payouts"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

affiliate admin pay

  • Operation ID: affiliate.admin.pay
  • Authentication: oauth_token
  • Workspace selection: none
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/affiliate/admin/pay
  • MCP: manage_affiliate_payouts (action pay) — Record an affiliate Payout (Platform Admin). Platform Admins only. Records that a payoutBatch from affiliate.admin.list or affiliate.admin.export was sent by Wise or PayPal, with its reference. It moves no money. It pays exactly the batch's lines, to the batch's method and payout email; lines that aged in or refunds that landed since stay for the next batch. Refused with invalid_request when a line is no longer the Affiliate's unpaid cash or the lines do not add up to amountCents.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"lineIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string","minLength":1}},"amountCents":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"payoutMethod":{"type":"string","enum":["wise","paypal"]},"payoutEmail":{"type":"string","maxLength":254,"format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"affiliateId":{"type":"string","minLength":1},"reference":{"type":"string","minLength":1,"maxLength":500},"paidAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["lineIds","amountCents","payoutMethod","payoutEmail","affiliateId","reference"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"payout":{"type":"object","properties":{"payoutId":{"type":"string","minLength":1},"affiliateId":{"type":"string","minLength":1},"amountCents":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"method":{"type":"string","enum":["wise","paypal"]},"payoutEmail":{"type":"string"},"reference":{"type":"string"},"paidAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"lineCount":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["payoutId","affiliateId","amountCents","method","payoutEmail","reference","paidAt","lineCount"],"additionalProperties":false}},"required":["payout"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

affiliate admin suspend

  • Operation ID: affiliate.admin.suspend
  • Authentication: oauth_token
  • Workspace selection: none
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/affiliate/admin/suspend
  • MCP: manage_affiliate_payouts (action suspend) — Suspend an Affiliate (Platform Admin). Platform Admins only. Stops new Referrals and Commission Lines for an Affiliate, with a written reason. What they are owed stays until affiliate.admin.void.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"affiliateId":{"type":"string","minLength":1},"reason":{"type":"string","minLength":1,"maxLength":500},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["affiliateId","reason"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"affiliateId":{"type":"string","minLength":1},"suspended":{"type":"boolean"}},"required":["affiliateId","suspended"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

affiliate admin void

  • Operation ID: affiliate.admin.void
  • Authentication: oauth_token
  • Workspace selection: none
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/affiliate/admin/void
  • MCP: manage_affiliate_payouts (action void) — Void a suspended Affiliate's Cash Owed (Platform Admin). Platform Admins only. Removes all of a suspended Affiliate's unpaid Cash Owed with a written reason, as one void line per invoice. It cannot be undone. amountCents is the cashOwedCents from affiliate.admin.list; a different amount writes nothing (invalid_request).
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"affiliateId":{"type":"string","minLength":1},"amountCents":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"reason":{"type":"string","minLength":1,"maxLength":500},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["affiliateId","amountCents","reason"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"affiliateId":{"type":"string","minLength":1},"voidedCents":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["affiliateId","voidedCents"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

partner workspace create

  • Operation ID: partner.workspace.create
  • Authentication: oauth_token
  • Workspace selection: none
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/partner/workspaces/create
  • MCP: manage_partner_workspaces (action create) — Build a Workspace for a prospect (Partner). Partners only. Creates a Workspace the Partner owns, on the chosen plan's full limits with MCP access and no end date, to build an Agent for the prospect at email and then hand it over with partner.workspace.send_handover. It returns next, the select_workspace call that makes it the session's Workspace.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"email":{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"name":{"type":"string","minLength":1,"maxLength":120},"plan":{"type":"string","enum":["starter","pro","proMax"]},"language":{"type":"string","enum":["es","en"]},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["email","name","plan","language"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"partnerWorkspace":{"type":"object","properties":{"workspace":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1},"role":{"anyOf":[{"type":"string","enum":["owner","admin","member"]},{"type":"null"}]},"status":{"type":"string","enum":["active","archived"]}},"required":["id","name","slug","role","status"],"additionalProperties":false},"plan":{"type":"string","enum":["starter","pro","proMax"]},"prospectEmail":{"type":"string","minLength":1},"language":{"type":"string","enum":["es","en"]},"state":{"type":"string","enum":["setup","invited","expired","handed_over"]},"createdAt":{"type":"number"},"handedOverAt":{"type":["number","null"]},"handoverInvite":{"anyOf":[{"type":"object","properties":{"inviteId":{"type":"string","minLength":1},"status":{"type":"string","enum":["pending","revoked","accepted"]},"expiresAt":{"type":"number"}},"required":["inviteId","status","expiresAt"],"additionalProperties":false},{"type":"null"}]}},"required":["workspace","plan","prospectEmail","language","state","createdAt","handedOverAt","handoverInvite"],"additionalProperties":false},"next":{"type":"object","properties":{"operationId":{"type":"string","const":"select_workspace"},"mcpToolName":{"type":"string","const":"select_workspace"},"input":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1}},"required":["workspaceId"],"additionalProperties":false}},"required":["operationId","mcpToolName","input"],"additionalProperties":false}},"required":["partnerWorkspace","next"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

partner workspace list

  • Operation ID: partner.workspace.list
  • Authentication: oauth_token
  • Workspace selection: none
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/partner/workspaces/list
  • MCP: manage_partner_workspaces (action list) — List the Workspaces a Partner built (Partner). Partners only. Every Workspace the Partner built that is not archived, newest first, with its state: setup (no Handover Invite yet), invited (the invite is live), expired (it lapsed unaccepted) or handed_over (the prospect owns it and the Partner is an Admin).
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied

Operation input schema (compact JSON, complete contract):

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

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"partnerWorkspaces":{"type":"array","items":{"type":"object","properties":{"workspace":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1},"role":{"anyOf":[{"type":"string","enum":["owner","admin","member"]},{"type":"null"}]},"status":{"type":"string","enum":["active","archived"]}},"required":["id","name","slug","role","status"],"additionalProperties":false},"plan":{"type":"string","enum":["starter","pro","proMax"]},"prospectEmail":{"type":"string","minLength":1},"language":{"type":"string","enum":["es","en"]},"state":{"type":"string","enum":["setup","invited","expired","handed_over"]},"createdAt":{"type":"number"},"handedOverAt":{"type":["number","null"]},"handoverInvite":{"anyOf":[{"type":"object","properties":{"inviteId":{"type":"string","minLength":1},"status":{"type":"string","enum":["pending","revoked","accepted"]},"expiresAt":{"type":"number"}},"required":["inviteId","status","expiresAt"],"additionalProperties":false},{"type":"null"}]}},"required":["workspace","plan","prospectEmail","language","state","createdAt","handedOverAt","handoverInvite"],"additionalProperties":false}}},"required":["partnerWorkspaces"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

partner workspace send-handover

  • Operation ID: partner.workspace.send_handover
  • Authentication: oauth_token
  • Workspace selection: none
  • Required API Key scope: none
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/partner/workspaces/send-handover
  • MCP: manage_partner_workspaces (action send_handover) — Hand a Workspace over to its prospect (Partner). Partners only, and only the Partner who built the Workspace while still its sole Owner. Emails the prospect a Handover Invite, valid 30 days: they sign up or sign in with that email and accept, become Owner, and the Partner becomes an Admin. It sends an email, so set confirm true only after the User agreed to send it. Sending again replaces the live invite. Revoke it with workspace.invite.revoke.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, permission_denied, resource_not_found, workspace_archived, confirmation_required, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"confirm":{"type":"boolean"},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["workspaceId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"partnerWorkspace":{"type":"object","properties":{"workspace":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1},"role":{"anyOf":[{"type":"string","enum":["owner","admin","member"]},{"type":"null"}]},"status":{"type":"string","enum":["active","archived"]}},"required":["id","name","slug","role","status"],"additionalProperties":false},"plan":{"type":"string","enum":["starter","pro","proMax"]},"prospectEmail":{"type":"string","minLength":1},"language":{"type":"string","enum":["es","en"]},"state":{"type":"string","enum":["setup","invited","expired","handed_over"]},"createdAt":{"type":"number"},"handedOverAt":{"type":["number","null"]},"handoverInvite":{"anyOf":[{"type":"object","properties":{"inviteId":{"type":"string","minLength":1},"status":{"type":"string","enum":["pending","revoked","accepted"]},"expiresAt":{"type":"number"}},"required":["inviteId","status","expiresAt"],"additionalProperties":false},{"type":"null"}]}},"required":["workspace","plan","prospectEmail","language","state","createdAt","handedOverAt","handoverInvite"],"additionalProperties":false}},"required":["partnerWorkspace"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

contact list

  • Operation ID: contact.list
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: agent:read
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/contact/list
  • MCP: list_contacts — List Andy Contacts. List one Agent's unique people, newest interaction first. population "leads" excludes booked Contacts; "booked" selects them; "all" is the default. status selects active or discarded people. query matches name/email/phone across the full population through bounded continuation, never just loaded rows. A page can be empty while meta.nextCursor remains. countsOnly returns no person rows and retains the same bounded authorised traversal, for reactive totals. counts.population and counts.matched accumulate through the traversal and are exact only when counts.complete is true. Restart traversal after a write; concurrent population changes are not a frozen snapshot. Use each row's contactId for inspect/discard/restore. Continue with the same scope and filter until meta.nextCursor is absent. A Workspace API Key needs agent:read.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, agent_selection_required

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"agentId":{"type":"string","minLength":1},"status":{"default":"active","type":"string","enum":["active","discarded"]},"population":{"default":"all","type":"string","enum":["all","leads","booked"]},"query":{"type":"string","maxLength":200},"countsOnly":{"default":false,"type":"boolean"},"cursor":{"type":"string","minLength":1},"pageSize":{"default":50,"type":"integer","minimum":1,"maximum":200}},"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"contacts":{"type":"array","items":{"type":"object","properties":{"origen":{"type":"string","enum":["conversacion","agendo_cita"]},"contactId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"name":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"company":{"type":"string"},"interestLevel":{"type":"string","enum":["low","medium","high"]},"lastInteractionAt":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["active","discarded"]},"discardedAt":{"type":"integer","minimum":0,"maximum":9007199254740991},"discardReason":{"type":"string","enum":["test","not_qualified"]}},"required":["contactId","agentId","lastInteractionAt","status"],"additionalProperties":false}},"counts":{"type":"object","properties":{"population":{"type":"integer","minimum":0,"maximum":9007199254740991},"matched":{"type":"integer","minimum":0,"maximum":9007199254740991},"complete":{"type":"boolean"}},"required":["population","matched","complete"],"additionalProperties":false}},"required":["contacts","counts"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

contact show

  • Operation ID: contact.inspect
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: agent:read
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/contact/inspect
  • MCP: manage_contact (action inspect) — Inspect an Andy Contact. Read one selected Agent's person, reachable identities and captured-event history. Select exactly one contactId from list_contacts or sessionId from an authorised production Conversation; sessionId resolves its saved person on that same Agent without population download. Each event exposes a Conversation destination only when the same Agent has a production Conversation in the current authorised scope. A null destination is unavailable. History is bounded: keep passing meta.nextCursor until historyComplete is true. Inspect does not change person status or establish that they were contacted. An API Key needs agent:read.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, invalid_request

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","oneOf":[{"type":"object","properties":{"agentId":{"type":"string","minLength":1},"cursor":{"type":"string","minLength":1},"pageSize":{"default":50,"type":"integer","minimum":1,"maximum":200},"contactId":{"type":"string","minLength":1}},"required":["agentId","contactId"],"additionalProperties":false},{"type":"object","properties":{"agentId":{"type":"string","minLength":1},"cursor":{"type":"string","minLength":1},"pageSize":{"default":50,"type":"integer","minimum":1,"maximum":200},"sessionId":{"type":"string","minLength":1}},"required":["agentId","sessionId"],"additionalProperties":false}]}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"contact":{"type":"object","properties":{"origen":{"type":"string","enum":["conversacion","agendo_cita"]},"contactId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"name":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"company":{"type":"string"},"interestLevel":{"type":"string","enum":["low","medium","high"]},"lastInteractionAt":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["active","discarded"]},"discardedAt":{"type":"integer","minimum":0,"maximum":9007199254740991},"discardReason":{"type":"string","enum":["test","not_qualified"]}},"required":["contactId","agentId","lastInteractionAt","status"],"additionalProperties":false},"reachableIdentities":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["email","phone"]},"value":{"type":"string","minLength":1}},"required":["kind","value"],"additionalProperties":false}},"captures":{"type":"array","items":{"type":"object","properties":{"captureId":{"type":"string","minLength":1},"capturedAt":{"type":"integer","minimum":0,"maximum":9007199254740991},"name":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"company":{"type":"string"},"interestLevel":{"type":"string","enum":["low","medium","high"]},"source":{"type":"string"},"notes":{"type":"string"},"conversation":{"anyOf":[{"type":"object","properties":{"agentId":{"type":"string","minLength":1},"sessionId":{"type":"string","minLength":1}},"required":["agentId","sessionId"],"additionalProperties":false},{"type":"null"}]}},"required":["captureId","capturedAt","interestLevel","source","conversation"],"additionalProperties":false}},"historyComplete":{"type":"boolean"}},"required":["contact","reachableIdentities","captures","historyComplete"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

contact discard

  • Operation ID: contact.discard
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: agent:write
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/contact/discard
  • MCP: manage_contact (action discard) — Discard a Contact. Remove one Contact from Leads and from broadcast audiences, with reason "test" or "not_qualified". Nothing is deleted: the conversation history stays, and if the person writes again they stay discarded. Idempotent; contact.restore undoes it. A Workspace API Key needs agent:write.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contactId":{"type":"string","minLength":1},"reason":{"type":"string","enum":["test","not_qualified"]},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["contactId","reason"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"contact":{"type":"object","properties":{"origen":{"type":"string","enum":["conversacion","agendo_cita"]},"contactId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"name":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"company":{"type":"string"},"interestLevel":{"type":"string","enum":["low","medium","high"]},"lastInteractionAt":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["active","discarded"]},"discardedAt":{"type":"integer","minimum":0,"maximum":9007199254740991},"discardReason":{"type":"string","enum":["test","not_qualified"]}},"required":["contactId","agentId","lastInteractionAt","status"],"additionalProperties":false}},"required":["contact"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

contact restore

  • Operation ID: contact.restore
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: agent:write
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/contact/restore
  • MCP: manage_contact (action restore) — Restore a discarded Contact. Put one discarded Contact back on Leads and in broadcast audiences. Idempotent on an active Contact. A Workspace API Key needs agent:write.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contactId":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["contactId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"contact":{"type":"object","properties":{"origen":{"type":"string","enum":["conversacion","agendo_cita"]},"contactId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"name":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"company":{"type":"string"},"interestLevel":{"type":"string","enum":["low","medium","high"]},"lastInteractionAt":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["active","discarded"]},"discardedAt":{"type":"integer","minimum":0,"maximum":9007199254740991},"discardReason":{"type":"string","enum":["test","not_qualified"]}},"required":["contactId","agentId","lastInteractionAt","status"],"additionalProperties":false}},"required":["contact"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

content idea list

  • Operation ID: content.idea.list
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: content:read
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/content/ideas/list
  • MCP: list_ideas — List Andy Ideas. List the Workspace's Ideas, newest first: raw post ideas parked before they become drafts. Omitted status lists every Idea but the archived ones. Filter by tag, target channel, or query (title, notes and tags). A page can be short while meta.nextCursor remains; keep paging until it is absent. Each Idea carries its url in the App and the Posts drafted from it. A Workspace API Key needs content:read.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, workspace_archived, insufficient_scope

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"cursor":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"pageSize":{"default":50,"type":"integer","minimum":1,"maximum":100},"status":{"type":"string","enum":["new","in_progress","drafted","archived"]},"tag":{"type":"string","minLength":1,"maxLength":60},"channel":{"type":"string","enum":["x","linkedin","instagram","tiktok"]},"query":{"type":"string","minLength":1,"maxLength":200}},"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"ideas":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"title":{"type":"string"},"notes":{"type":"string"},"channels":{"type":"array","items":{"type":"string","enum":["x","linkedin","instagram","tiktok"]}},"tags":{"type":"array","items":{"type":"string"}},"source":{"type":"object","properties":{"kind":{"type":"string","enum":["user","agent"]},"link":{"type":["string","null"]}},"required":["kind","link"],"additionalProperties":false},"status":{"type":"string","enum":["new","in_progress","drafted","archived"]},"posts":{"type":"array","items":{"type":"object","properties":{"postId":{"type":"string","minLength":1},"channel":{"type":"string","enum":["x","linkedin","instagram","tiktok"]},"status":{"type":"string","enum":["pending_approval","approved","published","failed","rejected"]}},"required":["postId","channel","status"],"additionalProperties":false}},"url":{"type":"string","format":"uri"},"createdAt":{"type":"number"},"updatedAt":{"type":"number"}},"required":["id","title","notes","channels","tags","source","status","posts","url","createdAt","updatedAt"],"additionalProperties":false}}},"required":["ideas"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

content idea show

  • Operation ID: content.idea.inspect
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: content:read
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/content/ideas/inspect
  • MCP: list_ideas — Inspect an Andy Idea. Read one Idea by id: its full notes, target channels, tags, source, status, url and the Posts drafted from it. A Workspace API Key needs content:read.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, workspace_archived, insufficient_scope, resource_not_found

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ideaId":{"type":"string","minLength":1}},"required":["ideaId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"idea":{"type":"object","properties":{"id":{"type":"string","minLength":1},"title":{"type":"string"},"notes":{"type":"string"},"channels":{"type":"array","items":{"type":"string","enum":["x","linkedin","instagram","tiktok"]}},"tags":{"type":"array","items":{"type":"string"}},"source":{"type":"object","properties":{"kind":{"type":"string","enum":["user","agent"]},"link":{"type":["string","null"]}},"required":["kind","link"],"additionalProperties":false},"status":{"type":"string","enum":["new","in_progress","drafted","archived"]},"posts":{"type":"array","items":{"type":"object","properties":{"postId":{"type":"string","minLength":1},"channel":{"type":"string","enum":["x","linkedin","instagram","tiktok"]},"status":{"type":"string","enum":["pending_approval","approved","published","failed","rejected"]}},"required":["postId","channel","status"],"additionalProperties":false}},"url":{"type":"string","format":"uri"},"createdAt":{"type":"number"},"updatedAt":{"type":"number"}},"required":["id","title","notes","channels","tags","source","status","posts","url","createdAt","updatedAt"],"additionalProperties":false}},"required":["idea"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

content idea create

  • Operation ID: content.idea.create
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: content:write
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/content/ideas/create
  • MCP: manage_idea (action create) — Create an Andy Idea. Park a raw post idea on the Ideas board with status new. title is required; notes take long text such as a voice-to-text story; channels (x, instagram, linkedin, tiktok) and tags are optional; source { kind user|agent, link } records who had it and where it came from (omitted kind: agent, or user in the App). An Idea never publishes and never enters the approval queue: content.idea.draft turns it into a Post. Any Workspace member may create one. A Workspace API Key needs content:write.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, workspace_archived, insufficient_scope, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":200},"notes":{"type":"string","maxLength":50000},"channels":{"maxItems":4,"type":"array","items":{"type":"string","enum":["x","linkedin","instagram","tiktok"]}},"tags":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":60}},"source":{"type":"object","properties":{"kind":{"type":"string","enum":["user","agent"]},"link":{"anyOf":[{"type":"string","maxLength":2000,"format":"starts_with","pattern":"^http.*"},{"type":"null"}]}},"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["title"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"idea":{"type":"object","properties":{"id":{"type":"string","minLength":1},"title":{"type":"string"},"notes":{"type":"string"},"channels":{"type":"array","items":{"type":"string","enum":["x","linkedin","instagram","tiktok"]}},"tags":{"type":"array","items":{"type":"string"}},"source":{"type":"object","properties":{"kind":{"type":"string","enum":["user","agent"]},"link":{"type":["string","null"]}},"required":["kind","link"],"additionalProperties":false},"status":{"type":"string","enum":["new","in_progress","drafted","archived"]},"posts":{"type":"array","items":{"type":"object","properties":{"postId":{"type":"string","minLength":1},"channel":{"type":"string","enum":["x","linkedin","instagram","tiktok"]},"status":{"type":"string","enum":["pending_approval","approved","published","failed","rejected"]}},"required":["postId","channel","status"],"additionalProperties":false}},"url":{"type":"string","format":"uri"},"createdAt":{"type":"number"},"updatedAt":{"type":"number"}},"required":["id","title","notes","channels","tags","source","status","posts","url","createdAt","updatedAt"],"additionalProperties":false}},"required":["idea"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

content idea edit

  • Operation ID: content.idea.edit
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: content:write
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/content/ideas/edit
  • MCP: manage_idea (action edit) — Edit an Andy Idea. Change an Idea's title, notes, channels, tags or source. Only the fields sent change; channels and tags are replaced whole (an empty list clears them) and source.link null removes the link. Any Workspace member may edit. A Workspace API Key needs content:write.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, workspace_archived, insufficient_scope, idempotency_conflict, resource_not_found

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ideaId":{"type":"string","minLength":1},"title":{"type":"string","minLength":1,"maxLength":200},"notes":{"type":"string","maxLength":50000},"channels":{"maxItems":4,"type":"array","items":{"type":"string","enum":["x","linkedin","instagram","tiktok"]}},"tags":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":60}},"source":{"type":"object","properties":{"kind":{"type":"string","enum":["user","agent"]},"link":{"anyOf":[{"type":"string","maxLength":2000,"format":"starts_with","pattern":"^http.*"},{"type":"null"}]}},"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["ideaId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"idea":{"type":"object","properties":{"id":{"type":"string","minLength":1},"title":{"type":"string"},"notes":{"type":"string"},"channels":{"type":"array","items":{"type":"string","enum":["x","linkedin","instagram","tiktok"]}},"tags":{"type":"array","items":{"type":"string"}},"source":{"type":"object","properties":{"kind":{"type":"string","enum":["user","agent"]},"link":{"type":["string","null"]}},"required":["kind","link"],"additionalProperties":false},"status":{"type":"string","enum":["new","in_progress","drafted","archived"]},"posts":{"type":"array","items":{"type":"object","properties":{"postId":{"type":"string","minLength":1},"channel":{"type":"string","enum":["x","linkedin","instagram","tiktok"]},"status":{"type":"string","enum":["pending_approval","approved","published","failed","rejected"]}},"required":["postId","channel","status"],"additionalProperties":false}},"url":{"type":"string","format":"uri"},"createdAt":{"type":"number"},"updatedAt":{"type":"number"}},"required":["id","title","notes","channels","tags","source","status","posts","url","createdAt","updatedAt"],"additionalProperties":false}},"required":["idea"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

content idea status

  • Operation ID: content.idea.set_status
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: content:write
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/content/ideas/set-status
  • MCP: manage_idea (action set_status) — Set an Andy Idea's status. Move an Idea on the board: new, in_progress, drafted or archived. Setting archived is the same as content.idea.archive; any other status brings an archived Idea back. Drafting a Post sets drafted on its own. Any Workspace member may move an Idea. A Workspace API Key needs content:write.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, workspace_archived, insufficient_scope, idempotency_conflict, resource_not_found

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ideaId":{"type":"string","minLength":1},"status":{"type":"string","enum":["new","in_progress","drafted","archived"]},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["ideaId","status"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"idea":{"type":"object","properties":{"id":{"type":"string","minLength":1},"title":{"type":"string"},"notes":{"type":"string"},"channels":{"type":"array","items":{"type":"string","enum":["x","linkedin","instagram","tiktok"]}},"tags":{"type":"array","items":{"type":"string"}},"source":{"type":"object","properties":{"kind":{"type":"string","enum":["user","agent"]},"link":{"type":["string","null"]}},"required":["kind","link"],"additionalProperties":false},"status":{"type":"string","enum":["new","in_progress","drafted","archived"]},"posts":{"type":"array","items":{"type":"object","properties":{"postId":{"type":"string","minLength":1},"channel":{"type":"string","enum":["x","linkedin","instagram","tiktok"]},"status":{"type":"string","enum":["pending_approval","approved","published","failed","rejected"]}},"required":["postId","channel","status"],"additionalProperties":false}},"url":{"type":"string","format":"uri"},"createdAt":{"type":"number"},"updatedAt":{"type":"number"}},"required":["id","title","notes","channels","tags","source","status","posts","url","createdAt","updatedAt"],"additionalProperties":false}},"required":["idea"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

content idea archive

  • Operation ID: content.idea.archive
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: content:write
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/content/ideas/archive
  • MCP: manage_idea (action archive) — Archive an Andy Idea. Archive an Idea: it leaves the board but nothing is deleted, and the Posts drafted from it are untouched. content.idea.set_status brings it back. Idempotent. A Workspace API Key needs content:write.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, workspace_archived, insufficient_scope, idempotency_conflict, resource_not_found

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ideaId":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["ideaId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"idea":{"type":"object","properties":{"id":{"type":"string","minLength":1},"title":{"type":"string"},"notes":{"type":"string"},"channels":{"type":"array","items":{"type":"string","enum":["x","linkedin","instagram","tiktok"]}},"tags":{"type":"array","items":{"type":"string"}},"source":{"type":"object","properties":{"kind":{"type":"string","enum":["user","agent"]},"link":{"type":["string","null"]}},"required":["kind","link"],"additionalProperties":false},"status":{"type":"string","enum":["new","in_progress","drafted","archived"]},"posts":{"type":"array","items":{"type":"object","properties":{"postId":{"type":"string","minLength":1},"channel":{"type":"string","enum":["x","linkedin","instagram","tiktok"]},"status":{"type":"string","enum":["pending_approval","approved","published","failed","rejected"]}},"required":["postId","channel","status"],"additionalProperties":false}},"url":{"type":"string","format":"uri"},"createdAt":{"type":"number"},"updatedAt":{"type":"number"}},"required":["id","title","notes","channels","tags","source","status","posts","url","createdAt","updatedAt"],"additionalProperties":false}},"required":["idea"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

content idea draft

  • Operation ID: content.idea.draft
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: content:write
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/content/ideas/draft
  • MCP: manage_idea (action draft) — Turn an Andy Idea into a draft Post. Create one Post from an Idea and link them: the Post is always filed request_approval, so it waits in the approval queue as pending_approval and never publishes on its own. Omitted channel is the Idea's only target channel; omitted text is the Idea's title and notes, which you may rewrite for the channel first (each connection's text limit applies: post_text_too_long). Optional connectionId from list_connections and mediaAssetId (Instagram needs one). The Idea becomes drafted and lists the Post; an Idea may have several Posts. Archived Ideas cannot be drafted. Any Workspace member may draft. A Workspace API Key needs content:write.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, workspace_archived, insufficient_scope, idempotency_conflict, resource_not_found, setup_required, limit_exceeded, instagram_media_required, instagram_media_unsupported, media_unsupported, media_pending, tiktok_settings_required, post_text_too_long

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ideaId":{"type":"string","minLength":1},"channel":{"type":"string","enum":["x","linkedin","instagram","tiktok"]},"connectionId":{"type":"string","minLength":1},"text":{"type":"string","minLength":1},"mediaAssetId":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["ideaId"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"idea":{"type":"object","properties":{"id":{"type":"string","minLength":1},"title":{"type":"string"},"notes":{"type":"string"},"channels":{"type":"array","items":{"type":"string","enum":["x","linkedin","instagram","tiktok"]}},"tags":{"type":"array","items":{"type":"string"}},"source":{"type":"object","properties":{"kind":{"type":"string","enum":["user","agent"]},"link":{"type":["string","null"]}},"required":["kind","link"],"additionalProperties":false},"status":{"type":"string","enum":["new","in_progress","drafted","archived"]},"posts":{"type":"array","items":{"type":"object","properties":{"postId":{"type":"string","minLength":1},"channel":{"type":"string","enum":["x","linkedin","instagram","tiktok"]},"status":{"type":"string","enum":["pending_approval","approved","published","failed","rejected"]}},"required":["postId","channel","status"],"additionalProperties":false}},"url":{"type":"string","format":"uri"},"createdAt":{"type":"number"},"updatedAt":{"type":"number"}},"required":["id","title","notes","channels","tags","source","status","posts","url","createdAt","updatedAt"],"additionalProperties":false},"post":{"type":"object","properties":{"id":{"type":"string","minLength":1},"channel":{"type":"string","enum":["x","linkedin","instagram","tiktok"]},"status":{"type":"string","enum":["pending_approval","approved","published","failed","rejected"]},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"format":{"default":"text","type":"string","enum":["text","article"]},"copy":{"type":"object","properties":{"text":{"type":"string"},"hashtags":{"type":"array","items":{"type":"string"}},"cta":{"type":["string","null"]}},"required":["text","hashtags","cta"],"additionalProperties":false},"article":{"default":null,"anyOf":[{"type":"object","properties":{"title":{"type":"string"},"body":{"type":"string"},"coverMediaAssetId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]}},"required":["title","body","coverMediaAssetId"],"additionalProperties":false},{"type":"null"}]},"scheduledAt":{"type":["number","null"]},"publishState":{"anyOf":[{"type":"string","enum":["queued","paused","publishing","manual_exported","published","failed","unknown","cancelled"]},{"type":"null"}]},"publishError":{"type":["string","null"]},"externalPostId":{"type":["string","null"]},"externalUrl":{"anyOf":[{"type":"string","format":"starts_with","pattern":"^https:\\/\\/.*"},{"type":"null"}]},"mediaAssetId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"mediaAssetIds":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"mediaRevision":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"tiktokSettings":{"anyOf":[{"type":"object","properties":{"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"commentEnabled":{"type":"boolean"},"duetEnabled":{"type":"boolean"},"stitchEnabled":{"type":"boolean"},"commercialContent":{"type":"string","enum":["off","own_brand","branded","both"]}},"required":["privacyLevel","commentEnabled","duetEnabled","stitchEnabled","commercialContent"],"additionalProperties":false},{"type":"null"}]},"firstComment":{"anyOf":[{"type":"object","properties":{"text":{"type":"string","minLength":1},"state":{"type":"string","enum":["pending","posting","posted","failed"]},"externalId":{"type":["string","null"]},"externalUrl":{"anyOf":[{"type":"string","format":"starts_with","pattern":"^https:\\/\\/.*"},{"type":"null"}]},"error":{"type":["string","null"]},"updatedAt":{"type":["number","null"]}},"required":["text","state","externalId","externalUrl","error","updatedAt"],"additionalProperties":false},{"type":"null"}]},"xCommunity":{"default":null,"anyOf":[{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9]{1,19}$"},"shareWithFollowers":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":80}},"required":["id","shareWithFollowers","name"],"additionalProperties":false},{"type":"null"}]},"quotePost":{"default":null,"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":["id","url"],"additionalProperties":false},{"type":"null"}]},"connectionId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"connectionLabel":{"type":["string","null"]},"url":{"default":null,"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"approval":{"anyOf":[{"type":"object","properties":{"approvedAt":{"type":"number"},"approvedBy":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"approvedRevision":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"actor":{"type":"string","minLength":1},"contentHash":{"type":"string","minLength":1},"destinationFingerprint":{"type":["string","null"]}},"required":["approvedAt","approvedBy","approvedRevision","actor","contentHash","destinationFingerprint"],"additionalProperties":false},{"type":"null"}]},"terminalReason":{"anyOf":[{"type":"string","enum":["rejected","cancelled","dismissed"]},{"type":"null"}]},"terminalAt":{"type":["number","null"]},"terminalActor":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"terminalNote":{"type":["string","null"]},"nextAction":{"type":["string","null"]},"createdAt":{"type":"number"},"updatedAt":{"type":"number"}},"required":["id","channel","status","revision","format","copy","article","scheduledAt","publishState","publishError","externalPostId","externalUrl","mediaAssetId","mediaAssetIds","mediaRevision","tiktokSettings","xCommunity","quotePost","connectionId","connectionLabel","url","approval","terminalReason","terminalAt","terminalActor","terminalNote","nextAction","createdAt","updatedAt"],"additionalProperties":false}},"required":["idea","post"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

booking show

  • Operation ID: booking.inspect
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: agent:read
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/booking/inspect
  • MCP: manage_booking (action inspect) — Inspect an Agent's booking setup. Read one Agent's booking setup: the Google Calendar connection (status, account, who connected it), the calendars on that connection read live from Google (id and name), and the saved rules: enabled, calendarIds in booking order, timeZone, businessHours, calendarHours (calendars with their own opening hours), appointmentTypes, bufferMinutes, minimumNoticeMinutes and monthlyAvailability. booking is null before a first save; calendars is null with a reason when Google cannot be read. maxCalendars is the most calendarIds one Agent may book into (10). A Workspace API Key needs agent:read.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, agent_selection_required

Operation input schema (compact JSON, complete contract):

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

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"agentId":{"type":"string"},"connection":{"type":"object","properties":{"status":{"type":"string","enum":["disconnected","initializing","initiated","active","inactive","failed","expired","revoked","deleted","unknown"]},"connected":{"type":"boolean"},"needsReconnect":{"type":"boolean"},"accountLabel":{"type":["string","null"]},"connectedByEmail":{"type":["string","null"]},"lastConnectedAt":{"type":["number","null"]},"calendarListRefusal":{"anyOf":[{"type":"object","properties":{"firstSeenAt":{"type":"number"},"lastSeenAt":{"type":"number"}},"required":["firstSeenAt","lastSeenAt"],"additionalProperties":false},{"type":"null"}]}},"required":["status","connected","needsReconnect","accountLabel","connectedByEmail","lastConnectedAt"],"additionalProperties":false},"calendars":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"primary":{"type":"boolean"}},"required":["id","name","primary"],"additionalProperties":false}},{"type":"null"}]},"calendarsUnavailableReason":{"anyOf":[{"type":"string","enum":["not_connected","reconnect_required","google_unavailable"]},{"type":"null"}]},"booking":{"anyOf":[{"type":"object","properties":{"enabled":{"type":"boolean"},"calendarIds":{"type":"array","items":{"type":"string"}},"timeZone":{"type":"string"},"businessHours":{"type":"object","properties":{"monday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}},"tuesday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}},"wednesday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}},"thursday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}},"friday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}},"saturday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}},"sunday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}}},"additionalProperties":false},"calendarHours":{"default":[],"type":"array","items":{"type":"object","properties":{"calendarId":{"type":"string"},"businessHours":{"type":"object","properties":{"monday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}},"tuesday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}},"wednesday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}},"thursday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}},"friday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}},"saturday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}},"sunday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}}},"additionalProperties":false}},"required":["calendarId","businessHours"],"additionalProperties":false}},"appointmentTypes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"label":{"type":"string"},"durationMinutes":{"type":"number"},"modality":{"type":"string","enum":["in_person","video"]}},"required":["id","label","durationMinutes","modality"],"additionalProperties":false}},"bufferMinutes":{"type":["number","null"]},"minimumNoticeMinutes":{"type":["number","null"]},"monthlyAvailability":{"anyOf":[{"type":"object","properties":{"enabled":{"type":"boolean"},"dates":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string"},"exception":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"closure"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"hours"},"ranges":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}}},"required":["kind","ranges"],"additionalProperties":false}]}},"required":["date"],"additionalProperties":false}}},"required":["enabled","dates"],"additionalProperties":false},{"type":"null"}]},"updatedAt":{"type":"number"}},"required":["enabled","calendarIds","timeZone","businessHours","calendarHours","appointmentTypes","bufferMinutes","minimumNoticeMinutes","monthlyAvailability","updatedAt"],"additionalProperties":false},{"type":"null"}]},"maxCalendars":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["agentId","connection","calendars","calendarsUnavailableReason","booking","maxCalendars"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

booking configure

  • Operation ID: booking.configure
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: agent:write
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/booking/configure
  • MCP: manage_booking (action configure) — Configure an Agent's booking setup. Change one Agent's booking rules, as the App's Google Calendar page saves them. Only the fields sent change. calendarIds are calendar ids from booking.inspect in booking order: Andy books into the first one free. Courts, rooms or anything else booked in parallel are each their own calendar here, not Appointment Types: appointmentTypes are kinds of booking (length, modality) and share every calendar. At most 10 (maxCalendars in booking.inspect); more is booking_rules_calendar_count. A new setup needs calendarIds, timeZone (IANA), appointmentTypes (1 to 3, each id, label, durationMinutes 15-240, modality in_person or video) and, to enable, businessHours ({ monday: [{ start: "09:00", end: "18:00" }], ... }); enabled defaults to off. A calendar can have its own opening hours: calendarHours is [{ calendarId, businessHours }] (same shape), and that calendar's Slots step from its own hours (a court opening 08:30 with 45-minute turns offers 08:30, 09:15, ...); a calendar not listed uses businessHours. calendarHours replaces the whole list, null or [] clears it, and a calendarId not in calendarIds is booking_rules_calendar_hours_invalid. bufferMinutes 0-120, minimumNoticeMinutes up to 14 days; null clears them. A rule the App refuses comes back as invalid_request with the App's code as detail, e.g. booking_rules_buffer_minutes. Owner/Admin; a Workspace API Key needs agent:write.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, agent_selection_required, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"agentId":{"type":"string","minLength":1},"enabled":{"type":"boolean"},"calendarIds":{"minItems":1,"type":"array","items":{"type":"string"}},"timeZone":{"type":"string"},"businessHours":{"type":"object","properties":{"monday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}},"tuesday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}},"wednesday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}},"thursday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}},"friday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}},"saturday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}},"sunday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}}},"additionalProperties":false},"calendarHours":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"calendarId":{"type":"string"},"businessHours":{"type":"object","properties":{"monday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}},"tuesday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}},"wednesday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}},"thursday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}},"friday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}},"saturday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}},"sunday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}}},"additionalProperties":false}},"required":["calendarId","businessHours"],"additionalProperties":false}},{"type":"null"}]},"appointmentTypes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"label":{"type":"string"},"durationMinutes":{"type":"number"},"modality":{"type":"string","enum":["in_person","video"]}},"required":["id","label","durationMinutes","modality"],"additionalProperties":false}},"bufferMinutes":{"type":["number","null"]},"minimumNoticeMinutes":{"type":["number","null"]},"monthlyAvailability":{"anyOf":[{"type":"object","properties":{"enabled":{"type":"boolean"},"dates":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string"},"exception":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"closure"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"hours"},"ranges":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}}},"required":["kind","ranges"],"additionalProperties":false}]}},"required":["date"],"additionalProperties":false}}},"required":["enabled","dates"],"additionalProperties":false},{"type":"null"}]},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"agentId":{"type":"string"},"booking":{"type":"object","properties":{"enabled":{"type":"boolean"},"calendarIds":{"type":"array","items":{"type":"string"}},"timeZone":{"type":"string"},"businessHours":{"type":"object","properties":{"monday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}},"tuesday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}},"wednesday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}},"thursday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}},"friday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}},"saturday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}},"sunday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}}},"additionalProperties":false},"calendarHours":{"default":[],"type":"array","items":{"type":"object","properties":{"calendarId":{"type":"string"},"businessHours":{"type":"object","properties":{"monday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}},"tuesday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}},"wednesday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}},"thursday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}},"friday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}},"saturday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}},"sunday":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}}},"additionalProperties":false}},"required":["calendarId","businessHours"],"additionalProperties":false}},"appointmentTypes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"label":{"type":"string"},"durationMinutes":{"type":"number"},"modality":{"type":"string","enum":["in_person","video"]}},"required":["id","label","durationMinutes","modality"],"additionalProperties":false}},"bufferMinutes":{"type":["number","null"]},"minimumNoticeMinutes":{"type":["number","null"]},"monthlyAvailability":{"anyOf":[{"type":"object","properties":{"enabled":{"type":"boolean"},"dates":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string"},"exception":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"closure"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"hours"},"ranges":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"],"additionalProperties":false}}},"required":["kind","ranges"],"additionalProperties":false}]}},"required":["date"],"additionalProperties":false}}},"required":["enabled","dates"],"additionalProperties":false},{"type":"null"}]},"updatedAt":{"type":"number"}},"required":["enabled","calendarIds","timeZone","businessHours","calendarHours","appointmentTypes","bufferMinutes","minimumNoticeMinutes","monthlyAvailability","updatedAt"],"additionalProperties":false}},"required":["agentId","booking"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

booking connect

  • Operation ID: booking.calendar.connect
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: agent:write
  • Minimum User role: admin
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/booking/calendar/connect
  • MCP: manage_booking (action connect_calendar) — Connect Google Calendar to an Agent. Give a person the link to connect Google Calendar to one Agent. connectUrl opens the Agent's Google Calendar page in the App, where an Owner or Admin signed in to Andy presses Connect and signs in to Google; Andy never signs in for them. It does not expire, and it also serves a reconnect. Read the result afterwards with booking.inspect. Owner/Admin; a Workspace API Key needs agent:write.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, agent_selection_required

Operation input schema (compact JSON, complete contract):

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

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"agentId":{"type":"string"},"connection":{"type":"object","properties":{"status":{"type":"string","enum":["disconnected","initializing","initiated","active","inactive","failed","expired","revoked","deleted","unknown"]},"connected":{"type":"boolean"},"needsReconnect":{"type":"boolean"},"accountLabel":{"type":["string","null"]},"connectedByEmail":{"type":["string","null"]},"lastConnectedAt":{"type":["number","null"]},"calendarListRefusal":{"anyOf":[{"type":"object","properties":{"firstSeenAt":{"type":"number"},"lastSeenAt":{"type":"number"}},"required":["firstSeenAt","lastSeenAt"],"additionalProperties":false},{"type":"null"}]}},"required":["status","connected","needsReconnect","accountLabel","connectedByEmail","lastConnectedAt"],"additionalProperties":false},"connectUrl":{"type":"string","format":"uri"}},"required":["agentId","connection","connectUrl"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

booking appointments

  • Operation ID: booking.appointment.list
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: agent:read
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/booking/appointments/list
  • MCP: manage_booking (action list_appointments) — List an Agent's Appointments. List the Appointments one Agent booked that start in [from, to), earliest first, at most 366 days at a time. from and to are ISO 8601 dates or date-times; a date alone is UTC midnight. Each Appointment carries the calendarId it was booked into, its appointment type, the Contact and the Google event link. Keep passing meta.nextCursor until it is absent. A Workspace API Key needs agent:read.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, agent_selection_required

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"agentId":{"type":"string","minLength":1},"from":{"type":"string"},"to":{"type":"string"},"cursor":{"type":"string","minLength":1},"pageSize":{"default":100,"type":"integer","minimum":1,"maximum":200}},"required":["from","to"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"appointments":{"type":"array","items":{"type":"object","properties":{"appointmentId":{"type":"string"},"startTime":{"type":"string"},"endTime":{"type":"string"},"timeZone":{"type":"string"},"calendarId":{"type":"string"},"appointmentType":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"durationMinutes":{"type":"number"},"modality":{"type":"string","enum":["in_person","video"]}},"required":["id","label","durationMinutes","modality"],"additionalProperties":false},"contact":{"anyOf":[{"type":"object","properties":{"contactId":{"type":"string"},"name":{"type":["string","null"]},"email":{"type":["string","null"]},"phone":{"type":["string","null"]}},"required":["contactId","name","email","phone"],"additionalProperties":false},{"type":"null"}]},"sessionId":{"type":"string"},"source":{"default":null,"type":["string","null"]},"googleEventLink":{"type":["string","null"]},"meetLink":{"type":["string","null"]},"createdAt":{"type":"number"},"releasedAt":{"type":"number"},"reminder":{"type":"object","properties":{"status":{"type":"string","enum":["scheduled","sending","sent","skipped","held"]},"reason":{"type":["string","null"]},"sendAt":{"type":"string"}},"required":["status","reason","sendAt"],"additionalProperties":false}},"required":["appointmentId","startTime","endTime","timeZone","calendarId","appointmentType","contact","sessionId","source","googleEventLink","meetLink","createdAt"],"additionalProperties":false}}},"required":["appointments"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

booking slots

  • Operation ID: booking.slot.list
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: agent:read
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/booking/slots/list
  • MCP: manage_booking (action list_slots) — List an Agent's free Slots. List the free Slots of one Appointment Type (an id from booking.inspect) that start in [from, to), at most 62 days at a time, read live from Google Calendar under the Booking Rules and cut at the booking horizon (the current and next month). Each Slot has start and end (ISO 8601) and every calendar free for it, with its name, in booking order; with calendarId, only that calendar. timeZone is the business's; readAt is when Google was read. Booking must be on and the Workspace needs calendar_booking. A Workspace API Key needs agent:read.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, agent_selection_required, processing_failed

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"agentId":{"type":"string","minLength":1},"appointmentTypeId":{"type":"string","minLength":1},"from":{"type":"string"},"to":{"type":"string"},"calendarId":{"type":"string","minLength":1}},"required":["appointmentTypeId","from","to"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"agentId":{"type":"string"},"appointmentTypeId":{"type":"string"},"timeZone":{"type":"string"},"readAt":{"type":"string"},"slots":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"},"calendars":{"type":"array","items":{"type":"object","properties":{"calendarId":{"type":"string"},"name":{"type":"string"}},"required":["calendarId","name"],"additionalProperties":false}}},"required":["start","end","calendars"],"additionalProperties":false}}},"required":["agentId","appointmentTypeId","timeZone","readAt","slots"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

booking book

  • Operation ID: booking.slot.book
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: agent:write
  • Minimum User role: none
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/booking/slots/book
  • MCP: manage_booking (action book_slot) — Book a Slot. Book one Slot from booking.slot.list for a person (name and phone; with an email they also get the Google Calendar invite). Andy re-reads Google live, creates the event on the calendar, and records the Appointment and the Contact, as a chat booking does, and notifies the owner. Without calendarId the first calendar free then gets it, in booking order. status booked returns the Appointment with its calendar; status refused returns the reason (slot_unavailable, taken_by_own_booking, booking_in_progress) and the nearest free Slots on any calendar. Send the same idempotencyKey to retry: it answers with the Appointment it already made, never a second one, even when the retry names another start or Appointment Type. A Workspace API Key needs agent:write.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, agent_selection_required, processing_failed

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"agentId":{"type":"string","minLength":1},"appointmentTypeId":{"type":"string","minLength":1},"start":{"type":"string"},"calendarId":{"type":"string","minLength":1},"person":{"type":"object","properties":{"name":{"type":"string","minLength":1},"phone":{"type":"string"},"email":{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"}},"required":["name","phone"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["appointmentTypeId","start","person"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"agentId":{"type":"string"},"status":{"type":"string","enum":["booked","refused"]},"appointment":{"anyOf":[{"type":"object","properties":{"appointmentId":{"type":["string","null"]},"calendarId":{"type":"string"},"calendarName":{"type":"string"},"start":{"type":"string"},"end":{"type":"string"},"timeZone":{"type":"string"},"appointmentTypeId":{"type":"string"},"replayed":{"type":"boolean"},"googleEventLink":{"type":["string","null"]},"meetLink":{"type":["string","null"]}},"required":["appointmentId","calendarId","calendarName","start","end","timeZone","appointmentTypeId","replayed","googleEventLink","meetLink"],"additionalProperties":false},{"type":"null"}]},"refusal":{"anyOf":[{"type":"object","properties":{"reason":{"type":"string","enum":["slot_unavailable","taken_by_own_booking","booking_in_progress"]},"nearestSlots":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"},"calendars":{"type":"array","items":{"type":"object","properties":{"calendarId":{"type":"string"},"name":{"type":"string"}},"required":["calendarId","name"],"additionalProperties":false}}},"required":["start","end","calendars"],"additionalProperties":false}}},"required":["reason","nearestSlots"],"additionalProperties":false},{"type":"null"}]}},"required":["agentId","status","appointment","refusal"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

booking page show

  • Operation ID: booking.page.inspect
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: agent:read
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/booking/page/inspect
  • MCP: manage_booking (action inspect_page) — Inspect an Agent's Booking Page. Read one Agent's Booking Page: the public link where anyone sees its free times grouped by calendar, whether the owner turned it on (enabled), and whether it serves now. serving is false with notServingReason page_off, booking_off, entitlement_required (the plan lacks calendar_booking), or calendar_not_connected; a link that does not serve shows one generic not-available page. askChannels lists each channel its "write to us" link can offer (public_link, whatsapp, instagram), whether the owner chose it and whether it is connected: the page shows the chosen connected ones, and with none it serves without the link. A Workspace API Key needs agent:read.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, agent_selection_required

Operation input schema (compact JSON, complete contract):

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

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"agentId":{"type":"string"},"enabled":{"type":"boolean"},"url":{"type":"string","format":"uri"},"serving":{"type":"boolean"},"notServingReason":{"anyOf":[{"type":"string","enum":["page_off","booking_off","entitlement_required","calendar_not_connected","ask_channel_missing"]},{"type":"null"}]},"askChannels":{"type":"array","items":{"type":"object","properties":{"channel":{"type":"string","enum":["public_link","whatsapp","instagram"]},"chosen":{"type":"boolean"},"connected":{"type":"boolean"}},"required":["channel","chosen","connected"],"additionalProperties":false}}},"required":["agentId","enabled","url","serving","notServingReason"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

booking page configure

  • Operation ID: booking.page.configure
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: agent:write
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported true; required false
  • HTTP: POST /api/public/operations/booking/page/configure
  • MCP: manage_booking (action configure_page) — Configure an Agent's Booking Page. Turn one Agent's Booking Page on (enabled true) or off (enabled false), or choose which channels its "write to us" link offers (askChannels: public_link, whatsapp, instagram; [] for none), and get its public link. Only the fields sent change. It starts off, with every connected channel chosen. On, or a channel choice, needs a saved booking setup (booking.configure; else invalid_request booking_page_setup_required); on also needs the calendar_booking plan feature (else entitlement_required). Off stops the link at once. Losing the plan feature later stops the page but keeps the switch. A chosen channel that is not connected is not shown until it is. Owner/Admin; a Workspace API Key needs agent:write.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, agent_selection_required, idempotency_conflict

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"agentId":{"type":"string","minLength":1},"enabled":{"type":"boolean"},"askChannels":{"type":"array","items":{"type":"string","enum":["public_link","whatsapp","instagram"]}},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"agentId":{"type":"string"},"enabled":{"type":"boolean"},"url":{"type":"string","format":"uri"},"serving":{"type":"boolean"},"notServingReason":{"anyOf":[{"type":"string","enum":["page_off","booking_off","entitlement_required","calendar_not_connected","ask_channel_missing"]},{"type":"null"}]},"askChannels":{"type":"array","items":{"type":"object","properties":{"channel":{"type":"string","enum":["public_link","whatsapp","instagram"]},"chosen":{"type":"boolean"},"connected":{"type":"boolean"}},"required":["channel","chosen","connected"],"additionalProperties":false}}},"required":["agentId","enabled","url","serving","notServingReason"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

booking reminder inspect

  • Operation ID: booking.reminder.inspect
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: agent:read
  • Minimum User role: none
  • Mutates: false
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/booking/reminder/inspect
  • MCP: manage_booking (action inspect_reminder) — Inspect an Agent's WhatsApp reminders. Read whether one Agent sends a WhatsApp reminder the day before an Appointment it booked in an Official WhatsApp chat, and its message template as Meta holds it, read live: name, language, status (APPROVED, PENDING, REJECTED, PAUSED, ...), category and rejectedReason. A reminder goes only to a patient who said yes to it while booking, 24 hours before the start, and only while the template is APPROVED. category UTILITY is as submitted; MARKETING means Meta recategorized it, a reason to turn reminders off. template is null with templateUnavailableReason official_whatsapp_required (the Agent has no Official WhatsApp) or meta_unavailable, or null alone when it was never submitted. A Workspace API Key needs agent:read.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, agent_selection_required

Operation input schema (compact JSON, complete contract):

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

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"agentId":{"type":"string"},"enabled":{"type":"boolean"},"template":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"language":{"type":"string"},"status":{"type":"string"},"category":{"type":"string"},"rejectedReason":{"type":["string","null"]}},"required":["name","language","status","category","rejectedReason"],"additionalProperties":false},{"type":"null"}]},"templateUnavailableReason":{"anyOf":[{"type":"string","enum":["official_whatsapp_required","meta_unavailable"]},{"type":"null"}]}},"required":["agentId","enabled","template","templateUnavailableReason"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

booking reminder

  • Operation ID: booking.reminder.configure
  • Authentication: oauth_token, workspace_api_key
  • Workspace selection: required
  • Required API Key scope: agent:write
  • Minimum User role: admin
  • Mutates: true
  • Idempotency: supported false; required false
  • HTTP: POST /api/public/operations/booking/reminder/configure
  • MCP: manage_booking (action configure_reminder) — Turn an Agent's WhatsApp reminders on or off. Turn on (enabled true) or off (enabled false) the WhatsApp reminder one Agent sends the day before an Appointment it booked in an Official WhatsApp chat. On submits Andy's fixed Spanish utility template (business, Appointment Type, date and time, and a "No quiero recordatorios" button) to the Agent's WhatsApp Business account once, then Meta reviews it: reminders go out only once it is APPROVED (read it with booking.reminder.inspect). While on, the Agent asks each patient booking at least 24 hours ahead whether they want the reminder; only a yes gets one, and a patient who taps the button or writes "no quiero recordatorios" gets no more. Meta may bill the WhatsApp Business account for each delivered utility template. On needs Official WhatsApp connected (else setup_required); a Meta failure is provider_request_failed and leaves reminders off. Owner/Admin; a Workspace API Key needs agent:write.
  • Stable problems: authentication_required, reauthentication_required, invalid_request, internal_error, workspace_selection_required, permission_denied, resource_not_found, workspace_archived, entitlement_required, agent_selection_required, setup_required, provider_request_failed

Operation input schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"agentId":{"type":"string","minLength":1},"enabled":{"type":"boolean"}},"required":["enabled"],"additionalProperties":false}

Operation output schema (compact JSON, complete contract):

{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"agentId":{"type":"string"},"enabled":{"type":"boolean"},"template":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"language":{"type":"string"},"status":{"type":"string"},"category":{"type":"string"},"rejectedReason":{"type":["string","null"]}},"required":["name","language","status","category","rejectedReason"],"additionalProperties":false},{"type":"null"}]},"templateUnavailableReason":{"anyOf":[{"type":"string","enum":["official_whatsapp_required","meta_unavailable"]},{"type":"null"}]}},"required":["agentId","enabled","template","templateUnavailableReason"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"nextCursor":{"type":"string","minLength":1}},"required":["requestId"],"additionalProperties":false}},"required":["data","meta"],"additionalProperties":false}

Machine-readable verification

andy version --json reports the client, public contract, Node range, and compatibility. The tracked page is current only when bun --filter @andy/docs generate-reference --check exits 0.

Next step

Use MCP for tool connection or Troubleshooting and Upgrading for stable failures and upgrades.

On this page

OutcomePrerequisitesBuild freshnessOperation schemassupport metrics inspectsupport settings inspectsupport settings configuresupport alerts inspectsupport alerts configuresupport webhook setsupport webhook getsupport webhook testsupport webhook pausesupport webhook resumesupport webhook removesupport provider inspectsupport provider provisionsupport installation listsupport installation inspectsupport installation createsupport installation configuresupport installation issue_keysupport installation rotate_keysupport installation retire_keysupport installation retiresupport ticket listsupport ticket inspectsupport ticket replysupport ticket notesupport ticket assignsupport ticket prioritysupport ticket waitsupport ticket resolvesupport ticket reopencontext getcontext select-workspaceauth statusworkspace listworkspace selectworkspace inspectworkspace createworkspace renameworkspace unarchiveworkspace entitlementsassistant telegram inspectassistant telegram prepareassistant telegram confirmassistant telegram disconnectworkspace time-zone showworkspace time-zone setbilling showbilling portalbilling tax-statusbilling cancel-unpaidinvoices listinvoices linkmembers listmembers rolemembers removemembers invitesmembers invitemembers revokeagent listagent inspectagent metricsagent live-nowagent createagent set-purposeagent configureagent deleteagent rename-slugagent logo setagent-website dismissapi-key listknowledge-source listknowledge-source inspectknowledge-source addknowledge-source waitknowledge-source reconcileknowledge-source replaceknowledge-source deletepublic-chat inspectpublic-chat enablepublic-chat disablepublic-chat urlwidget inspectwidget configurewidget manifestwidget verifychannel listchannel connectchannel disconnectcontent connection listcontent connection showcontent connection preflightcontent connection connectcontent connection disconnectcontent connection slotscontent connection slot-guardcontent connection community-addcontent connection community-removecontent instagram accountcontent instagram media listcontent instagram media showcontent media listcontent media showcontent media upload-preparecontent media upload-completecontent media upload-bytescontent post createcontent post listcontent post showcontent post editcontent post approvecontent post rejectcontent post cancelcontent post dismisscontent post reschedulecontent post pausecontent post retry-first-commentcontent post resumeconversation listconversation message listconversation reply-eligibility inspectconversation handoff takeoverconversation handoff hand-backconversation message sendconversation message submission inspectconversation message reportconversation sender blockconversation sender unblockagent human-only listagent human-only addagent human-only removeagent alert-number listagent alert-number addagent alert-number removeaffiliate joinaffiliate showaffiliate updateaffiliate admin listaffiliate admin exportaffiliate admin payaffiliate admin suspendaffiliate admin voidpartner workspace createpartner workspace listpartner workspace send-handovercontact listcontact showcontact discardcontact restorecontent idea listcontent idea showcontent idea createcontent idea editcontent idea statuscontent idea archivecontent idea draftbooking showbooking configurebooking connectbooking appointmentsbooking slotsbooking bookbooking page showbooking page configurebooking reminder inspectbooking reminderMachine-readable verificationNext step