API Reference: Team Agent (Ask Simply): Proposals, Support, and Knowledge Sources
Review Ask Simply proposals, human support handoffs, knowledge sources, and support boundaries.
Return to API Reference: Team Agent (Ask Simply) for the beginning of this article.
Proposals
Tools that change data are draft-first: the run records a proposal instead of executing immediately. A proposal describes the tool to run, its (redacted) arguments, a normalized before/after diff, the affected resources, a risk level (LOW, MEDIUM, HIGH), and permission and validation summaries. Proposals expire (expiresAt) if not acted on.
Proposal statuses: DRAFT → APPROVED → EXECUTING → EXECUTED, or REJECTED, EXPIRED, FAILED.
Stopped synchronous proposals
The four SSP audit proposals (draft_reconcile_ssp_registration_audit_item, draft_update_ssp_registration_audit_resolution, draft_link_ssp_registration_manual_entry, and draft_supersede_ssp_registration_audit_item) reserve five seconds of the API database budget for a durable failure receipt. A deadline cancels that execution's database scope, so later database writes from it are refused, and records FAILED with PROPOSAL_EXECUTION_TIMEOUT, executionOutcome: UNKNOWN, possiblePartialEffects: true, and shouldRetry: false. Canceling a connection does not prove a transaction rolled back, and even a confirmed archive rollback does not undo earlier reconciliation work or prove a provider outcome. Inspect current state before drafting again; never replay the failed approval.
If a process stops before it saves a receipt (including proposals approved before this safeguard), reject_proposal or its cancel_proposal alias accepts acknowledgeUnknownExecutionOutcome: true. The SDK equivalent is client.teamAgent.rejectProposal(proposalSimplyId, { acknowledgeUnknownExecutionOutcome: true }), using POST /v1/team-agent/proposals/{proposalSimplyId}/reject. This only closes an allowlisted synchronous SSP audit proposal as FAILED with PROPOSAL_INTERRUPTED_OUTCOME_UNKNOWN, the same unknown/partial-effects indicators, and no retry permission. It does not run, undo, archive, or restore records. The caller must own the Team and user session, be the original approving Team User and membership, and retain current access to the capability. Connected-app receipts require the original OAuth client, even through the native route.
Recovery requires more than the absolute 900-second AWS Lambda lifetime plus a 120-second buffer since approvedAt (strictly more than 17 minutes). It locks and rechecks the exact approval and arguments, refuses any existing result, completion time, task association, or task journal owner, and writes the receipt and event atomically without replacing newer chat control state. Repeating the same acknowledgment returns its receipt. Live work, asynchronous tools (even with no task handle), foreign actors, and changed approvals are refused. Website releases retain the separate acknowledgeUnknownPublicationOutcome path; the two acknowledgment flags are mutually exclusive.
{
"name": "reject_proposal",
"arguments": {
"proposalSimplyId": "PROP-1234-ABCD",
"acknowledgeUnknownExecutionOutcome": true
}
}
For a supersede interrupted at DataRecord FOR UPDATE, first read get_proposal and get_ssp_registration_audit_item, verify the stale registration's archive state, the superseding registration, and current SSP Register, and retain rollback evidence if available. Once the lifetime bound has passed, acknowledge the missing receipt with the payload above through the original connected app and approver. Read the proposal again to verify FAILED/UNKNOWN; only after reconciling actual state should you draft and approve fresh work. A failed recovery must be investigated rather than bypassed with a direct proposal-row update.
Billing and cost allocation: receipt recovery performs bookkeeping only; it creates no billable usage or provider calls and bypasses no paid capability. The execution guard bounds existing runtime work without introducing a usage producer, resource, meter, or charge.
Proposals Drafted by Connected AI Apps
A connected AI app, such as Claude using the hosted MCP server, can draft the same proposals while acting as the signed-in person. Those proposals are stored for that person, not in an Ask Simply chat, so they never appear in the session list. GET /v1/team-agent/connected-app-proposals lists the current user's pending ones in the current Team: status DRAFT and not expired, newest first, paginated with limit (1–100, default 25) and offset. Each row has the proposalSimplyId, tool name and display title, risk level, one-line summary, affected resources, connectedApp.clientName (the app's registered name, or null when it was not recorded), approvalPath, and the created and expiry times. It never includes the proposed arguments.
GET /v1/team-agent/proposals/{proposalSimplyId} returns one proposal that the current user drafted in the current Team, from either source. It adds origin (ASK_SIMPLY or CONNECTED_APP), connectedApp, toolTitle, and approvalPath to the normal proposal fields. Arguments use the same display projection as session reads, and normalizedDiff carries the reviewed changes. Any other proposal returns 404 TEAM_AGENT_PROPOSAL_NOT_FOUND.
These four operations do not require Ask Simply access. Ask Simply access decides whether a Team can use Simply360's own AI; it does not decide whether a person can use the hosted MCP server with their own AI app. Listing and reading a connected-app proposal need only a signed-in first-party Team User (a Cognito session, or the Simply Anywhere app with its full scope envelope) who is the person it was drafted for; no feature permission is checked to read your own proposals. Approving or rejecting one also needs the person's current hosted MCP access to that proposal's capability, the same rule the app's own approve_proposal and reject_proposal apply; otherwise the request is refused with 403 CAPABILITY_PERMISSION_DENIED. A proposal drafted in Ask Simply still needs Ask Simply access to read, approve, or reject (403 TEAM_AGENT_FEATURE_UNAVAILABLE or TEAM_AGENT_PERMISSION_DENIED), and only Ask Simply proposal approvals pause while Ask Simply side effects are operationally paused (503 OPERATIONAL_KILL_SWITCH_ACTIVE).
Approve or reject a connected-app proposal with the normal approve and reject operations. Only the person who drafted it can do this; the drafting app is shown but not required. When the approved change needs a step-up code, approval returns 403 ACTION_STEP_UP_REQUIRED for that exact proposal and leaves it as a draft. The SDK onStepUp flow then asks for a fresh code and retries once. This is the only way to finish such an approval: an OAuth connection has no step-up authority, so the app's own approve_proposal is refused and returns approvalUrl and approvalPath instead. In the web app, approvalPath (/team-{teamSimplyId}/ai-approvals/{proposalSimplyId}) opens Approvals from Connected AI Apps, which every Team User can open from AI App Approvals in the Team sidebar or from the Ask Simply menu. These operations run the same executors as hosted MCP approval, including campaign sends (draft_send_existing_outgoing_message and draft_send_outgoing_message_batch). If a tool's executor is not available on this surface, approval refuses with 503 PROPOSAL_EXECUTOR_UNAVAILABLE before anything runs, and the proposal stays a draft. Import proposals (draft_import_records) need the import review, so the web page offers only Reject for them; approve an import in the chat or app that drafted it. Acknowledging an interrupted website release is not an approval and stays with the app that drafted it.
Record DataCard Reads And TABLE Relationship Proposals
Ask Simply can inspect the same configured record-detail hierarchy as the webapp, Simply Anywhere, Public API, SDK, and hosted MCP. list_record_data_card_groups lists the readable groups for one record, and render_record_data_card_group returns the canonical typed payloads for all twelve DataCard types. The renderer applies the current Team User's Collection, field, SecurityScope, and installation-ceiling permissions; Ask Simply receives no private card settings, physical schema details, internal numeric IDs, or values hidden from that user.
A direct relationship-backed TABLE card may advertise ADD, REMOVE, or REORDER. Ask Simply must render the current card first and can then create the medium-risk draft_mutate_record_table_relationship proposal with the exact record, group, card, related-record public Simply IDs, the advertised action, current expectedUpdatedAt, and a UUID idempotency key. Drafting performs a current readability/topology preflight but does not write. Approval rechecks the exact card topology, action, permissions, record version, and idempotency boundary, then delegates to the same canonical relationship mutation used by the Public API and hosted MCP. A stale version, removed permission, changed card configuration, or unadvertised action fails without a partial relationship change.
Bulk Record Update Proposals
With edit-level Ask Simply access and update permission for the Collection and requested fields, Ask Simply can draft draft_bulk_update_data_records. The tool accepts one Collection, an exact set of 1–50 unique active record Simply IDs, and one shared field-change object keyed only by public field Simply IDs. Ask Simply must read the current Collection schema and resolve the record set before drafting. It must not infer a similarly named field, and a null value clears only the exact field the user explicitly requested. Requests over 50 records are split into separately reviewable proposals. Collections with Approval Workflows enabled use the normal record edit and approval flow instead, because their approval-state transitions cannot be combined with this proposal's all-or-nothing transaction.
The server preflights every record and field and creates a HIGH-risk proposal showing the affected-record count, field-assignment count, exact field labels with public Simply IDs and values, up to five record-name and public-ID samples, and the estimated direct platform charge. Direct record edits are billing-neutral, so that estimate is $0.00; normal Ask Simply AI usage metering still applies. A server-only fingerprint binds the reviewed Collection/field schema without exposing physical table or column metadata through TeamAgent API/client projections. Approval rechecks Ask Simply edit access, Collection read/update and field update permissions, active membership, that schema fingerprint, field existence, and the update timestamp captured for every record. It then calls the canonical bulk record service in one transaction while holding row locks. If any record or schema changed, any permission or membership is no longer valid, or any write fails, the whole proposal fails and no record changes are committed.
This adds no new Public API, SDK, OpenAPI, or hosted MCP operation. Web and Simply Anywhere display the bulk review and approve/reject it through the existing generic Team Agent proposal contract.
Blueprint, Export, Notification, Commerce, and Domain Proposals
The following integrations use the same proposal spine and re-run current authorization and canonical validation at approval:
- Blueprint install and upgrade: high-risk proposals carry only public Blueprint, version, integration, mapping, and target identifiers. Approval uses the shared queue dispatcher and remains
EXECUTINGwhile the owned Background Task runs. The worker rechecks publication, version lineage, integrations, mappings, target eligibility, and permissions before applying the manifest. - Blueprint install mapping:
draft_install_team_blueprinttakescollectionMappings, the choices a person makes on the Blueprint install screen, by public Simply IDs only:{ collectionKey: { "action": "MAP", "collectionSimplyId": "…", "fieldMappings": { fieldKey: fieldSimplyId | "CREATE" }, "listValueMappings": { itemRef: listValueSimplyId | "CREATE" } } }maps a Blueprint collection onto an existing Collection, and{ collectionKey: { "action": "CREATE" } }creates it new, declining a shared-collection contract provider. Only a contract maps a collection without a choice; inside a mapped Collection, fields and list values left out bind by contract, then match by name. The read capabilitypreview_blueprint_install_mappingreturns the install screen's suggestion and the candidate Collections for each Blueprint collection, the plan for the choices given, column conflicts, and the install preflight result (installCheck), plusinstallScreenCollectionMappingsready to pass ascollectionMappings; withblueprintCollectionKeyit adds that collection's fields and list values and the existing fields and readable list values they may map onto. A choice the install screen would not offer is refused with400 INVALID_BLUEPRINT_INSTALL_MAPPING. The proposal shows the final mapping asinstallManifest.installMapping; approval plans the recorded choices again and refuses with409 BLUEPRINT_INSTALL_MAPPING_CHANGEDif anything it maps changed. - Blueprint upgrade route and review:
get_team_blueprintfor an installed Blueprint pages its created entities (entityOffset,entityLimit1–25, default 25, optionalentityType;entitiesCompletenessgives the total) and includesupgradeRoute:DIRECT_PROPOSAL(draft, then approve by the person who drafted it, who needs Collection Settings edit) or, for a production-managed Team in production,ENVIRONMENT_PROMOTION(upgrade the STAGING copy, then promote it to production). In that casedraft_upgrade_team_blueprintis refused before planning with409 BLUEPRINT_UPGRADE_REQUIRES_ENVIRONMENT_PROMOTIONand the route in its details, and approving an older upgrade proposal is refused the same way. A drafted upgrade stores a boundedupgradeReview(counts plus up to 20 change keys each for removals, drift conflicts, KEEP_MINE, MAP_EXISTING, and changes that need review) and the route in itsupgradeManifest; hosted MCP responses show that review instead of the full change list. The read capabilitylist_blueprint_upgrade_changespages every change, from a drafted proposal (proposalSimplyId) or as a read-only preview that creates nothing (teamBlueprintSimplyIdandtargetBlueprintVersionSimplyId, which also works on production-managed Teams), filtered by change type, entity type, decided action, drift, or review need, with pages of up to 25 and an X–Y of Z range. Retrying a draft with the same plan, decisions, and new option values returns the existing draft whatever its summary says. - Blueprint drift and reconcile:
detect_team_blueprint_driftis a read-only check for Collection and field drift against the installed Blueprint version, the same check as Team Admin Check Drift andGET /v1/blueprints/installations/{teamBlueprintSimplyId}/drift. The high-riskdraft_reconcile_team_blueprintproposal runs a reconcile dry run and records the plan with a fingerprint; approval re-runs the dry run, refuses a changed plan with409 BLUEPRINT_RECONCILE_PLAN_CHANGED, then queues the reconcile as aBLUEPRINT_RECONCILEBackground Task and the proposal staysEXECUTINGwith itsbackgroundTaskSimplyId. The task re-runs the dry run and re-checks the approver's edit permission immediately before it reconciles likePOST /v1/blueprints/installations/{teamBlueprintSimplyId}/reconcile, and fails without changes if either changed. Reconcile re-applies Blueprint-owned Collection, field, Data View, and Website access settings the Team has not customized, backfills absent Blueprint field defaults (fieldSettings.defaultValue), recreates missing linked fields, and optionally backfills entity links; Team customizations are preserved. Both tools require edit-levelTEAM_ADMIN_DC_SETTINGS, matching the REST routes. - Blueprint options:
get_team_blueprint_optionsreads an installed Blueprint's options, current values, removable COUNT instance keys, andpendingOptionChange, the same data asGET /v1/blueprints/installations/{teamBlueprintSimplyId}/options. The high-riskdraft_update_team_blueprint_optionproposal takes thePATCH .../optionschange: a TOGGLE enable or disable, COUNT growth with new instance names, or COUNT removal by live instance key (at least one instance must remain). Drafting records the installer dry run: what the change creates, or for a TOGGLE disable or COUNT removal what it deletes (Collections, whose records leave them but stay in the Team, and per-instance Team Roles) or unlinks (other items, which stay in the Team), with record counts. A fingerprint binds the reviewed option state and dry run. Approval re-checks both, refuses a changed one with409 BLUEPRINT_OPTION_CHANGE_STATE_CHANGED, then queues the change as aBLUEPRINT_OPTION_CHANGEBackground Task; the proposal staysEXECUTINGwith itsbackgroundTaskSimplyIduntil the task finishes. The task re-checks the state, dry run, and the approver's edit permission immediately before applying the change. One option change or reconcile runs at a time per Team; another approval meanwhile fails with409 BLUEPRINT_CHANGE_IN_PROGRESS, naming the running task. While an earlier change is pending (committed but not finished), every other change is refused with409 BLUEPRINT_OPTION_CHANGE_PENDINGand the installer's "retry that exact change" message; drafting exactlypendingOptionChange.newValuefinishes it. A change that commits but does not finish fails its task and proposal withBLUEPRINT_OPTION_CHANGE_NOT_FINISHED, naming the new pending change. Reading needsTEAM_ADMIN_DC_SETTINGS, which is stricter than the REST read (Team data access); drafting needs it with edit access, matching the REST preview and change routes. - Recommended Blueprint bundles:
list_recommended_blueprint_bundlesis a read-only list of the Blueprint bundles the Team's brand recommends as its guided setup, the same data asGET /v1/blueprints/bundles/recommended. It takes no inputs. Each bundle has aslug, name, description, and member Blueprints; each member names a Blueprint slug and says whether it is required and whether an optional member is included by default. The list is empty when the brand recommends none. Reading needsTEAM_ADMIN_DC_SETTINGS, the same permission as the REST read. - CSV export:
draft_export_recordsaccepts exactly one Collection or Data View Simply ID, explicit readable DataField Simply IDs, safe system columns, an optional canonical filter, and optional record Simply IDs. A Data View's saved filter, the request filter, and selection are conjunctive. Read-only approval workflows export approved snapshots; current access and the frozen scope fingerprint are revalidated in the worker and again before issuing the requesting user's short-lived Background Task download. The worker uses stable keyset pagination, bounded multipart upload, formula-safe CSV values, retry/DLQ handling, and a deterministic header-only file for zero rows. - Teammate notification:
draft_notify_team_userrequires edit access to Team Users (TEAM_ADMIN_USERS) and creates one exact durable in-app notification about a record, conversation, or report. Both the approver and active recipient must still be able to read the linked resource. The server owns the deep link, allocates an idempotent notification Simply ID with the proposal, attempts realtime inbox fan-out, and sends no native push, email, or SMS.list_my_notificationsreads only the current member's inbox without changing read state. - Commerce configuration: high-risk fee, surcharge, code, and cart-recovery proposals show the complete flattened financial/configuration values and execute through the canonical services with a locked reviewed-state comparison. Cart recovery accepts only
DISABLEDandMANUAL_ONLY. Charges, payment accounts, payment methods, and transactions remain explain-only. A refund the person previewed can be confirmed, canceled before it reaches the payment processor, or reconciled through the reviewed proposalsdraft_confirm_financial_operation,draft_cancel_financial_operationanddraft_reconcile_financial_operation; a confirmation moves money, so only the person's Simply360 web sign-in approves it. - Website custom domain:
get_website_custom_domain_statusis a pure stored-state read. Setting, changing, clearing, and explicitly verifying a domain are high-risk proposals that use the canonical Website service, preserve crash-retry cleanup state, and keep certificate ARNs and CloudFront distribution IDs out of Team Agent output. DNS for outgoing-email sender verification remains explain-only.
Completed export files are delivered only through the requesting member's owned Background Task result. Web and Simply Anywhere use GET /v1/background-tasks/{backgroundTaskSimplyId}/result-download to obtain a short-lived URL after the task is complete; neither surface accepts a bucket or object key from the caller.
Outgoing Message Proposals
When the caller has outgoing email or SMS send permission, Ask Simply can draft outbound sends with draft_send_outgoing_message and draft_send_outgoing_message_from_template. These are approval-only DRAFT tools: the model never supplies raw recipient email addresses or phone numbers and never transmits messages directly. It supplies a server-resolved recipient specification such as a Collection, Data View, canonical dataFilterState, explicit record simplyIds, and the email or phone field simplyId. The server re-checks feature, edit, and data permissions, resolves readable recipient records and their contact field values, and stores a review snapshot in proposal.redactedArguments.resolvedOutgoingMessageReview.
Clients should render that review snapshot before approval: channel, sender, recipient count, recipient samples, scheduled time, subject when applicable, SMS segment details when applicable, and the full message body. Approval re-resolves the recipient specification and queues an OutgoingMessage through the same scheduler-backed outgoing-message pipeline used by the admin studio; it does not bypass suppression, dev-environment interception, sender compliance, Twilio status handling, or usage accounting. Sends over the default 500-recipient self-approval cap require a Team Admin to approve.
Record Approval Proposals
When the caller has data-agent edit access plus APPROVE_DATA_RECORDS for a Collection, Ask Simply can draft draft_resolve_record_approval for one pending Approval Workflow record. The proposal stores resolvedRecordApprovalReview with the decision, optional reviewer note, record and Collection labels, current approval status, and readable field-level changes.
Clients should render that review snapshot before approval. Approval re-resolves the record, requires it to still be PENDING_REVIEW, re-checks approval permission, and delegates to the same bulk approval service used by the record approval UI. Ask Simply does not write approval status or approved snapshots through a separate code path.
Automation Lifecycle Tools
Users with Automation administration access can ask Ask Simply to troubleshoot and operate Automations. The read tools list_automation_runs and get_automation_run expose the same execution-log concepts as the Automation UI: run status, start/completion time, processed and failed record counts, duration, and whether error details exist. Single-run reads include redacted trigger context and error details so support-style questions like “why didn't this automation fire?” can be answered without exposing internal numeric IDs or secret-shaped values.
draft_set_automation_enabled is the narrow proposal tool for enabling or disabling one Automation. Approval re-checks the Automation by public automationSimplyId, rejects no-op toggles, and updates the existing Automation row through the same schema-drift/snapshot path as other Automation edits. The toggle itself is not billable, but enabling an Automation can cause future configured actions, such as messages, document generation, payments, or AI work, to create usage through their normal billing paths when the Automation later runs.
Conversation Inbox Tools
When the caller has conversation inbox view permission, Ask Simply can read support inbox conversations with list_data_conversations and get_data_conversation. DATA_CONVERSATION_INBOX_VIEW_ALL (or Team Admin status) can read the full team inbox. Plain DATA_CONVERSATION_INBOX_VIEW is scoped to conversations assigned to the current Team User plus unassigned conversations. The read results expose public conversation and message Simply IDs, status, assignment, snooze/SLA state, visitor/requester context, linked record context, and message text; they do not expose internal numeric IDs or provider delivery payloads.
Conversation inbox changes are draft-first. draft_reply_to_conversation, draft_resolve_conversation, and draft_snooze_conversation require edit-level DATA_CONVERSATION_INBOX_RESPOND. draft_assign_conversation requires edit-level DATA_CONVERSATION_INBOX_ASSIGN. Draft validation rejects no-op assignment and resolution proposals, validates snooze dates (future, maximum 30 days), and verifies that assignment targets are active conversation responders.
Approval executes through the existing authenticated conversation inbox router as the approving Team User. Replies use the same inbox message path as the web/mobile inbox, so normal delivery, realtime publishing, message counters, and channel behavior are inherited. Assignment, resolution, and snooze proposals likewise reuse the existing inbox update/snooze paths. Reading and drafting inbox proposals is billing-neutral; approved replies can trigger normal outbound channel delivery costs, such as SMS, according to the existing conversation delivery path.
Duplicate Cleanup Proposals
When the caller has Data Cleanup edit access for a Collection, Ask Simply can draft duplicate-review cleanup actions. draft_merge_duplicate_records is a high-risk proposal that requires both ALLOW_UPDATE and DELETE_DATA_RECORDS data permission for the Collection. draft_dismiss_duplicate_review_item is a low-risk proposal that requires ALLOW_UPDATE. Both tools operate on one pending duplicate review item at a time and reject stale or already-resolved review items. A merge draft binds the plan it showed: the survivor, every compared field (including fields inherited from a parent Collection), the value each field keeps, and the links the merge re-points to the survivor (for each source, such as a link field in another Collection, how many links it holds to the merged record). Approval, and a background merge it queues, executes only that plan; a draft made before plans were bound, or whose plan has changed (for example because another record started linking to the merged record after the draft), is refused with DUPLICATE_MERGE_PREVIEW_CHANGED and must be drafted again. The merge checks the plan once more under the record locks. Then, for every source it re-points (link fields, junctions, direct references, carts, connected-system links, and processor customers), it compares how many links its updates actually move with how many the reviewed plan counted, adjusted only for link values the merge's own field copy writes onto the survivor. Sources that held no link are counted too, from their committed rows and without locking them, so a link added while the merge was waiting for its locks, even to a source that had none, is refused rather than re-pointed or left on the merged record; a link committed to such a source after that count and before the merge commits is not seen, like one added just after the merge. The binding is by count per source: a link removed and another added in the same source between review and merge is not detected. A change caught there rolls the merge back with "These records changed after the merge was reviewed": a background merge fails its item with that message. A few changes in that window, such as a new active cart for the merged record or a changed parent link, are caught by the merge's own lock checks first and roll it back with their own message. Links every merge moves as a matter of course (Collection membership and the record's own timeline), recent visits, and historical references that a merge preserves rather than re-points are not bound, so opening the record, including to review the merge, does not invalidate a draft. Other links to the merged record are bound, so a new one (for example a website session the record's contact starts from an email link, an open conversation, a bookmark, or a label) does, and the merge must be drafted again. Merges started from the duplicate review queue bind no reviewed plan and re-point the links as they stand when the merge runs.
Merge proposals are server-previewed through the canonical duplicate-merge planner before the user sees them. The proposal card shows the survivor record, merged record, merge readiness, field outcome, reference impact, and whether approval will run synchronously or queue a background duplicate-merge task. Approval re-checks the Collection, review-item status, data permissions, and canonical preview. If the planner classifies the item as ready, approval either calls the same synchronous duplicate-merge executor used by the cleanup UI or queues the existing duplicate-merge worker for background execution; Ask Simply does not implement a separate merge algorithm.
draft_merge_duplicate_record_pair merges two exact records of one Collection that the user named, with no duplicate rule or review item, through the same pair engine as POST /v1/data-records/merge. It needs the same Data Cleanup edit access and Collection permissions. The comparison covers every field of the Collection, including fields it inherits from a parent Collection (a SMART Collection's People fields). When the two records hold different values in a field, the draft is refused with those fields (by field Simply ID) until the user chooses which record keeps each value; every other field keeps the engine's suggestion. The proposal shows the same survivor, merged record, readiness, field outcome, and reference impact. Approval previews the pair again and refuses with DUPLICATE_MERGE_PREVIEW_CHANGED if the compared fields, the value each field keeps, the conflicting values, or the links the merge re-points changed after review, and the merge itself checks that plan again, under the record locks and against the links it re-points, before it commits; a change caught there refuses with DUPLICATE_MERGE_NOT_READY and writes nothing. A draft cannot be made when some field values are not readable through the connection; it says so instead of reporting no conflicts. A pair that rewrites too many references to merge in one request is refused; merge it from the duplicate review queue instead.
Dismiss proposals mark the duplicate review item as NOT_DUPLICATE and do not merge, archive, or edit either record. Duplicate cleanup reads, drafts, approvals, and dismissals are billing-neutral; they add no pricing catalog entries, invoice lines, prepaid-credit behavior, or usage metering bypass.
// Approve: executes the proposed change and returns the proposal with its executionResult
const approved = await s360.teamAgent.approveProposal('TAGP-1234-ABCD');
console.log(approved.data.status); // EXECUTED (or FAILED)
// Reject: closes the draft with an optional reason
await s360.teamAgent.rejectProposal('TAGP-5678-EFGH', { reason: 'Wrong record selected' });
curl -s -X POST "https://api.simply360.app/v1/team-agent/proposals/TAGP-1234-ABCD/approve" \
-H "Authorization: Bearer $S360_ACCESS_TOKEN"
curl -s -X POST "https://api.simply360.app/v1/team-agent/proposals/TAGP-5678-EFGH/reject" \
-H "Authorization: Bearer $S360_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "reason": "Wrong record selected" }'
Human Support Handoffs
When a request is ambiguous or lacks required information, Ask Simply asks a focused clarification question instead of exposing an internal tool error or ending the run at a dead end. Internal tool identifiers are execution details and do not appear in the assistant's user-facing answer. When Ask Simply still cannot resolve a request after clarification or reasonable attempts, it apologizes, explains the remaining boundary in plain language, and offers a support handoff so the user can connect with a person or leave a message. The responder pool is either the team's own configured support agents (CUSTOMER_TEAM) or Simply360 internal support (SIMPLY360_INTERNAL), depending on team configuration.
const availability = await s360.teamAgent.getSupportAvailability();
// { state: 'ONLINE' | 'OFFLINE' | 'UNAVAILABLE', canWaitForHuman, canLeaveMessage,
// providerKind, eligibleResponderCount, availableResponderCount, reason,
// handoffDisclosure: { requesterEmail }, ... }
if (availability.data.state !== 'UNAVAILABLE') {
const handoff = await s360.teamAgent.createSupportHandoff({
sessionSimplyId: 'TAGS-1234-ABCD',
handoffMode: availability.data.canWaitForHuman ? 'WAIT_FOR_HUMAN' : 'LEAVE_MESSAGE',
message: 'I need help fixing a broken automation.',
});
console.log(handoff.data.dataConversationSimplyId);
}
curl -s "https://api.simply360.app/v1/team-agent/support/availability" \
-H "Authorization: Bearer $S360_ACCESS_TOKEN"
curl -s -X POST "https://api.simply360.app/v1/team-agent/support/handoffs" \
-H "Authorization: Bearer $S360_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"sessionSimplyId": "TAGS-1234-ABCD",
"handoffMode": "WAIT_FOR_HUMAN",
"message": "I need help fixing a broken automation."
}'
The availability response includes handoffDisclosure.requesterEmail so clients can show what identity information will be shared before the user creates a handoff; clients should pair it with the current Ask Simply session title. Creating a handoff opens a support conversation (a DataConversation) linked to the Ask Simply session and returns 201 with the link: dataConversationSimplyId, provider team and kind, the handoff mode (WAIT_FOR_HUMAN or LEAVE_MESSAGE), and its status (REQUESTED, CONNECTED, MESSAGE_LEFT, or CLOSED). If no responder route exists, the API returns 409 SUPPORT_UNAVAILABLE; the requested mode must also be one the availability response allows. Use GET /v1/team-agent/sessions/{sessionSimplyId}/support-handoffs to list a session's handoffs, and the Conversations surface to follow the resulting conversation.
Knowledge Sources (Privileged)
Team Admins choose which knowledge-base article collections Ask Simply may draw answers from. Each source reports its collection, label, kind (KNOWLEDGE_BASE_ARTICLE_COLLECTION), enablement, article count, and any status filter or record filter applied to it.
const sources = await s360.teamAgent.listKnowledgeSources();
await s360.teamAgent.updateKnowledgeSources({
dataCollectionSimplyIds: ['DCL1-2345-6789', 'DCL9-8765-4321'],
sourceFilters: [
{ dataCollectionSimplyId: 'DCL1-2345-6789', dataFilterState: null },
],
});
curl -s -X PUT "https://api.simply360.app/v1/team-agent/settings/knowledge-sources" \
-H "Authorization: Bearer $S360_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "dataCollectionSimplyIds": ["DCL1-2345-6789", "DCL9-8765-4321"] }'
dataCollectionSimplyIds is the complete enabled set — collections omitted from the array are disabled. sourceFilters optionally narrows a source to matching records via a dataFilterState.
Knowledge search uses semantic embeddings of one canonical article profile: a Title, optional Summary, and Body on one physical table. The selected Collection is always the membership boundary. If a selected child or SMART Collection inherits its article fields, Ask Simply may read the canonical fields from one ancestor source table, but only records with active membership in the selected Collection are eligible. Every configured record filter must resolve entirely to either that membership table or the canonical source table; mixed-table, intermediate-ancestor, and implicit cross-hierarchy keyword filters are rejected. A configured status filter requires exactly one canonical Status reference field and compares exact status labels. Titan receives the first 8,000 characters of the whitespace-normalized canonical text; the freshness hash still covers all sanitized canonical content, but facts beyond that single-vector input cap do not affect semantic ranking.
The complete enabled set may contain at most 2,000 active record memberships in aggregate. The limit is checked again before every search and every indexing page, so growth after enablement fails closed before vector loading or embedding spend. Enabling a source durably queues indexing, and later record changes, membership changes, restores, and deletions reconcile the affected vectors. SMART-filter, direct-membership, full-resync, and reverse-reference changes have the same lifecycle coverage; the first page of a full sweep also repairs orphan vectors left by any missed notification. Search considers the complete bounded eligible set. It returns a temporary indexing error instead of partial results if an eligible vector is missing, stale, corrupt, from a different profile, has the wrong dimensions, or no longer matches the current article content. An embedding timestamp equal to the record timestamp is stale; publication waits for a strictly later database timestamp while holding the record/source lock.
Knowledge sources are intentionally team-wide after Team Admin curation; per-user Collection and field data permissions do not filter these excerpts. Results do not include record-open links. Only the canonical article fields and an optional status are read; record calculated names are never used as article fallback content, an empty canonical title gets a fixed generic label, and returned Collection/status labels are sanitized. Credential-like fields and values are removed before hashing, embedding, or excerpt output. Query and document embedding calls are attributed to TeamAgent tool execution and do not report success until the AI usage log and its cost event commit atomically. Background indexing observes the team's TeamAgent AI spend allowance and purchased credits.
Support Scope (Privileged)
Simply Action Tags Product Boundary
TeamAgent reads the Team's permission cap on the server. While a cap that includes Action Tags applies, it may return safe URL-only Action context, but it redacts linked record, Wizard, Fresh Scan, and powered-workflow details and rejects proposals that would create those connections. A broad role, System Admin session, direct URL, or paid Action Tags band does not widen the product.
For a Team with no cap, or whose cap a plan that unlocks the platform has lifted, the existing Action read/proposal behavior remains available under TEAM_ADMIN_SIMPLY_TAGS. TeamAgent does not change Action Tags plans, collect payment methods, apply retention selections, import CSV, manage custom domains, reveal webhook secrets, issue bearer credentials, or present credentials. Those operations stay on their customer-confirmed first-party UI or documented API boundary.
The support scope defines which local team users and roles act as human support responders for CUSTOMER_TEAM handoffs. Entries are user-based (scopeType: "USER") or role-based (scopeType: "ROLE") and include a live availabilityStatus (available or offline) for user entries.
const scope = await s360.teamAgent.listSupportScope();
await s360.teamAgent.updateSupportScope({
teamUserLinkSimplyIds: ['TUL1-1111-AAAA'],
teamRoleSimplyIds: ['TRLE-2222-BBBB'],
});
curl -s -X PUT "https://api.simply360.app/v1/team-agent/settings/support-scope" \
-H "Authorization: Bearer $S360_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "teamUserLinkSimplyIds": ["TUL1-1111-AAAA"], "teamRoleSimplyIds": ["TRLE-2222-BBBB"] }'
Usage Notes
- The agent's tool catalog is recomputed per request from the caller's feature and data permissions — the agent can never read or change anything the signed-in user could not.
- Tool call records in messages expose redacted inputs and output summaries, plus a category (
READ,DRAFT,EXECUTE,UI_INTENT) and risk level. - All identifiers at this boundary are public simplyIds; payload keys carrying numeric database IDs are rejected with a validation error.
POST /v1/team-agent/messagesreturns a202 RUNNINGhandoff for a new run so every client follows the durable worker through the run endpoint. A201terminal response is reserved for replaying an already-persisted idempotent result. Failures before queue ownership transfers surface through the POST; worker failures persist a safeFAILEDrun status for pollers.- Questions or feedback about this surface? Use the feedback page or email developers@simply360.app.
Duplicate-detection rule proposals
Ask Simply and hosted MCP support draft_create_duplicate_detection_rule, draft_update_duplicate_detection_rule, and draft_delete_duplicate_detection_rule, also discoverable through search_capabilities and callable with invoke_capability. Create identifies the Collection with dataCollectionSimplyId; update and delete identify the rule with duplicateRuleSimplyId. Each takes a plain-English summary. Update accepts any editable rule setting, including isActive to enable or disable checks; omitted settings retain their saved values. Match criteria use public field Simply IDs and the canonical duplicate-rule criterion contract.
These tools draft a proposal without changing a rule. All three require LEVEL_3 person confirmation on Simply360: MCP approve_proposal returns a URL elicitation to the approval page without executing. Approval requires the person’s Cognito web sign-in and rechecks their current Data Cleanup edit access, Collection update permission, and selected Team through the same writer as the Duplicate Detection workspace. Managed-Team refusals are the same as the web API. User-bound OAuth with schema:read and records:write can draft only; OAuth (including Simply Anywhere), session tokens, API keys, and service principals cannot execute. Non-web approval leaves the proposal pending. The server binds each proposal to the reviewed state; a rule changed since drafting is refused with 409 and must be drafted again. Delete is HIGH risk and permanently removes the rule’s duplicate-review history and evidence; recreating it cannot restore that evidence. Disable via update isActive=false to keep evidence while stopping future checks. No scan, merge, or record deletion runs as part of a rule change.