Use Summer AI's API to read support cases, request investigations, maintain company knowledge and configure Messenger. Each operation below includes its HTTP endpoint, required permission, MCP tool name and request fields. The reference comes from the same operation catalog that serves requests.
If you're working in Claude Code, Codex or Cursor, start with the MCP guide. For website installation, use agent-assisted setup. For your own application, use the endpoints below and the OpenAPI schema.
Find the operation for your task
| Task | Operations to look for |
|---|---|
| Confirm who is connected and which company to use | account.me, account.companies.list, company.capabilities |
| Find a customer's cases | cases.search (name, email, phone, date of birth, support code, order or tracking number, vendor ID, message words, status and date filters) |
| Read a case and the available evidence | cases.list, cases.get, cases.attachment, cases.customer_profile, investigations.list |
| See runs across cases | runs.list (status, plans waiting for approval, executions and date filters) |
| Monitor plans and autonomy | plans.list (executed or all plans, approved by a person or an agent, the agent's own call and self-review, with totals) |
| Ask Summer AI to investigate or revise a plan | investigations.request |
| Prepare a saved plan and its exact review | actions.prepare |
| Approve operator-authorized prepared work | actions.approve |
| Connect services and maintain company guides | integrations.list, credentials.set, knowledge.create, knowledge.edit |
| Follow changes in another application | events.list, webhooks.save, webhooks.replay |
| Configure guest uploads, guest limits and assistant capacity | messenger.installations.update, messenger.assistant.update |
| Search every website conversation, including visitors | messenger.conversations.list, messenger.conversations.get |
| Manage owners and automatic assignment | work_routing.read, work_routing.update, cases.assignment.read, cases.assignment.update |
| Set business hours and reusable replies or inbox views | support.policy.read, support.policy.update, saved_replies.list, saved_replies.save, saved_views.list, saved_views.save |
| Read credits, service metrics, the autonomy funnel and calibration, agent run timing, cancellation saves, delivery attempts and promises | reports.credits, reports.service_metrics, reports.autonomy_funnel, reports.autonomy_calibration, reports.agent_timing, reports.cancellations, reports.delivery, reports.commitments |
| Maintain quality checks and track privacy requests | quality.scenarios.list, quality.scenarios.save, quality.assessments.save, privacy.requests.list, privacy.requests.create |
Installation settings include guest_attachments_enabled,
guest_daily_conversation_limit and guest_challenge_hourly. Assistant settings
include max_concurrent_chats and daily_budget_cents. Delegated clients can
keep or lower saved spending limits; increasing them requires a person in Summer AI.
Company owners and administrators can use setup for workspace settings.
Members use cases.read to read their saved views and quality scenarios, and
workspace.write to save personal views and assessments. Sharing a view or
editing scenarios retains the same administrator checks as the UI.
Privacy operations file requests and show their status; approval and execution
remain in Summer AI.
Prepared actions need approval. An operator can delegate actions.approve so an agent can approve the exact work the operator authorized through API, CLI or MCP, using the prepared execution ID and approval hash. The operator may also approve in Summer AI. Requests that move a secret use the API or trusted local CLI; the corresponding MCP tool returns a local handoff command.
Make a request
Base URL: https://api.gosummer.ai/v1. Send Authorization: Bearer <access token> and, for writes, Content-Type: application/json. Updates take the version you expect, so a stale write returns version_conflict instead of overwriting newer work. See Errors, states and events for every code.
Availability: the developer platform is turned on per Summer AI deployment. Until it is enabled for your workspace, these endpoints answer developer_platform_disabled.
Account and client versions
Check live Summer MCP/API versions, old client warnings and the seven-day discovery refresh interval
GET /v1/client-status
Optional cached client versions and the last successful check timestamp distinguish known and unknown status.
- Access: Any connection for the signed-in person
- Applies to: your own account
- MCP:
summer_client_status
Query:
| Field | Type | Required | Notes |
|---|---|---|---|
cli_version | string | No | |
mcp_version | string | No | |
last_checked_at | string | No | ISO 8601 time with an offset, for example 2026-10-01T00:00:00Z |
Show the signed-in person, Summer access status, profile photo path and this connection's grant
GET /v1/me
- Access: Any connection for the signed-in person
- Applies to: your own account
- MCP:
summer_account_me
Upload your own profile photo (PNG, JPEG or WebP, at most 2 MB) as application/octet-stream
PUT /v1/me/photo
Customers see it beside Messenger replies you send. Use the local CLI or the API; never pass image bytes through MCP.
- Access: Any connection for the signed-in person
- Applies to: your own account
- MCP: Not available over MCP
- Idempotency-Key: recommended
Body: raw application/octet-stream, at most 2 MiB. The optional X-Content-SHA256 header must match those exact bytes. Use the local CLI; this body is not accepted through MCP.
Remove your own profile photo
DELETE /v1/me/photo
Replies you send afterward show your initials; earlier replies keep the photo they were sent with.
- Access: Any connection for the signed-in person
- Applies to: your own account
- MCP:
summer_account_photo_remove - Idempotency-Key: recommended
List companies the person can access and whether this connection includes each one
GET /v1/companies
- Access: Any connection for the signed-in person
- Applies to: your own account
- MCP:
summer_account_companies_list
Read the person's Summer access request
GET /v1/access-request
Approval is a separate Summer team decision.
- Access: Any connection for the signed-in person
- Applies to: your own account
- MCP:
summer_account_access_request_read
Submit or update a Summer access request
POST /v1/access-request
This cannot approve access.
- Access: Any connection for the signed-in person
- Applies to: your own account
- MCP:
summer_account_access_request_submit - Idempotency-Key: required
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
company_name | string | Yes | At most 120 characters. |
note | string | Yes | At most 2000 characters. |
Accept a company invitation sent to this person
POST /v1/invitations/accept
Authorize again to add the company to a connection.
- Access: Any connection for the signed-in person
- Applies to: your own account
- MCP: Not available over MCP
- Idempotency-Key: recommended
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
token | string | Yes |
List this person's agent connections, grants, last use and expiry
GET /v1/connections
- Access: Any connection for the signed-in person
- Applies to: your own account
- MCP:
summer_account_connections_list
Revoke one of this person's agent connections immediately
POST /v1/connections/{connection}/revoke
- Access: Any connection for the signed-in person
- Applies to: your own account
- MCP:
summer_account_connections_revoke - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
connection | UUID | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
reason | string | No | At most 200 characters. |
Company and setup
Set the hosts company actions may send one saved credential to, with the expected version (0 when it has no scope yet)
PUT /v1/companies/{company}/environments/{environment}/credentials/{name}/scope
Use exact https hosts, or https://*.example.com for any subdomain. A key with no scope may be sent to any public https host. Never reads or changes the value.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_credentials_scope_update - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes | |
name | string | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
hosts | array of string | Yes | |
reason | string | Yes | Why you are making this change. Kept in the history. At most 500 characters. |
expected_version | integer | Yes | The version you read; 0 for a new action |
Read connected Slack posting channels, or inspect current channel name/privacy, posting revision and authenticated sender
GET /v1/companies/{company}/environments/{environment}/slack/discussion-channels
Use audience vendor for a company-labelled vendor channel, including shared channels; internal is the default. Enables no grant and posts nothing.
- Access:
cases.read - Applies to: one environment
- MCP:
summer_slack_discussions_channels
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Query:
| Field | Type | Required | Notes |
|---|---|---|---|
channel | string | No | |
audience | internal, vendor | No |
What this connection can do here, with a reason for everything unavailable
GET /v1/companies/{company}/environments/{environment}/capabilities
- Access:
setuporcapabilities.read(owner or admin) - Applies to: one environment
- MCP:
summer_company_capabilities
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
Saved, verified, pending, unavailable and enabled state for each setup item
GET /v1/companies/{company}/environments/{environment}/setup
- Access:
setuporcapabilities.read(owner or admin) - Applies to: one environment
- MCP:
summer_company_setup_status
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
Read the same operational capability checklist, results, discovery paths and review history shown in Summer
GET /v1/companies/{company}/environments/{environment}/capability-checks
Every usable API, browser or knowledge path can count.
- Access:
capabilities.readorsetup - Applies to: one environment
- MCP:
summer_capability_checks_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
Read one capability, its concrete test, evidence and latest 20 review records
GET /v1/companies/{company}/environments/{environment}/capability-checks/{capability}
- Access:
capabilities.readorsetup - Applies to: one environment
- MCP:
summer_capability_checks_get
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
capability | string | Yes |
Edit a capability expectation or add a business-specific custom_ capability with a reason
PUT /v1/companies/{company}/environments/{environment}/capability-checks/{capability}
Resets its result and retains history. Does not create a provider tool or grant execution access.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_capability_checks_save - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
capability | string | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
expected_version | integer | Yes | Current version you expect; 0 when the resource does not exist yet |
definition | object | Yes | |
definition.id | string | Yes | |
definition.title | string | Yes | At most 120 characters. |
definition.group | string | Yes | At most 80 characters. |
definition.mode | read, approval | Yes | |
definition.expectation | string | Yes | At most 700 characters. |
definition.test | string | Yes | At most 1000 characters. |
definition.examples | string | Yes | At most 300 characters. |
notes | string | Yes | At most 2000 characters. |
Record the setup agent's capability assessment with original evidence and the path Summer can discover and use
POST /v1/companies/{company}/environments/{environment}/capability-checks/{capability}/reports
A pass needs evidence and a discovery path. Reports are labeled as agent-reported, never human approval or independently verified execution.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_capability_checks_report - Idempotency-Key: required
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
capability | string | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
expected_version | integer | Yes | Current version you expect; 0 when the resource does not exist yet |
state | not_checked, passed, failed, blocked, not_applicable | Yes | |
notes | string | Yes | At most 2000 characters. |
evidence | string | Yes | At most 2000 characters. |
fulfillment | object | No | |
fulfillment.kind | api, browser, knowledge, other, combined | Yes | |
fulfillment.discovery | string | Yes | How Summer can discover this path At most 1000 characters. |
fulfillment.location | string | Yes | Guide, tool, API documentation or portal location; never a secret At most 1000 characters. |
Request a read-only Summer capability test on an authorized sample case
POST /v1/companies/{company}/environments/{environment}/capability-checks/{capability}/tests
Also needs investigations.request and current runtime access. Does not approve or execute customer changes.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_capability_checks_test - Idempotency-Key: required
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
capability | string | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
expected_version | integer | Yes | Current version you expect; 0 when the resource does not exist yet |
case_id | UUID | Yes |
Read company-wide settings, including the email subject customers see on new support emails
GET /v1/companies/{company}/settings
Changes affect every environment.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_company_settings_read
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
Update company-wide settings with the expected version
PATCH /v1/companies/{company}/settings
Affects every environment.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_company_settings_update - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
name | string | Yes | At most 120 characters. |
timezone | string | Yes | At most 100 characters. |
workflow | support, order_status, billing, custom | Yes | |
note | string | Yes | At most 1000 characters. |
email_subject | string | No | Subject customers see on a new support email, such as "Your Example Co support request". Replies to a customer's email keep their subject. Leave out to keep the saved subject; an empty string clears it. At most 150 characters. |
expected_version | integer | Yes | Current version you expect; 0 when the resource does not exist yet |
List provider integrations, their categories, required fields, alternative credential sets and saved metadata
GET /v1/companies/{company}/environments/{environment}/integrations
Filter by search, category or connection. Connected means all required credentials and one complete alternative set are available, not a live provider check. read_only integrations are read with the company's own key and never written through. Never returns values.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_integrations_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
Query:
| Field | Type | Required | Notes |
|---|---|---|---|
search | string | No | At most 200 characters. |
category | clinical, messaging, helpdesk, orders, shipping, billing, marketing, data, custom | No | |
connection | connected, not_connected | No |
Save a custom integration's description, setup instructions and credential field names
PUT /v1/companies/{company}/environments/{environment}/integrations/{integration}
This saves metadata only, without credential values or a live connection check.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_integrations_save - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
integration | string | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
expected_version | integer | Yes | Current version you expect; 0 when the resource does not exist yet |
name | string | Yes | At most 100 characters. |
description | string | No | At most 500 characters. Default "". |
instructions | string | No | At most 4000 characters. Default "". |
fields | array of object | Yes |
Prepare an integration-specific MCP setup prompt and Codex or Claude Code app links
POST /v1/companies/{company}/environments/{environment}/integrations/setup-prompt
Includes the selected company, environment and setup brief, never credential values. Does not launch an app or change configuration.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_integrations_setup_prompt
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
name | string | Yes | At most 100 characters. |
description | string | No | At most 500 characters. Default "". |
instructions | string | No | At most 4000 characters. Default "". |
id | string | No | |
fields | array of object | No | Default []. |
List saved credential names, sources and versions
GET /v1/companies/{company}/environments/{environment}/credentials
Never returns values.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_credentials_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
Save one selected credential value or Doppler reference
PUT /v1/companies/{company}/environments/{environment}/credentials/{name}
Replacing an active credential needs credentials.replace. Returns metadata only.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_credentials_setreturns a local CLI command instead of moving a secret - Idempotency-Key: required
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
name | string | Yes | Credential variable name, for example STRIPE_READ_KEY |
Body, form 1:
| Field | Type | Required | Notes |
|---|---|---|---|
source | value | Yes | |
value | string | Yes | At most 16384 characters. |
expected_version | integer | Yes | Current version you expect; 0 when the resource does not exist yet |
Body, form 2:
| Field | Type | Required | Notes |
|---|---|---|---|
source | doppler | Yes | |
secret_name | string | Yes | Credential variable name, for example STRIPE_READ_KEY |
expected_version | integer | Yes | Current version you expect; 0 when the resource does not exist yet |
Remove an active credential with the expected version
DELETE /v1/companies/{company}/environments/{environment}/credentials/{name}
- Access:
credentials.replace(owner or admin) - Applies to: one environment
- MCP: Not available over MCP
- Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
name | string | Yes | Credential variable name, for example STRIPE_READ_KEY |
Query:
| Field | Type | Required | Notes |
|---|---|---|---|
expected_version | integer | Yes |
Read the support name and avatar shown on Summer's approved Slack replies, whether the Slack install allows them, and the change history
GET /v1/companies/{company}/slack/identity
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_slack_identity_read
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
Set the support name and avatar on Summer's approved Slack replies, with the expected revision and a reason
PUT /v1/companies/{company}/slack/identity
Null values use the plain Summer Ellis identity. Sends no message.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_slack_identity_update - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
revision | integer | Yes | Current revision from slack.identity.read; 0 before the first save. |
display_name | string or null | Yes | Support name shown on replies, such as the company's support team name. Slack still marks the post as an app. |
avatar_url | string or null | Yes | Public https image link for the reply avatar. |
reason | string | Yes | At most 1000 characters. |
Allow or stop approved agent replies in one vendor Slack channel, with the expected version from teammates
PUT /v1/companies/{company}/slack/channels/{channel}/posting
setup.status and a reason. Each reply still needs a person to approve its exact text. Sends no message.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_slack_channels_posting_update - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
channel | string | Yes | Slack channel ID from teammates.setup.status |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
allowed | boolean | Yes | |
expected_version | integer | Yes | postingVersion from teammates.setup.status; 0 before the first change. |
reason | string | Yes | At most 1000 characters. |
Choose who posts approved vendor Slack replies: the Summer Ellis app, a Summer Teammate (AI employee) from its own Slack account, or the person who approves each reply, from their own connected Slack account
PUT /v1/companies/{company}/slack/sender
Uses the revision from slack.identity.read and a reason. Sends no message.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_slack_sender_update - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
revision | integer | Yes | Current revision from slack.identity.read; 0 before the first save. |
sender | summer_app, teammate, approver | No | Who posts. Leave out to choose from teammate_id alone. 'approver' posts as whoever approves each reply; that person needs their own Slack account connected (slack.account.read). |
teammate_id | UUID or null | Yes | An active teammate from teammates.list when sender is 'teammate', otherwise null. |
reason | string | Yes | At most 1000 characters. |
Read who Summer reads Slack as: the connection itself (the Summer app or the installer's personal read access), an AI employee, or an admin's own Slack account, whether that account is connected, the revision and the change history
GET /v1/companies/{company}/slack/reader
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_slack_reader_read
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
Choose who Summer reads Slack as, with the revision from slack
PUT /v1/companies/{company}/slack/reader
reader.read and a reason. 'me' uses the caller's own connected Slack account; nobody can choose another person's account. Summer reads only the selected channels that account can see. Sends no message.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_slack_reader_update - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
revision | integer | Yes | Current revision from slack.reader.read; 0 before the first save. |
reader | connection, teammate, me | Yes | |
teammate_id | UUID or null | No | An active teammate from teammates.list when reader is 'teammate'. |
reason | string | Yes | At most 1000 characters. |
Read whether the caller's own Slack account is connected to Summer in this company, and the settings link to connect it
GET /v1/companies/{company}/slack/account
Connecting uses Slack sign-in in a browser.
- Access:
workspace.writeorsetup - Applies to: the whole company, every environment
- MCP:
summer_slack_account_read
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
Disconnect the caller's own Slack account from Summer in this company and delete its saved token
POST /v1/companies/{company}/slack/account/disconnect
Replies set to post as the approver are then blocked for the caller, and Summer stops reading as the caller.
- Access:
workspace.writeorsetup - Applies to: the whole company, every environment
- MCP:
summer_slack_account_disconnect - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
Read which Slack account Summer links to the caller in this company, how it was linked, the Slack people the caller can choose from, and whether Summer sends the caller Slack messages about assigned human tasks
GET /v1/companies/{company}/slack/member-link
- Access:
workspace.writeorsetup - Applies to: the whole company, every environment
- MCP:
summer_slack_member_link_read
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
Choose the caller's own Slack account in this company, say they have none, or turn Slack messages about their human tasks on or off
PUT /v1/companies/{company}/slack/member-link
Changes only the caller's settings.
- Access:
workspace.writeorsetup - Applies to: the whole company, every environment
- MCP:
summer_slack_member_link_update - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
slack_user_id | string or null | No | A Slack person from slack.member_link.read options. Omit to keep the current account. |
none | boolean | No | true: the caller does not use this Slack workspace. |
notices | boolean | No | Slack messages about human tasks assigned to the caller. On by default. |
Admin: match every company member to their Slack account again, by email and name
POST /v1/companies/{company}/slack/member-links/match
Accounts people signed in with or chose stay as they are. Runs within a few minutes; sends no message.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_slack_member_links_match - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
List the Slack channels the company selected for Summer, with read and post access and each channel's vendor and purpose
GET /v1/companies/{company}/slack/channels
Agents see the vendor and purpose with every vendor Slack read.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_slack_channels_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
Set which vendor a selected Slack channel is for and what it is used for, with a reason
PUT /v1/companies/{company}/slack/channels/{channel}
Null clears a field. Changes guidance for agents and people; sends no message and changes no channel access.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_slack_channels_describe - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
channel | string | Yes | Slack channel ID from slack.channels.list |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
installation_id | UUID | Yes | The Slack connection from slack.channels.list. |
vendor | string or null | Yes | The vendor this channel is with, such as Beluga Health. |
purpose | string or null | Yes | What the channel is used for, in one or two plain sentences. |
reason | string | Yes | At most 1000 characters. |
List company members and pending invitations
GET /v1/companies/{company}/team
Role changes and invitations stay in Summer.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_company_team_read
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
Run supported harmless checks
POST /v1/companies/{company}/environments/{environment}/verification
Unsupported checks are reported as unsupported, never as passed.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_verification_run - Idempotency-Key: required
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
targets | array of credentials, providers, slack, messenger | Yes |
Knowledge
Compare an exact shared publication with this company's adopted revisions, showing original before/after content and removed documents
GET /v1/companies/{company}/knowledge/shared/review
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_knowledge_shared_review
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes |
Query:
| Field | Type | Required | Notes |
|---|---|---|---|
profile | string | Yes | |
version | integer | Yes |
Publish exact versioned shared guidance with Summer platform-admin authority
POST /v1/companies/{company}/knowledge/shared/publications
Company-admin authority alone cannot publish. Preserves pinned company adoptions and prior snapshots.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_knowledge_shared_publish - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
profile | string | Yes | |
expectedVersion | integer | Yes | |
reason | string | Yes | At most 2000 characters. |
documents | array of object | Yes |
Read the effective knowledge manifest and exact shared/company document revisions used by agents, including provenance and published customer guide links
GET /v1/companies/{company}/knowledge/effective
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_knowledge_effective
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes |
Read current and latest shared publication versions, adoption history and the company's business profile
GET /v1/companies/{company}/knowledge/shared
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_knowledge_adoptions
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes |
Adopt an exact published shared version with company-admin authority, expected adoption revision and reason
POST /v1/companies/{company}/knowledge/shared/adopt
Preserves local company policies and prior agent snapshots.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_knowledge_adopt - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
profile | string | Yes | |
version | integer | Yes | |
expectedRevision | integer | Yes | |
reason | string | Yes | At most 2000 characters. |
List current company knowledge documents
GET /v1/companies/{company}/knowledge
Knowledge is company-wide, not per environment. Pass tag to list documents with that tag, such as an integration name (slack, beluga, mdi), which is how Summer shows knowledge related to an integration.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_knowledge_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
Query:
| Field | Type | Required | Notes |
|---|---|---|---|
query | string | No | At most 200 characters. |
tag | string | No | |
offset | integer | No |
Upload a new company knowledge document with original revision history
POST /v1/companies/{company}/knowledge
The shared library is used by all roles and environments. Existing document IDs are refused. API reference: https://api.gosummer.ai/v1/openapi.json
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_knowledge_create - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes | Knowledge document ID At most 120 characters. |
path | string | Yes | At most 240 characters. |
content | string | Yes | At most 1000000 characters. |
tags | array of string | No | Default []. |
reason | string | Yes | At most 2000 characters. |
Read company knowledge changes from people, delegated API/MCP connections and Summer agent plans, with before/after revisions, GPT change summaries, summary processing state and original provenance
GET /v1/companies/{company}/knowledge/changes
Set actor=summer for Summer plans and Teach Summer edits.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_knowledge_changes
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
Query:
| Field | Type | Required | Notes |
|---|---|---|---|
offset | integer | No | |
actor | all, summer | No |
Read one company knowledge document and its current revision
GET /v1/companies/{company}/knowledge/{document}
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_knowledge_get
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
document | string | Yes | Knowledge document ID At most 120 characters. |
Read the edit history of a company knowledge document with GPT change summaries and processing state
GET /v1/companies/{company}/knowledge/{document}/history
Set actor=summer for Summer plans and Teach Summer edits.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_knowledge_history
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
document | string | Yes | Knowledge document ID At most 120 characters. |
Query:
| Field | Type | Required | Notes |
|---|---|---|---|
offset | integer | No | |
actor | all, summer | No |
Edit an existing company knowledge document with the expected revision and a reason
PUT /v1/companies/{company}/knowledge/{document}
Affects every environment and later runs.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_knowledge_edit - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
document | string | Yes | Knowledge document ID At most 120 characters. |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
revision | integer | Yes | |
content | string | Yes | At most 1000000 characters. |
status | active, retired | Yes | |
reason | string | Yes | At most 2000 characters. |
Customer guides and media
Read the company's editable guidebook, draft articles, assets and publication state
GET /v1/companies/{company}/guides
Customer guides share the existing company knowledge source.
- Access:
setuporguides.publish(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_guides_get
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
Create or edit guidebook details at the expected version
PUT /v1/companies/{company}/guides
Saves a private draft; does not publish.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_guides_save - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
expected_version | integer | Yes | |
settings | object | Yes | |
settings.slug | string | Yes | At most 100 characters. |
settings.title | string | Yes | At most 160 characters. |
settings.description | string | Yes | At most 1000 characters. |
settings.accent | string | Yes | |
settings.hero_background | string | No | |
settings.support_installation_id | UUID or null | No | |
settings.portal_url | `` or string | Yes | |
settings.logo_asset_id | UUID or null | No | |
reason | string | Yes | At most 2000 characters. |
Read an editable guide article and its current knowledge revision
GET /v1/companies/{company}/guides/articles/{article}
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_guides_articles_get
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
article | string | Yes | At most 100 characters. |
Create or edit a Markdown customer article with source references and managed asset IDs
PUT /v1/companies/{company}/guides/articles/{article}
Saves a draft in the shared knowledge library; later edits do not change a published release.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_guides_articles_save - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
article | string | Yes | At most 100 characters. |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
expected_revision | integer | Yes | |
slug | string | Yes | At most 100 characters. |
title | string | Yes | At most 160 characters. |
summary | string | Yes | At most 1000 characters. |
topic | string | Yes | At most 100 characters. |
content | string | Yes | At most 500000 characters. |
asset_ids | array of UUID | Yes | |
source_url | `` or string | Yes | |
verified_at | string or null | No | Default null. |
reason | string | Yes | At most 2000 characters. |
Read the exact current draft, article revisions and authenticated preview URL before publishing
GET /v1/companies/{company}/guides/preview
No public access token is issued.
- Access:
setuporguides.publish(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_guides_preview
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
Read the company's reviewed guide-authoring brief, draft article references and publication state
GET /v1/companies/{company}/guides/authoring
This read starts no model run and changes no customer data.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_guides_authoring
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
Publish a complete release of the company's customer help center
POST /v1/companies/{company}/guides/publish
The release replaces every published article: list each article that should stay public (guides.preview publication.articles) and name any published article you mean to remove in unpublish. Requires explicit publication authority; does not approve customer business actions.
- Access:
guides.publish(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_guides_publish - Idempotency-Key: required
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
expected_version | integer | Yes | |
articles | array of object | Yes | |
unpublish | array of string | No | Default []. |
reason | string | Yes | At most 2000 characters. |
Remove the company's guide and release media from Summer's public serving path at the expected version
POST /v1/companies/{company}/guides/unpublish
Downloaded copies cannot be recalled.
- Access:
guides.publish(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_guides_unpublish - Idempotency-Key: required
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
expected_version | integer | Yes | |
reason | string | Yes | At most 2000 characters. |
Read the company's guide edits, upload and publication history
GET /v1/companies/{company}/guides/history
- Access:
setuporguides.publish(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_guides_history
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
Read the optional custom guide domain, DNS instructions and verified HTTPS status
GET /v1/companies/{company}/guides/hosting
Summer-hosted guide URLs need no customer DNS setup.
- Access:
setuporguides.publish(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_guides_hosting_get
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
Save or remove a custom guide hostname at the expected version
PUT /v1/companies/{company}/guides/hosting
Saving a name does not verify ownership or provision HTTPS.
- Access:
guides.publish(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_guides_hosting_save - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
expected_version | integer | Yes | |
hostname | string or null | Yes |
Check the saved domain's DNS ownership, attach it through Summer's hosting connection and verify HTTPS
POST /v1/companies/{company}/guides/hosting/verify
Returns pending until each check succeeds.
- Access:
guides.publish(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_guides_hosting_verify - Idempotency-Key: required
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
expected_version | integer | Yes |
List the company's private guide media, metadata and upload status
GET /v1/companies/{company}/guide-assets
Uploading does not make a file public.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_assets_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
Read one guide asset, checksum and resumable chunk receipts
GET /v1/companies/{company}/guide-assets/{asset}
No secret upload capability is returned.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_assets_get
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
asset | UUID | Yes |
Start or recover a private resumable Markdown, image, video, PDF or caption upload from metadata
POST /v1/companies/{company}/guide-assets
File bytes are transferred separately; this hosted endpoint has no local filesystem access.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_assets_uploads_create - Idempotency-Key: required
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
id | UUID | Yes | |
filename | string | Yes | At most 200 characters. |
media_type | text/markdown, image/png, image/jpeg, image/webp, image/gif, video/mp4, video/webm, text/vtt, application/pdf | Yes | |
byte_length | integer | Yes | |
sha256 | string | Yes | |
alt_text | string | Yes | At most 500 characters. |
caption | string | Yes | At most 2000 characters. |
provenance | string | Yes | At most 2000 characters. |
transcript | string | No | At most 100000 characters. Default "". |
poster_asset_id | UUID or null | No | Default null. |
Transfer one immutable file chunk of at most 2 MiB as application/octet-stream with the local CLI's Summer token
PUT /v1/companies/{company}/guide-assets/{asset}/chunks/{index}
Never pass binary or base64 file bodies through MCP.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP: Not available over MCP
- Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
asset | UUID | Yes | |
index | integer | Yes |
Body: raw application/octet-stream, at most 2 MiB. The optional X-Content-SHA256 header must match those exact bytes. Use the local CLI; this body is not accepted through MCP.
Verify the original size, content signature and SHA-256 against saved private bytes, then mark a guide upload ready
POST /v1/companies/{company}/guide-assets/{asset}/complete
A ready file remains private until published in a guide.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_assets_uploads_complete - Idempotency-Key: required
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
asset | UUID | Yes |
Edit guide media captions, alt text, provenance, transcript or poster at the expected version, or retire unused media
PATCH /v1/companies/{company}/guide-assets/{asset}
Published releases keep their pinned metadata.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_assets_edit - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
asset | UUID | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
expected_version | integer | Yes | |
alt_text | string | Yes | At most 500 characters. |
caption | string | Yes | At most 2000 characters. |
provenance | string | Yes | At most 2000 characters. |
transcript | string | No | At most 100000 characters. Default "". |
poster_asset_id | UUID or null | No | Default null. |
retired | boolean | No | Default false. |
reason | string | Yes | At most 2000 characters. |
Messenger
Search and filter the complete Messenger inbox, including visitor conversations without Ops cases
GET /v1/companies/{company}/environments/{environment}/messenger/conversations
- Access:
cases.read - Applies to: one environment
- MCP:
summer_messenger_conversations_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Query:
| Field | Type | Required | Notes |
|---|---|---|---|
cursor | string | No | |
limit | integer | No | |
q | string | No | At most 200 characters. |
sort | waiting, activity, overdue, newest | No | |
filter | open, needs_human, plan_ready, agent_working, waiting_customer, resolved, all | No | |
conversation | UUID | No |
Read original Messenger messages with saved human sender_display_name, contact form details, read receipts, attachments and timestamped page_context (current page and UI controls) without marking the chat read
GET /v1/companies/{company}/environments/{environment}/messenger/conversations/{conversation}
- Access:
cases.read - Applies to: one environment
- MCP:
summer_messenger_conversations_get
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes | |
conversation | UUID | Yes |
Query:
| Field | Type | Required | Notes |
|---|---|---|---|
after | integer | No | |
receipt_after | integer | No | |
file_id | UUID | No | |
view | state | No |
List Messenger installations in this environment
GET /v1/companies/{company}/environments/{environment}/messenger/installations
Signing keys are never returned.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_messenger_installations_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
Create an installation with a client-chosen ID
POST /v1/companies/{company}/environments/{environment}/messenger/installations
The one-time signing key goes to the trusted local helper, never to model-visible output.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_messenger_installations_createreturns a local CLI command instead of moving a secret - Idempotency-Key: required
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
id | UUID | Yes | New installation ID chosen by the client, so a retry cannot create a duplicate |
settings | object | Yes | |
settings.enabled | boolean | Yes | Live widget. The approved setup grant includes production installation and activation. |
settings.guests_enabled | boolean | Yes | |
settings.guest_attachments_enabled | boolean | No | |
settings.guest_daily_conversation_limit | integer | No | |
settings.guest_challenge_hourly | integer | No | |
settings.display_name | string | Yes | Company name shown in the Messenger header At most 80 characters. |
settings.logo_url | string | No | Public company logo shown in the header At most 1024 characters. |
settings.identity | object | No | Agent name and AI disclosure. Defaults to named support with a neutral first name and last initial. |
settings.identity.mode | human, ai | No | Named support persona (default) or a visible AI assistant label. Default "human". |
settings.identity.name_style | neutral, female | No | Default "neutral". |
settings.identity.custom_name | string | No | Name shown to customers. Leave it empty in named-support mode, with no teammate_id or suggested_photo, and Summer uses the company's AI employee from teammates.list. At most 80 characters. Default "". |
settings.identity.name_format | full, first | No | Named support: show and introduce the agent with the full name or first name only, keeping the chosen employee and photo. Omitted means full. AI assistant names are kept intact. |
settings.identity.teammate_id | UUID or null | No | Show this company teammate's uploaded photo beside automated replies. Put the teammate's name in custom_name. |
settings.identity.suggested_photo | string or null | No | Show the photo of a suggested teammate name (its first.last address part from teammates.names.list) beside automated replies. Put that name in custom_name. |
settings.allowed_origins | array of string | Yes | Exact website origins, https (http://localhost allowed in staging) |
settings.privacy_url | string | Yes | At most 512 characters. |
settings.fallback_url | string | Yes | At most 512 characters. |
settings.office_hours | string | Yes | At most 200 characters. |
settings.presentation | object | No | Company chat colors, welcome and chat copy, home/chat links and contact form labels. Consent text supports multiple label links; other copy is plain text. Links use HTTPS. Scoped to this installation. |
settings.presentation.colors | object | No | Default {}. |
settings.presentation.colors.accent | string | No | At most 7 characters. Default "#a95424". |
settings.presentation.colors.customer_bubble | string | No | At most 7 characters. Default "#eef1e7". |
settings.presentation.welcome_title | string | No | At most 100 characters. Default "How can we help?". |
settings.presentation.welcome_description | string | No | At most 300 characters. Default "". |
settings.presentation.chat_label | string | No | At most 60 characters. Default "Message support". |
settings.presentation.header_description | string | No | At most 100 characters. Default "Support team". |
settings.presentation.thread_title | string | No | At most 100 characters. Default "What's on your mind?". |
settings.presentation.thread_description | string | No | At most 300 characters. Default "Ask a question here. We can help you find the next step.". |
settings.presentation.actions | array of object or object | No | Default [{"type":"lead_capture","label":"Request follow-up","show_on_home":false,"show_in_chat":true}]. |
settings.presentation.lead_capture | object | No | Default {}. |
settings.presentation.lead_capture.required_before_chat | boolean | No | Default false. |
settings.presentation.lead_capture.custom_fields | array of object | No | Default []. |
settings.presentation.lead_capture.title | string | No | At most 100 characters. Default "Request follow-up". |
settings.presentation.lead_capture.description | string | No | At most 300 characters. Default "Leave your details so our team can contact you.". |
settings.presentation.lead_capture.name_label | string | No | At most 60 characters. Default "Name". |
settings.presentation.lead_capture.email_label | string | No | At most 60 characters. Default "Email". |
settings.presentation.lead_capture.company_label | string | No | At most 60 characters. Default "Company". |
settings.presentation.lead_capture.phone_label | string | No | At most 60 characters. Default "Phone number". |
settings.presentation.lead_capture.show_phone | boolean | No | Default false. |
settings.presentation.lead_capture.phone_required | boolean | No | Default false. |
settings.presentation.lead_capture.message_label | string | No | At most 60 characters. Default "Message". |
settings.presentation.lead_capture.show_message | boolean | No | Default true. |
settings.presentation.lead_capture.show_company | boolean | No | Default true. |
settings.presentation.lead_capture.company_required | boolean | No | Default false. |
settings.presentation.lead_capture.consent_text | string | No | Consent copy. Add any number of inline links with Privacy Policy. Links open in a new tab; HTML is displayed as text. The exact copy and URLs are retained with the submission. At most 500 characters. Default "I agree that this team may contact me using these details.". |
settings.presentation.lead_capture.submit_label | string | No | At most 60 characters. Default "Send my details". |
settings.presentation.lead_capture.success_message | string | No | At most 200 characters. Default "Your details are saved for our team.". |
settings.presentation.lead_capture.follow_up_label | string | No | At most 60 characters. Default "Book a call". |
settings.presentation.lead_capture.follow_up_url | string or `` | No | Default "". |
settings.routing | object | No | |
settings.routing.clinician_url | string | No | At most 512 characters. |
settings.routing.sign_in_url | string | No | At most 512 characters. |
settings.routing.catalog_url | string | No | At most 512 characters. |
settings.routing.offer_url | string | No | At most 512 characters. |
settings.routing.offer_label | string | No | At most 80 characters. |
settings.routing.destination_origins | array of string | No |
Update installation settings with the expected version
PATCH /v1/companies/{company}/environments/{environment}/messenger/installations/{installation}
Keeps the signing key.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_messenger_installations_update - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
installation | UUID | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
expected_version | integer | Yes | |
settings | object | Yes | |
settings.enabled | boolean | Yes | Live widget. The approved setup grant includes production installation and activation. |
settings.guests_enabled | boolean | Yes | |
settings.guest_attachments_enabled | boolean | No | |
settings.guest_daily_conversation_limit | integer | No | |
settings.guest_challenge_hourly | integer | No | |
settings.display_name | string | Yes | Company name shown in the Messenger header At most 80 characters. |
settings.logo_url | string | No | Public company logo shown in the header At most 1024 characters. |
settings.identity | object | No | Agent name and AI disclosure. Defaults to named support with a neutral first name and last initial. |
settings.identity.mode | human, ai | No | Named support persona (default) or a visible AI assistant label. Default "human". |
settings.identity.name_style | neutral, female | No | Default "neutral". |
settings.identity.custom_name | string | No | Name shown to customers. Leave it empty in named-support mode, with no teammate_id or suggested_photo, and Summer uses the company's AI employee from teammates.list. At most 80 characters. Default "". |
settings.identity.name_format | full, first | No | Named support: show and introduce the agent with the full name or first name only, keeping the chosen employee and photo. Omitted means full. AI assistant names are kept intact. |
settings.identity.teammate_id | UUID or null | No | Show this company teammate's uploaded photo beside automated replies. Put the teammate's name in custom_name. |
settings.identity.suggested_photo | string or null | No | Show the photo of a suggested teammate name (its first.last address part from teammates.names.list) beside automated replies. Put that name in custom_name. |
settings.allowed_origins | array of string | Yes | Exact website origins, https (http://localhost allowed in staging) |
settings.privacy_url | string | Yes | At most 512 characters. |
settings.fallback_url | string | Yes | At most 512 characters. |
settings.office_hours | string | Yes | At most 200 characters. |
settings.presentation | object | No | Company chat colors, welcome and chat copy, home/chat links and contact form labels. Consent text supports multiple label links; other copy is plain text. Links use HTTPS. Scoped to this installation. |
settings.presentation.colors | object | No | Default {}. |
settings.presentation.colors.accent | string | No | At most 7 characters. Default "#a95424". |
settings.presentation.colors.customer_bubble | string | No | At most 7 characters. Default "#eef1e7". |
settings.presentation.welcome_title | string | No | At most 100 characters. Default "How can we help?". |
settings.presentation.welcome_description | string | No | At most 300 characters. Default "". |
settings.presentation.chat_label | string | No | At most 60 characters. Default "Message support". |
settings.presentation.header_description | string | No | At most 100 characters. Default "Support team". |
settings.presentation.thread_title | string | No | At most 100 characters. Default "What's on your mind?". |
settings.presentation.thread_description | string | No | At most 300 characters. Default "Ask a question here. We can help you find the next step.". |
settings.presentation.actions | array of object or object | No | Default [{"type":"lead_capture","label":"Request follow-up","show_on_home":false,"show_in_chat":true}]. |
settings.presentation.lead_capture | object | No | Default {}. |
settings.presentation.lead_capture.required_before_chat | boolean | No | Default false. |
settings.presentation.lead_capture.custom_fields | array of object | No | Default []. |
settings.presentation.lead_capture.title | string | No | At most 100 characters. Default "Request follow-up". |
settings.presentation.lead_capture.description | string | No | At most 300 characters. Default "Leave your details so our team can contact you.". |
settings.presentation.lead_capture.name_label | string | No | At most 60 characters. Default "Name". |
settings.presentation.lead_capture.email_label | string | No | At most 60 characters. Default "Email". |
settings.presentation.lead_capture.company_label | string | No | At most 60 characters. Default "Company". |
settings.presentation.lead_capture.phone_label | string | No | At most 60 characters. Default "Phone number". |
settings.presentation.lead_capture.show_phone | boolean | No | Default false. |
settings.presentation.lead_capture.phone_required | boolean | No | Default false. |
settings.presentation.lead_capture.message_label | string | No | At most 60 characters. Default "Message". |
settings.presentation.lead_capture.show_message | boolean | No | Default true. |
settings.presentation.lead_capture.show_company | boolean | No | Default true. |
settings.presentation.lead_capture.company_required | boolean | No | Default false. |
settings.presentation.lead_capture.consent_text | string | No | Consent copy. Add any number of inline links with Privacy Policy. Links open in a new tab; HTML is displayed as text. The exact copy and URLs are retained with the submission. At most 500 characters. Default "I agree that this team may contact me using these details.". |
settings.presentation.lead_capture.submit_label | string | No | At most 60 characters. Default "Send my details". |
settings.presentation.lead_capture.success_message | string | No | At most 200 characters. Default "Your details are saved for our team.". |
settings.presentation.lead_capture.follow_up_label | string | No | At most 60 characters. Default "Book a call". |
settings.presentation.lead_capture.follow_up_url | string or `` | No | Default "". |
settings.routing | object | No | |
settings.routing.clinician_url | string | No | At most 512 characters. |
settings.routing.sign_in_url | string | No | At most 512 characters. |
settings.routing.catalog_url | string | No | At most 512 characters. |
settings.routing.offer_url | string | No | At most 512 characters. |
settings.routing.offer_label | string | No | At most 80 characters. |
settings.routing.destination_origins | array of string | No |
Issue a new signing key
POST /v1/companies/{company}/environments/{environment}/messenger/installations/{installation}/rotate-key
Existing signed sessions end. The key goes to the trusted local helper only.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_messenger_installations_rotate_keyreturns a local CLI command instead of moving a secret - Idempotency-Key: required
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
installation | UUID | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
expected_version | integer | Yes |
Read assistant settings per installation and whether the managed runtime is enabled
GET /v1/companies/{company}/environments/{environment}/messenger/assistant
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_messenger_assistant_read
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
Read consented website leads for this company and environment
GET /v1/companies/{company}/environments/{environment}/messenger/leads
Includes volunteered contact details and original submission references.
- Access:
cases.read - Applies to: one environment
- MCP:
summer_messenger_leads_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
Query:
| Field | Type | Required | Notes |
|---|---|---|---|
before | string | No | At most 120 characters. |
Exchange a short-lived booking handoff code on your server
POST /v1/companies/{company}/environments/{environment}/messenger/leads/handoff
Returns only this company's submitted contact details. Never use it as account identity.
- Access:
cases.read - Applies to: one environment
- MCP: Not available over MCP
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
code | string | Yes |
Update assistant instructions and escalation permission with the expected revision
PUT /v1/companies/{company}/environments/{environment}/messenger/installations/{installation}/assistant
Company facts live in shared knowledge. Cannot raise the spending limit.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_messenger_assistant_update - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
installation | UUID | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
revision | integer | Yes | |
settings | object | Yes | |
settings.enabled | boolean | Yes | Automatic replies. The approved setup grant includes production activation within the current spending limit. |
settings.instructions | string | Yes | At most 50000 characters. |
settings.lead_capture_enabled | boolean | No | Offer an optional consent-based contact form in chat. |
settings.escalation_enabled | boolean | No | Allow investigation handoffs. Set false for a product and sales chat. |
settings.budget_cents | integer | Yes | Cannot exceed the current limit through the API |
settings.daily_budget_cents | integer | No | Daily spending limit. Delegated clients may keep or reduce the saved limit. |
settings.max_concurrent_chats | integer | No |
Read voice chat settings per installation, the voice services and their voices, published help article count and the voice assistant's update status
GET /v1/companies/{company}/environments/{environment}/messenger/voice
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_messenger_voice_read
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
Update voice chat settings with the expected revision
PUT /v1/companies/{company}/environments/{environment}/messenger/installations/{installation}/voice
Summer updates the voice assistant from these settings and the company's published help articles.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_messenger_voice_update - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
installation | UUID | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
revision | integer | Yes | |
settings | object | Yes | |
settings.enabled | boolean | Yes | Show the voice button in chat for the chosen audience. |
settings.audience | accounts, signed_in, everyone | Yes | accounts: only allowed_subjects; signed_in: any verified account; everyone: visitors too. |
settings.allowed_subjects | array of string | Yes | Verified account subjects your site sends at sign-in. Used when audience is accounts. |
settings.provider | openai, openai_live, elevenlabs | No | Voice service. openai_live (OpenAI GPT-Live) is the default: it listens while it speaks and hands questions to Summer. openai is OpenAI Realtime. Omit to keep the saved choice. |
settings.voice_id | string | Yes | ElevenLabs voice: one of the voices listed by messenger.voice.read. |
settings.openai_voice | alloy, ash, ballad, coral, echo, sage, shimmer, verse, marin, cedar | No | OpenAI voice for openai and openai_live: one of the openai_voices listed by messenger.voice.read. Omit to keep the saved choice. |
settings.instructions | string | Yes | Optional company instructions added to the standard voice instructions. At most 20000 characters. |
settings.vocabulary | array of string | Yes | Words speech recognition should expect, such as product names. |
Read support email addresses: the private forwarding address, the one DNS record to add, whether mail has arrived, sending status, Gmail forwarding codes and emails that need a look
GET /v1/companies/{company}/environments/{environment}/messenger/email
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_messenger_email_read
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
Add a support email address
POST /v1/companies/{company}/environments/{environment}/messenger/email
Summer creates its private forwarding address and signing key and returns the DNS record to add. The address starts off; nothing is sent.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_messenger_email_create - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
support_address | string | Yes | The address customers already write to, such as support@example.com. At most 254 characters. |
display_name | string | Yes | Sender name customers see on replies. At most 80 characters. |
installation_id | UUID | No | Messenger installation whose inbox the emails join. Defaults to the first installation. |
Change the sender name or turn a support email address on or off, with the expected version
PUT /v1/companies/{company}/environments/{environment}/messenger/email/{channel}
Turning on needs one received email. Turning off keeps every email but stops new conversations and replies.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_messenger_email_update - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
channel | UUID | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
version | integer | Yes | |
display_name | string | No | At most 80 characters. |
enabled | boolean | No |
Check forwarding, the DNS record and sending status for one support email address now
POST /v1/companies/{company}/environments/{environment}/messenger/email/{channel}/check
Records the latest sending status; sends nothing.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_messenger_email_check
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
channel | UUID | Yes |
Read the company execution policy and its publishing history, plus autonomy for website chat, texting and email: whether the assistant gives fast replies and how sure it must be to answer alone, and the auto-run plan settings, including who turned auto-run on and website chat installation readiness (chat_assistant)
GET /v1/companies/{company}/environments/{environment}/messenger/autonomy
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_messenger_autonomy_read
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
Change one channel's autonomy with the expected version
PUT /v1/companies/{company}/environments/{environment}/messenger/autonomy/{channel}
With fast reply on, the assistant handles that channel's messages and starts a plan only when it escalates. A lower threshold gives it more autonomy.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_messenger_autonomy_update - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
channel | chat, sms, email | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
version | integer | Yes | |
fast_reply_enabled | boolean | No | The assistant answers this channel's messages. |
fast_reply_threshold | integer | No | How sure the assistant must be to answer alone, 0 to 100. Lower means more autonomy. Default 50. |
auto_run_enabled | boolean | No | Run this channel's plans without waiting for a person when the agent says it would run the plan, all five self-review checks pass and it is at least auto_run_threshold sure. Plans with A/B/C options, money, identity or clinical work always wait for a person. The admin who turns it on is the recorded approver. Default off. |
auto_run_threshold | integer | No | How sure the agent must be before a plan runs alone, 0 to 100. Lower means more autonomy. Default 95. Auto-run stays off until enabled. |
Legacy channel policy only; unavailable after an explicit company-policy replacement
POST /v1/companies/{company}/environments/{environment}/messenger/autonomy/backfill/preview
Preview existing Messenger work under saved autonomy settings: counts, a plan confidence histogram and a preview_hash. Returns no messages or customer records. Starts nothing. Up to 100 items per apply batch; totals cover all matching work.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_messenger_autonomy_backfill_preview
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
Apply an exact backfill preview using saved settings
POST /v1/companies/{company}/environments/{environment}/messenger/autonomy/backfill/apply
Queue unanswered conversations and fresh investigations of qualifying pending plans, up to 100 items. Enabled assistants may reply; new plans follow saved auto-run settings. Skips paused, active, failed or uncertain work. Does not replay old executions. Requires the exact preview_hash; changed settings or work require a new preview. Repeating a successful hash returns its saved receipt.
- Access:
investigations.request - Applies to: one environment
- MCP:
summer_messenger_autonomy_backfill_apply - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
preview_hash | string | Yes |
Read texting lines: each line's persona name, how it hands work to the team, reply hours and whether texts join conversations, plus recent send problems and the lines this deployment can text from
GET /v1/companies/{company}/environments/{environment}/messenger/sms
Whether the assistant replies is a channel autonomy setting.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_messenger_sms_read
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
Add a texting line
POST /v1/companies/{company}/environments/{environment}/messenger/sms
Received texts on it can join Summer conversations. The line starts off; nothing is sent. Fast replies follow the texting channel's autonomy setting.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_messenger_sms_create - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
quo_phone_number_id | string | Yes | The Quo line ID, from available_lines in messenger.sms.read. |
persona_name | string | Yes | The name the assistant texts as, such as Alex. At most 80 characters. |
persona_mode | human, ai | No | human: a person on the team (default). ai: a visible AI assistant. |
escalation_style | check_back, manager | No | check_back (default): 'Let me check and get back to you.' manager: may say it is checking with a manager. |
reply_start_hour | integer | No | First hour the assistant may text, in the customer's local time. Default 8 (8am). |
reply_end_hour | integer | No | Hour the assistant stops texting, in the customer's local time. Default 21 (9pm). |
installation_id | UUID | No | Messenger installation whose assistant instructions and knowledge the line uses. Defaults to the first installation. |
ingest_phone_number_ids | array of string | No | Other Quo lines, from available_lines, whose received texts join this line's conversations. Replies always go out from this line. Replaces the whole list; [] stops taking texts from other lines. |
Change a texting line with the expected version: persona name, handoff wording, reply hours, other Quo lines it takes texts in from and whether texts join conversations
PUT /v1/companies/{company}/environments/{environment}/messenger/sms/{line}
Turn fast replies on or off in messenger.autonomy.update.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_messenger_sms_update - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
line | UUID | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
version | integer | Yes | |
persona_name | string | No | At most 80 characters. |
persona_mode | human, ai | No | |
escalation_style | check_back, manager | No | |
reply_start_hour | integer | No | |
reply_end_hour | integer | No | |
enabled | boolean | No | Received texts join Summer conversations. |
ingest_phone_number_ids | array of string | No | Other Quo lines, from available_lines, whose received texts join this line's conversations. Replies always go out from this line. Replaces the whole list; [] stops taking texts from other lines. |
Pause the assistant in one conversation so a person can take over, or ask it to resume
POST /v1/companies/{company}/environments/{environment}/messenger/conversations/{conversation}/assistant
Pausing stops automatic replies immediately.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_messenger_conversations_assistant - Idempotency-Key: required
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
conversation | UUID | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
paused | boolean | Yes |
Workspace settings, quality, privacy and reports
Read one saved recurring-issue report and its source snapshot, including reports older than the latest list
GET /v1/companies/{company}/environments/{environment}/reports/themes/{report}
Requires current operational company access.
- Access:
cases.read - Applies to: one environment
- MCP:
summer_reports_themes_get
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes | |
report | UUID | Yes |
Read the latest private recurring-issue reports, original case references, source coverage, generation status and human review
GET /v1/companies/{company}/environments/{environment}/reports/themes
Generated themes are suggestions, not verified causes.
- Access:
cases.read - Applies to: one environment
- MCP:
summer_reports_themes_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Generate a private recurring-issue report from the admitted case-summary cohort
POST /v1/companies/{company}/environments/{environment}/reports/themes
One immutable request ID prevents duplicate inference. No customer, knowledge or publication effect.
- Access:
investigations.request - Applies to: one environment
- MCP:
summer_reports_themes_generate - Idempotency-Key: required
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
request_id | UUID | Yes | |
from | string | Yes | |
to | string | Yes |
Record a human disposition on a saved recurring-issue theme at its expected revision
POST /v1/companies/{company}/environments/{environment}/reports/themes/{report}/review
Retains the original analysis and source references; does not change cases or company knowledge.
- Access:
workspace.write - Applies to: one environment
- MCP:
summer_reports_themes_review - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes | |
report | UUID | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
expected_revision | integer | Yes | |
theme | integer | Yes | |
disposition | useful, dismissed, needs_investigation | Yes | |
reason | string | Yes | At most 2000 characters. |
Read business hours, holidays, response commitments and scheduled policy revisions
GET /v1/companies/{company}/support-policy
These business hours also govern queued Summer Slack posts; without an effective revision Slack defaults to Monday–Friday, 9am–5pm America/Los_Angeles.
- Access:
cases.readorsetup - Applies to: the whole company, every environment
- MCP:
summer_support_policy_read
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes |
Save business hours and response commitments with the expected revision and an effective date
PUT /v1/companies/{company}/support-policy
The effective calendar also sets Summer Slack sending hours, including timezone and holidays; queued posts recheck it before delivery.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_support_policy_update - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
expectedRevision | integer | Yes | |
calendar | object | Yes | |
calendar.timezone | string | Yes | At most 100 characters. |
calendar.periods | array of object | Yes | |
calendar.holidays | array of object | Yes | |
commitments | array of object | Yes | |
pauseOnCustomerWait | boolean | Yes | |
effectiveAt | string or null | Yes | |
reason | string | Yes | At most 500 characters. |
Read company saved replies, optionally including retired replies
GET /v1/companies/{company}/saved-replies
- Access:
cases.readorsetup - Applies to: the whole company, every environment
- MCP:
summer_saved_replies_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes |
Query:
| Field | Type | Required | Notes |
|---|---|---|---|
retired | boolean or true, false | No |
Create, edit, retire or restore a saved reply with its expected revision and reason
PUT /v1/companies/{company}/saved-replies
Sends nothing. API reference: https://api.gosummer.ai/v1/openapi.json
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_saved_replies_save - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
id | UUID | Yes | |
expectedRevision | integer | Yes | |
name | string | Yes | At most 80 characters. |
body | string | Yes | At most 4000 characters. |
retired | boolean | Yes | |
reason | string | Yes | At most 300 characters. |
Read original revisions of a saved reply
GET /v1/companies/{company}/saved-replies/{reply}/history
- Access:
cases.readorsetup - Applies to: the whole company, every environment
- MCP:
summer_saved_replies_history
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
reply | UUID | Yes |
Read this person's saved inbox views and shared company views
GET /v1/companies/{company}/saved-views
- Access:
cases.readorsetup - Applies to: the whole company, every environment
- MCP:
summer_saved_views_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes |
Save a personal or shared inbox view
PUT /v1/companies/{company}/saved-views
Known case filters are normalized by the same service as the UI.
- Access:
workspace.writeorsetup - Applies to: the whole company, every environment
- MCP:
summer_saved_views_save - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
kind | save | Yes | |
id | UUID | Yes | |
name | string | Yes | At most 60 characters. |
query | string | Yes | At most 500 characters. |
shared | boolean | Yes |
Remove an owned inbox view, retaining the database's ownership checks
POST /v1/companies/{company}/saved-views/delete
- Access:
workspace.writeorsetup - Applies to: the whole company, every environment
- MCP:
summer_saved_views_delete - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
kind | delete | Yes | |
id | UUID | Yes |
Read quality scenarios, assessments and current outcomes
GET /v1/companies/{company}/quality/scenarios
- Access:
cases.readorsetup - Applies to: the whole company, every environment
- MCP:
summer_quality_scenarios_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes |
Read one scenario and its saved assessments
GET /v1/companies/{company}/quality/scenarios/{scenario}
- Access:
cases.readorsetup - Applies to: the whole company, every environment
- MCP:
summer_quality_scenarios_get
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
scenario | UUID | Yes |
Create, revise or retire a quality scenario, with expected revision and reason
PUT /v1/companies/{company}/quality/scenarios
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_quality_scenarios_save - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
kind | scenario | Yes | |
id | UUID | Yes | |
expectedRevision | integer | Yes | |
retired | boolean | Yes | |
reason | string | Yes | At most 300 characters. |
fields | object | Yes | |
fields.title | string | Yes | At most 120 characters. |
fields.cohort | fixed, held_out | Yes | |
fields.difficulty | routine, complex, adversarial | Yes | |
fields.sourceKind | historical, synthetic | Yes | |
fields.sourceCaseCode | string | Yes | At most 40 characters. |
fields.customerGoal | string | Yes | At most 2000 characters. |
fields.expectedFirstAction | string | Yes | At most 2000 characters. |
fields.remainingObligation | string | Yes | At most 2000 characters. |
fields.permittedEffects | string | Yes | At most 2000 characters. |
fields.prohibitedBehavior | string | Yes | At most 2000 characters. |
fields.closureEvidence | string | Yes | At most 2000 characters. |
Record an evidence-backed assessment or correction
POST /v1/companies/{company}/quality/assessments
Does not approve a plan or customer action.
- Access:
workspace.writeorsetup - Applies to: the whole company, every environment
- MCP:
summer_quality_assessments_save - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
kind | assessment | Yes | |
id | UUID | Yes | |
scenarioId | UUID | Yes | |
runKind | live_case, saved_run, manual_walkthrough | Yes | |
runReference | string | Yes | At most 120 characters. |
outcome | verified_complete, still_open, blocked, unsafe, unknown | Yes | |
checks | object | Yes | |
checks.original_evidence | pass, fail, unknown | Yes | |
checks.customer_outcome | pass, fail, unknown | Yes | |
checks.safe_exact_action | pass, fail, unknown | Yes | |
checks.clarity | pass, fail, unknown | Yes | |
checks.follow_through | pass, fail, unknown | Yes | |
notes | string | Yes | At most 4000 characters. |
corrects | UUID or null | Yes |
Read evidence-backed corrections to previous quality assessments
GET /v1/companies/{company}/quality/corrections
- Access:
cases.readorsetup - Applies to: the whole company, every environment
- MCP:
summer_quality_corrections_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes |
Read privacy export/deletion requests, status and original event history
GET /v1/companies/{company}/privacy/requests
Does not export or delete data.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_privacy_requests_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes |
File an export or deletion request for human review
POST /v1/companies/{company}/privacy/requests
Cannot approve, perform or attest completion of the work.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_privacy_requests_create - Idempotency-Key: required
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
kind | request | Yes | |
id | UUID | Yes | |
requestKind | export, deletion | Yes | |
subjectKind | company, customer, staff | Yes | |
subjectLabel | string | Yes | At most 160 characters. |
scope | array of messages, files, cases, approvals, search, jobs, provider_copies, knowledge, settings | Yes | |
reason | string | Yes | At most 1000 characters. |
Read eligible teammates and automatic routing for new issues, plan reviews and human tasks
GET /v1/companies/{company}/work-routing
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_work_routing_read
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes |
Save automatic routing for new issues, plan reviews and human tasks with the expected version
PUT /v1/companies/{company}/work-routing
Does not grant roles or approval authority.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_work_routing_update - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
version | integer | Yes | |
issue_mode | off, default, round_robin | Yes | |
review_mode | off, default, round_robin | Yes | |
issue_members | array of UUID | Yes | |
review_members | array of UUID | Yes | |
task_mode | off, default, round_robin | No | Who gets human tasks Summer asks the team to do. Omit to keep the saved rule. |
task_members | array of UUID | No |
Read the rules Summer applies before any agent runs, in plain words, with this week's decisions and how often each rule matched
GET /v1/companies/{company}/router-rules
Routing costs no model call.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_router_rules_read
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes |
Save the router rules with the expected version and a reason
PUT /v1/companies/{company}/router-rules
Keeps the original revision and updates the Routing rules knowledge document. Run router_rules.test first. Needs a company admin.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_router_rules_update - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
version | integer | Yes | The version you read. A newer saved version refuses the change. |
rules | object | Yes | The rules document: { version: 1, intake: [...], activity: [...] }. Intake rules { id, description, enabled?, route: "file", emailType, match: { senderDomains?, senderAddresses?, onlyMessage?, automatic?, vendor?, subject?, subjectNot?, body?, bodyNot? } } file a new email without a ticket; route: "join_ticket" (no emailType) adds a vendor email about one order number to the open ticket that already holds that number, and opens a ticket otherwise. Activity rules { id, description, enabled?, route: "ignore", match: { sources, orderStatuses?, eventKinds?, eventSummary?, handledBy? } } skip the agent when every new ticket item matches. automatic: true matches mail a machine wrote; vendor: true matches mail from one of the company's pharmacies or clinical partners. Patterns are case-insensitive regular expressions. |
reason | string | Yes | Why the rules change. Kept with the revision. At most 1000 characters. |
Check proposed router rules without saving: lists rule problems, replays recorded ticket activity under the saved and the proposed rules, and routes optional sample facts
POST /v1/companies/{company}/router-rules/test
Changes nothing.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_router_rules_test
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
rules | object | No | Proposed rules to check. Omit to check the saved rules. The rules document: { version: 1, intake: [...], activity: [...] }. Intake rules { id, description, enabled?, route: "file", emailType, match: { senderDomains?, senderAddresses?, onlyMessage?, automatic?, vendor?, subject?, subjectNot?, body?, bodyNot? } } file a new email without a ticket; route: "join_ticket" (no emailType) adds a vendor email about one order number to the open ticket that already holds that number, and opens a ticket otherwise. Activity rules { id, description, enabled?, route: "ignore", match: { sources, orderStatuses?, eventKinds?, eventSummary?, handledBy? } } skip the agent when every new ticket item matches. automatic: true matches mail a machine wrote; vendor: true matches mail from one of the company's pharmacies or clinical partners. Patterns are case-insensitive regular expressions. |
days | 7 or 30 | No | Replay recorded ticket activity from the last 7 (default) or 30 days. |
intake | object | No | A sample new email to route. |
intake.senderEmail | string | Yes | At most 320 characters. |
intake.subject | string | Yes | At most 1000 characters. |
intake.body | string | Yes | At most 20000 characters. |
intake.messageCount | integer | Yes | |
activity | array of object | No | Sample ticket activity items to route. |
Read every saved revision of the router rules, with who changed them and why
GET /v1/companies/{company}/router-rules/history
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_router_rules_history
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes |
Read what the router decided and why: totals by outcome, day and rule for the last 7, 30 or 90 days, and pages of decisions with a short plain reason each and the case
GET /v1/companies/{company}/router-rules/decisions
Changes nothing.
- Access:
cases.readorsetup - Applies to: the whole company, every environment
- MCP:
summer_router_rules_decisions
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes |
Query:
| Field | Type | Required | Notes |
|---|---|---|---|
days | 7, 30, 90 or 7 or 30 or 90 | No | Period. Default 7 days. |
route | investigate, resolve_customer, ignore, file, join_ticket, open_ticket, skipped | No | Only one outcome. skipped means ignore or file: no agent ran. |
stage | intake, activity | No | intake: new emails. activity: new ticket activity. |
rule | string | No | Only decisions where this rule matched. |
before | string | No | The nextBefore value from the previous page. |
Read all-time and month-to-date credits, pending reservations and monthly usage in the company timezone
GET /v1/companies/{company}/environments/{environment}/reports/credits
Phone calls use the phone kind and add call counts, answered seconds and calls whose cost is not fully known. Carrier minutes are not included.
- Access:
cases.read - Applies to: one environment
- MCP:
summer_reports_credits
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Read tickets opened and closed over 1, 7 or 30 company-local calendar days or all recorded history
GET /v1/companies/{company}/environments/{environment}/reports/ticket-activity
Includes zero-filled hourly, daily or monthly bars, period totals, open tickets now and closures without usable dates. backlog contains from, historyEstimated and bounded points (at, open) for open issues over time, reconstructed from creation and latest valid closure dates. Past reopen cycles and resolved issues without dates cannot be reconstructed. The final backlog point equals openNow. Read-only Intercom archives are excluded from operational issues, messages and closures in ticket activity, service metrics and samples; coverage.archivedImports gives their count. Original archives are retained unchanged. rolling contains a dense series of original-timestamp trailing counts with windowSeconds, stepSeconds, from and points (at, opened, closed). Windows are one hour for 1d, 24 hours for 7d/30d, and 24 hours, 7 days, 30 days or 365 days for all-time depending on history length. At most 722 points include the exact observation time; lookback before the selected period is included in rolling counts, while period totals remain exact calendar counts. Reopened tickets are open; a completed run is not a closure. Changes nothing.
- Access:
cases.read - Applies to: one environment
- MCP:
summer_reports_ticket_activity
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Query:
| Field | Type | Required | Notes |
|---|---|---|---|
period | 1d, 7d, 30d, all | No | Company-local calendar days including today. 1d is hourly today; all includes full recorded history, grouped monthly after 120 days. Default "30d". |
Read paginated original issue/message references behind service counts and timing samples, with date/channel/hour filters in the company timezone
GET /v1/companies/{company}/environments/{environment}/reports/samples
Read-only Intercom archive projections are excluded from operational workload counts. No messages are sent or marked read.
- Access:
cases.read - Applies to: one environment
- MCP:
summer_reports_samples_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Query:
| Field | Type | Required | Notes |
|---|---|---|---|
measure | handled, approved, approvedCompleted, fullyAutomatic, closedWithoutPerson, incoming, resolved, inbound, answered, unanswered, response, firstReply, resolution | Yes | |
from | string | No | |
through | string | No | |
channel | string | No | At most 80 characters. |
weekday | integer | No | |
hour | integer | No | |
observedAt | string | No | |
limit | integer | No | Default 50. |
offset | integer | No | Default 0. |
Read response and resolution metrics, 90-day daily issue/message and timing trends, and weekday/hour incoming-message heatmaps in the company timezone
GET /v1/companies/{company}/environments/{environment}/reports/service-metrics
Read-only Intercom archive projections are excluded from operational workload counts. Missing timings stay unmeasured. fullyAutomatic counts original automatic-plan and routine-rule issue closures, including linked issues; earlier human help and pending run verification do not make the closure manual. closedWithoutPerson is the strict subset where no person approved or edited a plan, replied, finished a human task or changed the case on the issue or a linked issue before it closed. automationByCategory and automationByChannel break resolved, fullyAutomatic and closedWithoutPerson down by case category and channel; daily trends include both closure counts.
- Access:
cases.read - Applies to: one environment
- MCP:
summer_reports_service_metrics
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Read daily counts for each stage of Summer's work, in the company timezone: router decisions by route, investigations started, completed and cancelled, plans published and replaced before anyone acted, auto-run decisions with their reasons, approvals by a person, an agent or auto-run, approved runs by status (previews nobody approved are not counted), executed plans with a checked result, and issues resolved, closed automatically and closed without a person
GET /v1/companies/{company}/environments/{environment}/reports/autonomy-funnel
Counts are recorded events, not verified customer outcomes. Starts no work.
- Access:
cases.read - Applies to: one environment
- MCP:
summer_reports_autonomy_funnel
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Query:
| Field | Type | Required | Notes |
|---|---|---|---|
days | 7, 14, 30, 90 or 7 or 14 or 30 or 90 | No |
Read how well Summer's own "run it" call matches what happened, per action and per action family (reply, closure, record, vendor_contact, clinician_note, address_cancel, money, other) over the last 14 and 30 days: plans proposing it, the agent's calls, what people did (approved unchanged, with direction, edited, another option, dismissed, superseded), auto-run decisions with each action's reason and deciding rule, the action's run results (completed, failed, unknown), checked results, daily closure audit verdicts and corrected quality assessments on those tickets
GET /v1/companies/{company}/environments/{environment}/reports/autonomy-calibration
Each family and action has an error rate (person changes to plans the agent said to run, failed or unknown runs and failed audits, over decided plans) and a status: ready_to_widen (at least 30 decisions and under 1% errors in 14 days), keep, or tighten (over 5%). Families show the saved policy's kill switch or automatic rule. Categories show closed-without-a-person and audited-correct rates against the 95% and 98% targets, with the gap. Counts are recorded events, not verified customer outcomes. Calls no model and starts no work.
- Access:
cases.read - Applies to: one environment
- MCP:
summer_reports_autonomy_calibration
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Read how long approved agent runs take: approval to start, each startup and work phase, and each step by action and category, with medians, 90th percentiles and recent runs
GET /v1/companies/{company}/environments/{environment}/reports/agent-timing
Phases that were not recorded stay unmeasured. Starts no work.
- Access:
cases.read - Applies to: one environment
- MCP:
summer_reports_agent_timing
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Query:
| Field | Type | Required | Notes |
|---|---|---|---|
days | 7, 30, 90 or 7 or 30 or 90 | No |
Read cancellation requests and how each ended: paused, renewal moved later, kept, cancelled, or a pause offered with no answer yet
GET /v1/companies/{company}/environments/{environment}/reports/cancellations
The investigating agent marks each request; the approved plan option sets the outcome. revenue:true adds each saved plan's renewal amount and the paid renewals collected since the save (before refunds), read from live billing, plus gross totals. Changes nothing.
- Access:
cases.read - Applies to: one environment
- MCP:
summer_reports_cancellations
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Query:
| Field | Type | Required | Notes |
|---|---|---|---|
days | 30, 90, 365 or 30 or 90 or 365 | No | |
revenue | boolean or true, false | No |
Read delivery attempts, failures and recorded results
GET /v1/companies/{company}/environments/{environment}/reports/delivery
Does not retry a delivery.
- Access:
cases.read - Applies to: one environment
- MCP:
summer_reports_delivery
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Read outstanding customer promises and unfinished work
GET /v1/companies/{company}/environments/{environment}/reports/commitments
- Access:
cases.read - Applies to: one environment
- MCP:
summer_reports_commitments
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Read the company's sender exclusions and original edit history
GET /v1/companies/{company}/environments/{environment}/agent-exclusions
Changes retain human approval.
- Access:
cases.read - Applies to: one environment
- MCP:
summer_agent_exclusions_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Save a confirmed administrative shipping-address correction for the selected order on a live outbound pharmacy call
POST /v1/companies/{company}/environments/{environment}/pharmacy-calls/address
Requires an Ops admin and customer-effect access. Does not update carriers or clinical fields; cross-state requests go to clinical coverage review.
- Access:
workspace.write - Applies to: one environment
- MCP:
summer_pharmacy_calls_address_update - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
caseId | UUID | Yes | |
call_id | UUID | Yes | |
address | object | Yes | |
address.address1 | string | Yes | At most 120 characters. |
address.address2 | string | No | At most 120 characters. |
address.city | string | Yes | At most 80 characters. |
address.state | string | Yes | |
address.zip | string | Yes | |
address.confirmed | true | Yes |
Read the pharmacy directory: each pharmacy's phone number and where it was checked, time zone, hours, phone menu keys, what it asks for, preferred channel, whether calls are on, notes, whether Summer may call it now and why not, removed pharmacies and change history
GET /v1/companies/{company}/environments/{environment}/pharmacy-calls/directory
Starts no call.
- Access:
cases.read - Applies to: one environment
- MCP:
summer_pharmacy_calls_directory_read
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Add, change, remove (retire) or restore one pharmacy in the directory with the expected version
PUT /v1/companies/{company}/environments/{environment}/pharmacy-calls/directory
Save sends every field; empty fields are cleared. Calls stay off until call_allowed is true, and need a phone number. Retire turns calls off and keeps the record and its history. Starts no call.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_pharmacy_calls_directory_update - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
operation | save, retire, restore | Yes | save adds a pharmacy (no id, version 0) or replaces all fields of one; retire removes it from use and turns calls off; restore brings a removed one back with calls off. |
id | UUID | No | The pharmacy to change. Leave out to add a new pharmacy. |
version | integer | Yes | The version you read, or 0 for a new pharmacy. A newer saved version refuses the change. |
entry | object | No | Every field of the pharmacy, for save. Fields you leave empty are cleared. |
entry.name | string | Yes | At most 120 characters. |
entry.location | string | Yes | City, state or branch. Use an empty string when there is one location. At most 200 characters. |
entry.phone_e164 | string or null | Yes | |
entry.phone_source | string or null | Yes | Where a person checked the number, such as the pharmacy's website. |
entry.time_zone | string | Yes | IANA time zone of the pharmacy's hours, such as America/Chicago. At most 64 characters. |
entry.hours | object | Yes | Local opening hours per weekday: { open: "HH:MM", close: "HH:MM" } or "closed". Leave a day out when its hours are unknown. |
entry.hours.mon | closed or object | No | |
entry.hours.tue | closed or object | No | |
entry.hours.wed | closed or object | No | |
entry.hours.thu | closed or object | No | |
entry.hours.fri | closed or object | No | |
entry.hours.sat | closed or object | No | |
entry.hours.sun | closed or object | No | |
entry.menu_path | string or null | Yes | Keys to press in the phone menu, in order, such as "2,1". |
entry.identifiers_needed | string or null | Yes | What the pharmacy asks for, such as patient name, date of birth, medication and prescriber. |
entry.preferred_channel | phone, portal, email, fax | Yes | |
entry.call_allowed | boolean | Yes | Summer places calls only after a person turns this on. |
entry.notes | string or null | Yes | Notes from past calls, such as the best time to call. |
Read demo pharmacy-call voice service, voices, vocabulary and change history
GET /v1/companies/{company}/environments/{environment}/pharmacy-calls/settings
Starts no call.
- Access:
cases.read - Applies to: one environment
- MCP:
summer_pharmacy_calls_settings_read
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Save the demo pharmacy-call voice service, voice and vocabulary with the expected revision
PUT /v1/companies/{company}/environments/{environment}/pharmacy-calls/settings
provider is openai_live (OpenAI GPT-Live, default) or elevenlabs; omitted provider or openai_voice keeps the saved value. Starts no call.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_pharmacy_calls_settings_update - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
revision | integer | Yes | |
provider | elevenlabs, openai_live | No | |
voice_id | string or null | Yes | |
openai_voice | alloy, ash, ballad, coral, echo, sage, shimmer, verse, marin, cedar | No | |
vocabulary | array of string | Yes |
Cases, investigations and approvals
List every action Summer can use for this company, the hosts each saved credential may be sent to, and the partner contacts the company named: built-in actions, connector actions and the company's own actions
GET /v1/companies/{company}/environments/{environment}/actions
Each shows its stage (off, review or automatic), whether it can ever run without a person, and its track record over 30 days: proposals, unchanged approvals, runs, uncertain runs and runs without a person. Changes nothing.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_actions_catalog_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
List approved work from the last 60 days that no catalogue action covers: free-form tasks and raw API calls, with how often each recurred
GET /v1/companies/{company}/environments/{environment}/actions/candidates
Each can become a company action with actions.company.from_run. Changes nothing.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_actions_candidates_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Save one piece of approved work as a draft company action: the task's instructions, or the API call's method, path and body (give its https origin)
POST /v1/companies/{company}/environments/{environment}/actions/company/{key}/from-run
Replace case details with inputs, test and publish it like any other action. Never publishes.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_actions_company_from_run - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes | |
key | string | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
job_id | UUID | Yes | |
effect_id | UUID | No | |
origin | string | No | At most 200 characters. |
expected_version | integer | Yes | The version you read; 0 for a new action |
Read one company action: its draft, published revision, revision history, stage and stage history
GET /v1/companies/{company}/environments/{environment}/actions/company/{key}
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_actions_company_get
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes | |
key | string | Yes |
Create or edit a company action's draft with the expected version
PUT /v1/companies/{company}/environments/{environment}/actions/company/{key}
An API action (runner http) names the request Summer sends: method, https host, path, body and the saved credential name. A task action (runner agent) describes work the agent does with its own tools, such as a procedure or a website task. The agent sees only published revisions. Saving never publishes.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_actions_company_save - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes | |
key | string | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
definition | object | Yes | The action definition. Read docs/design/summer-action-bindings/05-company-actions.md for the fields. |
expected_version | integer | Yes | The version you read; 0 for a new action |
Render the draft or published action with example inputs: the exact request (without the credential) or the exact task text, plus any problems
POST /v1/companies/{company}/environments/{environment}/actions/company/{key}/test
Sends nothing and changes nothing.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_actions_company_test
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes | |
key | string | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
inputs | object | No | Default {}. |
use | draft, published | No | Default "draft". |
Publish the current draft as the next revision with the expected version
POST /v1/companies/{company}/environments/{environment}/actions/company/{key}/publish
The agent can propose it from the next investigation. A new action starts at Review: a person approves each use until an admin moves it to Automatic.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_actions_company_publish - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes | |
key | string | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
reason | string | Yes | Why you are making this change. Kept in the history. At most 500 characters. |
expected_version | integer | Yes | The version you read; 0 for a new action |
Remove a company action from the agent's catalogue with the expected version
POST /v1/companies/{company}/environments/{environment}/actions/company/{key}/retire
Approved work that uses it stops before it starts. Revisions and history stay.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_actions_company_retire - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes | |
key | string | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
reason | string | Yes | Why you are making this change. Kept in the history. At most 500 characters. |
expected_version | integer | Yes | The version you read; 0 for a new action |
Set one action's stage with the expected version: off (never proposed), review (a person approves each use) or automatic (may run without a person when the company policy and the agent's checks allow)
PUT /v1/companies/{company}/environments/{environment}/actions/{key}/stage
Automatic needs a person's delegated messaging.activate grant. A task action at automatic also needs described_accepted: true. Money, identity, clinical and other person-only actions cannot be automatic. A failed or uncertain automatic run moves the action back to review on its own.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_actions_stage_update - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes | |
key | string | Yes | At most 120 characters. |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
stage | off, review, automatic | Yes | |
described_accepted | boolean | No | |
daily_limit | integer or null | No | |
reason | string | Yes | At most 500 characters. |
expected_version | integer | Yes |
Read private engineering issue associations, optionally checking original GitHub state
GET /v1/companies/{company}/environments/{environment}/cases/{case}/engineering
Does not close cases or send replies.
- Access:
cases.read - Applies to: one environment
- MCP:
summer_cases_engineering_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes | |
case | UUID | Yes |
Query:
| Field | Type | Required | Notes |
|---|---|---|---|
refresh | boolean or true, false | No |
Read bounded original case-summary text matches, with source observation and matching terms
GET /v1/companies/{company}/environments/{environment}/cases/{case}/similar
Does not establish customer identity, link cases, call a model or start work.
- Access:
cases.read - Applies to: one environment
- MCP:
summer_cases_similar_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes | |
case | UUID | Yes |
Query:
| Field | Type | Required | Notes |
|---|---|---|---|
limit | integer | No | Default 10. |
Read original Slack replies for an exact recorded case discussion
GET /v1/companies/{company}/environments/{environment}/cases/{case}/discussion
A root supplied for an unknown send must match the saved original sender, approved text and operation metadata before its source can be retained. Never posts or approves work.
- Access:
cases.read - Applies to: one environment
- MCP:
summer_cases_discussions_read
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes | |
case | UUID | Yes |
Query:
| Field | Type | Required | Notes |
|---|---|---|---|
operation | string | Yes | At most 100 characters. |
root | string | No | |
cursor | string | No | At most 4096 characters. |
Read case-linked Slack discussion receipts and original thread links
GET /v1/companies/{company}/environments/{environment}/cases/{case}/discussions
Unknown posting stays unknown; no message is sent.
- Access:
cases.read - Applies to: one environment
- MCP:
summer_cases_discussions_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes | |
case | UUID | Yes |
Read Slack messages queued for office hours on this exact case, their approved words, destination, scheduled opening and delivery result
GET /v1/companies/{company}/environments/{environment}/cases/{case}/queued-slack
Changes nothing.
- Access:
cases.read - Applies to: one environment
- MCP:
summer_cases_queued_slack_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes | |
case | UUID | Yes |
Cancel an exact queued Slack message before it starts sending
POST /v1/companies/{company}/environments/{environment}/cases/{case}/queued-slack/{message}/cancel
Sending, sent and uncertain messages cannot be cancelled. Records the authenticated operator and changes no other plan step.
- Access:
investigations.request - Applies to: one environment
- MCP:
summer_cases_queued_slack_cancel - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes | |
case | UUID | Yes | |
message | string | Yes |
Read the approved plans' texts on this customer's ticket that are waiting for the customer's texting hours (8am to 9pm their time): each text's exact words, a masked phone, when it sends (sends_at and a plain label such as Sends at 8:00 AM PDT) and its source (quo: a direct text from the case; summer: a reply in a Summer texting conversation)
GET /v1/companies/{company}/environments/{environment}/cases/{case}/queued-texts
Lists only texts still waiting. Changes nothing.
- Access:
cases.read - Applies to: one environment
- MCP:
summer_cases_queued_texts_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes | |
case | UUID | Yes |
Cancel one approved plan's text while it waits for the customer's texting hours
POST /v1/companies/{company}/environments/{environment}/cases/{case}/queued-texts/{text}/cancel
It is never sent; Summer records who cancelled it and adds a case activity entry. A text that is sending, sent or has an unknown result cannot be cancelled and keeps its state. The rest of the plan is unchanged and nothing is sent.
- Access:
investigations.request - Applies to: one environment
- MCP:
summer_cases_queued_texts_cancel - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes | |
case | UUID | Yes | |
text | UUID | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
source | quo, summer | Yes | The text's source from cases.queued_texts.list. |
Read a case's issue owner, plan reviewer and eligible teammates
GET /v1/companies/{company}/environments/{environment}/cases/{case}/assignment
- Access:
cases.read - Applies to: one environment
- MCP:
summer_cases_assignment_read
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes | |
case | UUID | Yes |
Assign an issue owner or plan reviewer with the previous owner as a conflict check
PUT /v1/companies/{company}/environments/{environment}/cases/{case}/assignment
Does not grant roles or approve a plan.
- Access:
workspace.writeorsetup - Applies to: one environment
- MCP:
summer_cases_assignment_update - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes | |
case | UUID | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
requestId | UUID or null | Yes | |
memberId | UUID or null | Yes | |
previous | UUID or null | Yes |
Prepare reusable company knowledge from an operator correction or human reply and a fast reply draft from the saved conversation
POST /v1/companies/{company}/environments/{environment}/cases/{case}/teaching/prepare
Also requires cases.read. Saves and sends nothing; no investigation is queued.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_cases_teaching_prepare - Idempotency-Key: required
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | production, staging | Yes | |
case | UUID | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
source | correction, reply | Yes | |
text | string | Yes | At most 12000 characters. |
Save the exact reviewed reusable fact in shared company core guidance at the expected revision, with original operator text and case provenance
POST /v1/companies/{company}/environments/{environment}/cases/{case}/teaching/save
Also requires cases.read and current company and Ops admin rights. Does not send the reply or restart an agent.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_cases_teaching_save - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | production, staging | Yes | |
case | UUID | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
source | correction, reply | Yes | |
text | string | Yes | At most 12000 characters. |
revision | integer | Yes | |
title | string | Yes | At most 160 characters. |
knowledge | string | Yes | At most 12000 characters. |
replaces | string or null | No | Default null. |
List company-owned cases or conversations with emotion filters (sentiment: happy, neutral, upset, angry, sad, mixed or unknown), a customer filter (customer: paid for a captured or authorized live payment, no_purchase for a matched contact who has not paid, unmatched for an unknown sender), ordering (sort, including customer_message for the latest customer message first), page size, coverage and a cursor
GET /v1/companies/{company}/environments/{environment}/cases
Operational rows include conversationSentiment (label, confidence, evidence references, source, assessed_at and pending freshness). Operational filters require the company's operational connection; Messenger-only results include coverage limits.
- Access:
cases.read - Applies to: one environment
- MCP:
summer_cases_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
Query:
| Field | Type | Required | Notes |
|---|---|---|---|
cursor | string | No | |
limit | integer | No | |
sentiment | happy, neutral, upset, angry, sad, mixed, unknown | No | |
status | open, in_progress, resolved, closed, active, all | No | |
sort | priority, newest, oldest, due, activity, customer_message, autonomy_desc, autonomy_asc | No | |
customer | paid, no_purchase, unmatched | No | |
severity | normal, high, urgent | No | |
category | string | No | At most 80 characters. |
language | en, es, other | No | |
workstream | string | No | At most 80 characters. |
lane | all, customer_request, proactive_issue, source_review | No | |
plan | all, ready | No | |
autonomy | string | No | At most 40 characters. |
mine | boolean or true, false | No | |
reviewMine | boolean or true, false | No | |
responseDue | boolean or true, false | No | |
pastSla | boolean or true, false | No | |
followUps | boolean or true, false | No | |
escalations | boolean or true, false | No | |
unmatched | boolean or true, false | No | |
dismissals | boolean or true, false | No | |
internal | boolean or true, false | No | |
sandbox | boolean or true, false | No | |
attention | boolean or true, false | No | Only active cases with a reply owed, a plan to review, or blocked, failed, stale or uncertain work. Hides queued investigations and ongoing approved execution, even when a reply is owed. Includes ready plans and blocked or uncertain work. Hides snoozed, waiting and completed cases without a current action. Follow-up dates alone do not qualify; use followUps for scheduled checks. |
snoozed | boolean or true, false | No | Active cases leave out snoozed cases: not waiting on the team, with a follow-up still in the future. true lists only snoozed cases. |
Find cases by customer name, email, phone, date of birth, support code, order or tracking number, vendor or Stripe ID, or message words, with status and date filters
GET /v1/companies/{company}/environments/{environment}/cases/search
Returns one current workspace per verified customer (explicit splits stay separate), with the actual ticket code, all issue references, plan and run progress, orders and message excerpts. Message case_id opens the workspace; source_case_id retains the original issue. Search matches are leads, not proof of identity or completed work.
- Access:
cases.read - Applies to: one environment
- MCP:
summer_cases_search
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
Query:
| Field | Type | Required | Notes |
|---|---|---|---|
q | string | No | Customer name, email, phone, support code, order or tracking number, Stripe, MDI, Beluga or GEN ID, or care session ID. With messages=true, also words in customer and team messages. At most 200 characters. |
dob | string | No | Exact date of birth, YYYY-MM-DD. With q, keeps only customers that match both. |
messages | boolean or true, false | No | Also search message text for q. Needs q. |
status | open, resolved, all | No | Default all |
created_after | string | No | ISO 8601 time with an offset, for example 2026-10-01T00:00:00Z |
created_before | string | No | ISO 8601 time with an offset, for example 2026-10-01T00:00:00Z |
activity_after | string | No | Cases updated at or after this time |
activity_before | string | No | Cases updated before this time |
include_test | boolean or true, false | No | Include staff and test accounts |
limit | integer | No | Default 25 |
Read one case or conversation with its original messages and related records
GET /v1/companies/{company}/environments/{environment}/cases/{case}
Operational records include workspace with the current customer ticket and all owned issue references, plus the shared saved timeline, including original inbound phone transcripts, caller-supplied pharmacy intake and private tool receipts with attempts and results. Generated speech is not proof the caller heard it; saved intake is not resolution. The conversation field includes messages, other_threads and activity from the same case feed: original email From/To headers, Slack sender/channel, and care routing audience/direction/endpoints when recorded. Missing headers stay unknown; routing is display evidence, never reply authorization. The original case identity is retained. Includes conversationSentiment with happy, neutral, upset, angry, sad, mixed or unknown, confidence, exact evidence references, source, assessed_at and pending freshness; an estimate does not prove resolution. contact_sources lists each name, email and phone with its source (account, staff-saved or the website chat form) and a plain note; chat form details are self-reported, never identity proof or a reply address. Each customer_records.orders item has supply: paid plan months, each product's package days, the newest prescriptions with quantity, refills and days per fill (with its source), the shipment sequence of a split plan and a plain summary; unavailable:true means unknown, not none. Supply facts never give dosing.
- Access:
cases.read - Applies to: one environment
- MCP:
summer_cases_get
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
case | UUID | Yes |
Query:
| Field | Type | Required | Notes |
|---|---|---|---|
after | integer | No |
Get a short-lived download for an attachment that belongs to this case
GET /v1/companies/{company}/environments/{environment}/cases/{case}/attachments/{attachment}
- Access:
cases.read - Applies to: one environment
- MCP:
summer_cases_attachment
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
case | UUID | Yes | |
attachment | UUID | Yes |
Read an original care-message attachment as name, content_type, size_bytes and data_base64 (up to 20 MiB)
GET /v1/companies/{company}/environments/{environment}/cases/{case}/care-messages/{message}/attachments/{index}
Use careMessageId and preview.attachments index from cases.get. Checks the case customer, message owner and environment on every read.
- Access:
cases.read - Applies to: one environment
- MCP:
summer_cases_care_attachment
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
case | UUID | Yes | |
message | UUID | Yes | |
index | integer | Yes |
Read the case customer's subscriptions and upcoming shipments, the same account facts used by the chat agent and Details panel: renewal and next-charge dates, recurring price/currency, pauses and scheduled ends, refill due dates and prepaid fills, fulfillment and tracking
GET /v1/companies/{company}/environments/{environment}/cases/{case}/account
Planned dates are not confirmed ship dates. Read coverage distinguishes unknown from absent; no customer changes are made.
- Access:
cases.read - Applies to: one environment
- MCP:
summer_cases_account
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
case | UUID | Yes |
Read the case customer's profile: name, date of birth, contact details, default shipping and billing addresses, each order's addresses and earlier addresses
GET /v1/companies/{company}/environments/{environment}/cases/{case}/customer-profile
A saved address does not prove where an existing order ships.
- Access:
cases.read - Applies to: one environment
- MCP:
summer_cases_customer_profile
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
case | UUID | Yes |
Read shared investigation runs, saved plans, approval state and execution receipts across the verified customer’s cases, including historical issues
GET /v1/companies/{company}/environments/{environment}/cases/{case}/investigations
Each run retains its original support_case_id; use that ID for write operations and original run evidence.
- Access:
cases.read - Applies to: one environment
- MCP:
summer_investigations_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
case | UUID | Yes |
List investigation and execution runs across cases, newest first, with status, plan approval and date filters
GET /v1/companies/{company}/environments/{environment}/runs
- Access:
cases.read - Applies to: one environment
- MCP:
summer_runs_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
Query:
| Field | Type | Required | Notes |
|---|---|---|---|
status | all, approval, active, queued, review, completed, stopped, waiting | No | approval: plans waiting for human approval; review: runs that need a person to check them |
kind | all, investigation, execution | No | |
executed | boolean or true, false | No | Only approved executions, with their effects |
sort | results, created, started, approved | No | |
created_after | string | No | ISO 8601 time with an offset, for example 2026-10-01T00:00:00Z |
created_before | string | No | ISO 8601 time with an offset, for example 2026-10-01T00:00:00Z |
cursor | string | No |
Ask Summer to investigate the case, or revise a saved plan with feedback
POST /v1/companies/{company}/environments/{environment}/cases/{case}/investigations
The new plan follows the company's auto-run rules; to make every plan wait for a person, turn auto-run off in the execution policy. Guidance and feedback apply to this request only; later plans read them as past context. Set guidance_scope to standing for an instruction that applies to every later plan for this customer.
- Access:
investigations.request - Applies to: one environment
- MCP:
summer_investigations_request - Idempotency-Key: required
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
case | UUID | Yes |
Body, form 1:
| Field | Type | Required | Notes |
|---|---|---|---|
kind | investigate | Yes | |
guidance | string | No | At most 8000 characters. |
guidance_scope | request, standing | No | request (default): this request only. standing: every later plan for this customer. Ignored without guidance. |
Body, form 2:
| Field | Type | Required | Notes |
|---|---|---|---|
kind | revise | Yes | |
plan_request_id | UUID | Yes | |
feedback | string | Yes | At most 8000 characters. |
guidance_scope | request, standing | No | request (default): this revision only. standing: every later plan for this customer. |
Read the case chat with Summer: each question people asked about the case, oldest first, with its status and Summer's saved answer (the latest 10)
GET /v1/companies/{company}/environments/{environment}/cases/{case}/chat
An answer is Summer's explanation of its own work, not new evidence, approval or a customer outcome.
- Access:
cases.read - Applies to: one environment
- MCP:
summer_cases_chat_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
case | UUID | Yes |
Ask Summer a question about the case, such as why it chose a plan or what it found
POST /v1/companies/{company}/environments/{environment}/cases/{case}/chat
Summer reopens its last run on the case, with what it already read, and answers in the case chat. Read-only: it publishes no plan and makes no changes. One question at a time per case. Read cases.chat.list for the answer, which usually takes a minute or two. To change the plan, use investigations.request.
- Access:
investigations.request - Applies to: one environment
- MCP:
summer_cases_chat_ask - Idempotency-Key: required
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
case | UUID | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
question | string | Yes | At most 4000 characters. |
Stop an exact investigation owned by this case, preserving its evidence and history
POST /v1/companies/{company}/environments/{environment}/cases/{case}/investigations/{run}/stop
Cannot stop execution runs. A stop request is not a finished cancellation: read investigations.list until the run is cancelled or completed, then use investigations.request with current guidance to rerun.
- Access:
investigations.request - Applies to: one environment
- MCP:
summer_investigations_stop - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
case | UUID | Yes | |
run | UUID | Yes |
Edit wording or skip steps in the current saved plan at its expected revision, including proposed company knowledge text
POST /v1/companies/{company}/environments/{environment}/cases/{case}/investigations/{request}/wording
Step IDs are native for delegated work and effect:0, effect:1 and so on in the selected option's original order. Skipped steps stay in the plan, never run and are named to the executor. Returns every step and whether it is skipped. Preserves targets, amounts, feedback sources and selected option. Invalidates prepared approval; does not apply knowledge or customer changes.
- Access:
investigations.request - Applies to: one environment
- MCP:
summer_investigations_plan_edit - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
case | UUID | Yes | |
request | UUID | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
expected_revision | integer | Yes | |
edits | object | No | |
skipped_steps | array of string | No | The complete set of steps to skip. Steps not listed run, including steps skipped earlier. An empty list restores every step. At least one step must remain. |
reason | string | Yes | At most 1000 characters. |
Prepare the exact current plan and return its execution ID, approval hash and reviewed work
POST /v1/companies/{company}/environments/{environment}/cases/{case}/actions/prepare
Does not approve or execute. A delegated actions.approve grant can approve authorized work through API, CLI or MCP.
- Access:
actions.prepare - Applies to: one environment
- MCP:
summer_actions_prepare - Idempotency-Key: required
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
case | UUID | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
plan_request_id | UUID | Yes | |
replaces_execution | UUID | No | Replace an unapproved, unstarted queued execution whose source or selected plan changed. Existing approvals and uncertain work cannot be replaced. |
Approve the exact prepared execution under the authenticated operator's delegated authority
POST /v1/companies/{company}/environments/{environment}/cases/{case}/actions/approve
Use only for work the operator authorized, read the prepared review first, and pass its exact hash. Records the authorization and queues ordinary execution; approval does not prove a customer outcome. No caller-supplied approver identity or identity-verification attestation.
- Access:
actions.approve(owner or admin) - Applies to: one environment
- MCP:
summer_actions_approve - Idempotency-Key: required
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
case | UUID | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
execution | UUID | Yes | |
approval_hash | string | Yes | |
authorization | string | Yes | The operator's instruction authorizing this exact work, retained in the approval audit. This is context, not an identity attestation. At most 2000 characters. |
Try a saved plan approval again when it is waiting to start (its id is in investigations
POST /v1/companies/{company}/environments/{environment}/cases/{case}/actions/retry
list planApprovals). Returns the approval's current state and the reason when it still cannot start. start_anyway ends the case's stopped runs that have no checked result, recording this person, so the approved plan starts; an earlier run may already have made its changes. A run still working keeps blocking.
- Access:
actions.approve(owner or admin) - Applies to: one environment
- MCP:
summer_actions_retry - Idempotency-Key: required
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
case | UUID | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
approval | UUID | Yes | |
start_anyway | true | No | The operator chose to start even though an earlier run stopped without a checked result. |
authorization | string | Yes | The operator's instruction to retry, retained in the audit event. This is context, not an identity attestation. At most 2000 characters. |
Automation
Read configuration and activity events after a cursor
GET /v1/companies/{company}/environments/{environment}/events
Pagination uses next_cursor.
- Access:
setuporevents.read(owner or admin) - Applies to: one environment
- MCP:
summer_events_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
Query:
| Field | Type | Required | Notes |
|---|---|---|---|
after | string | No | |
limit | integer | No |
List the company's service accounts
GET /v1/companies/{company}/service-accounts
- Access:
automation.manage(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_service_accounts_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
Create, update, rotate or disable a service account
PUT /v1/companies/{company}/service-accounts/{account}
A new secret goes to the trusted local helper only.
- Access:
automation.manage(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_service_accounts_savereturns a local CLI command instead of moving a secret - Idempotency-Key: required
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
account | UUID | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
name | string | Yes | At most 80 characters. |
environments | array of staging, production | Yes | |
scopes | array of events.read, capabilities.read | Yes | |
expected_version | integer | Yes | Current version you expect; 0 when the resource does not exist yet |
rotate_secret | boolean | No | Default false. |
disable | boolean | No | Default false. |
List webhook endpoints and delivery state
GET /v1/companies/{company}/environments/{environment}/webhooks
- Access:
automation.manage(owner or admin) - Applies to: one environment
- MCP:
summer_webhooks_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
Create, update, rotate or disable a signed webhook endpoint
PUT /v1/companies/{company}/environments/{environment}/webhooks/{webhook}
A new signing secret goes to the trusted local helper only.
- Access:
automation.manage(owner or admin) - Applies to: one environment
- MCP:
summer_webhooks_savereturns a local CLI command instead of moving a secret - Idempotency-Key: required
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
webhook | UUID | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
url | string | Yes | At most 512 characters. |
event_types | array of string | Yes | |
expected_version | integer | Yes | Current version you expect; 0 when the resource does not exist yet |
rotate_secret | boolean | No | Default false. |
disable | boolean | No | Default false. |
Queue past events after a cursor for delivery again to one endpoint
POST /v1/companies/{company}/environments/{environment}/webhooks/{webhook}/replay
Receivers deduplicate by event ID.
- Access:
automation.manage(owner or admin) - Applies to: one environment
- MCP:
summer_webhooks_replay - Idempotency-Key: required
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
webhook | UUID | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
after | string | Yes | |
limit | integer | No | Default 200. |
Other operations
Read the existing AI employee choices and four explained company questions, five optional policy preferences, current answers, connected channel/teammate/patient-portal choices, exact preview and agent setup instructions
GET /v1/companies/{company}/onboarding/policies
Company branding is already known. No long questionnaire is returned.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_onboarding_policies_read
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes |
Save any partial policy answer patch, including answers researched by an authorized agent with website/code/knowledge sources and notes
PUT /v1/companies/{company}/onboarding/policies
useStarterDefaults with the current catalogVersion selects starter policies and fills the five optional preferences, preserving existing tailored policies. Choose the company AI employee by employeeId; known destinations can use an owned selection reference; missing facts have no invented default. Empty answers are allowed. Draft only, no runtime activation; skip any or all questions.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_onboarding_policies_save - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
expectedRevision | integer | Yes | |
catalogVersion | 3 | Yes | |
answers | array of object | Yes | |
useStarterDefaults | boolean | No |
Apply a reviewed saved policy draft to exact company knowledge revisions with company-admin authority and audit history
POST /v1/companies/{company}/onboarding/policies/publish
forLaunch checks the selected company AI employee and four company facts; other policies are optional. Shared clinical/identity/approval boundaries remain. Does not publish public articles, activate integrations, change hours/billing or approve customer effects. Existing operations libraries use their normal knowledge editor.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_onboarding_policies_publish - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
expectedRevision | integer | Yes | |
documentRevisions | object | Yes | |
documentRevisions.ops.core | integer | Yes | |
documentRevisions.ops.customer-policy-choices | integer | Yes | |
documentRevisions.ops.operating-policy-choices | integer | Yes | |
reason | string | Yes | At most 2000 characters. |
forLaunch | boolean | No |
Save an owned administrative customer and contact discovery leads with source evidence at an expected revision
PUT /v1/companies/{company}/environments/{environment}/customers
Optionally associate a sourced Bask providerPatient ID atomically. Company admin required. Retains history; never verifies a patient, links a sign-in session, enables a provider or authorizes a customer effect.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_customers_save - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
providerPatient | object | No | |
providerPatient.provider | bask | Yes | |
providerPatient.id | string | Yes | |
id | UUID | Yes | |
expectedRevision | integer | Yes | |
displayName | string | Yes | At most 200 characters. |
contacts | array of object | Yes | |
sourceReference | object | Yes | |
sourceReference.system | string | Yes | At most 100 characters. |
sourceReference.reference | string | Yes | At most 1000 characters. |
sourceReference.observedAt | string | Yes | |
sourceReference.url | string | No |
Search the saved company customer store by name, customer UUID, provider identifier or exact email/E
GET /v1/companies/{company}/environments/{environment}/customers/search
164 phone. Returns separate ambiguous candidates, source evidence and honest coverage. Discovery never verifies account access or searches Rebody Auth.
- Access:
cases.read - Applies to: one environment
- MCP:
summer_customers_search
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Query:
| Field | Type | Required | Notes |
|---|---|---|---|
q | string | Yes | At most 200 characters. |
Read the company runtime connection, capability switches, pilot cases, automatic investigation setting and original configuration history
GET /v1/companies/{company}/environments/{environment}/runtime-connection
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_runtime_connection_read
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Configure this company's runtime and pilot at the current revision
PUT /v1/companies/{company}/environments/{environment}/runtime-connection
Production activation requires current readiness evidence. Preserves budgets and exact effect approval; automatic investigations prepare plans and do not enable automatic actions.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_runtime_connection_configure - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
version | integer | Yes | |
enabled | boolean | Yes | |
knowledge | boolean | Yes | |
investigations | boolean | Yes | |
effects | boolean | Yes | |
caseIds | array of UUID | No | |
allCases | boolean | No | |
automaticInvestigations | boolean | No | |
workflowProfile | public_support, account_support | No |
Read readiness separately for public support and account/order support, actual activation, relevant check freshness, provider account state and adopted shared guidance
GET /v1/companies/{company}/environments/{environment}/readiness
Optional unfinished providers do not block unrelated working capabilities. Saved keys and templates do not establish readiness.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_onboarding_readiness
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Read company-owned clinician/provider account configuration and actual verified capabilities
GET /v1/companies/{company}/environments/{environment}/provider-connections
Credential names only; no values.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_providers_connections_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Save provider account metadata at an expected revision or disconnect it
PUT /v1/companies/{company}/environments/{environment}/provider-connections
Changes invalidate previous checks and disable its capabilities. This does not assert a working Bask API or verify credentials.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_providers_connections_save - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
id | UUID | Yes | |
expectedRevision | integer | Yes | |
provider | string | Yes | |
accountId | string | Yes | At most 200 characters. |
region | string | Yes | At most 100 characters. |
configuration | object | Yes | |
configuration.documentationUrl | string | No | |
configuration.clinicalUrl | string | No | |
configuration.supportUrl | string | No | |
configuration.notes | string | No | At most 5000 characters. |
credentialNames | array of string | Yes | |
disconnect | boolean | No | Default false. |
Check issue permission and repository visibility, or read one original GitHub issue by number
GET /v1/companies/{company}/environments/{environment}/github/sources/{source_id}/issue
Restricted to company-selected repositories; no credentials or writes. Issue closure does not resolve the customer case.
- Access:
cases.read - Applies to: one environment
- MCP:
summer_github_issues_read
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes | |
source_id | UUID | Yes |
Query:
| Field | Type | Required | Notes |
|---|---|---|---|
number | integer | No |
Read the company GitHub installation, selected repositories/folders and cached commit status
GET /v1/companies/{company}/environments/{environment}/github
Makes no GitHub request and returns no credentials.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_github_connection_read
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Get the Summer browser URL for a company administrator to install and authorize the Summer GitHub App
POST /v1/companies/{company}/environments/{environment}/github/connect
Code access is read-only; issue handoffs use separate GitHub Issues permission and exact case approval. Does not grant access or connect an installation by itself.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_github_connection_start
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
List repositories available to this company GitHub installation
GET /v1/companies/{company}/environments/{environment}/github/repositories
Provider metadata read; no file content.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_github_repositories_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Query:
| Field | Type | Required | Notes |
|---|---|---|---|
page | integer | No |
Browse repository folders at a branch or commit before selecting access
POST /v1/companies/{company}/environments/{environment}/github/folders
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_github_folders_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
repositoryId | integer | Yes | |
repository | string | Yes | |
ref | string | Yes | At most 255 characters. |
path | string | No | At most 1000 characters. |
Choose repository branches/commits and allowed folders
PUT /v1/companies/{company}/environments/{environment}/github/sources
A dot selects the whole repository. Replaces selections with an expected version and invalidates old cached access. Does not sync code.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_github_sources_save - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
expected_version | integer | Yes | |
sources | array of object | Yes |
Refresh the selected repository code cache once from GitHub
POST /v1/companies/{company}/environments/{environment}/github/sources/{source_id}/sync
Reuses the cache for an unchanged commit; sandbox startup never pulls GitHub.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_github_sources_sync - Idempotency-Key: required
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes | |
source_id | UUID | Yes |
List cached source paths, or read one cached file with path
GET /v1/companies/{company}/environments/{environment}/github/sources/{source_id}
Only currently selected company folders are available. No live GitHub call or credentials.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_github_sources_read
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes | |
source_id | UUID | Yes |
Query:
| Field | Type | Required | Notes |
|---|---|---|---|
path | string | No | At most 1000 characters. |
offset | integer | No |
Disconnect this company/environment GitHub source access and remove its cached archives
DELETE /v1/companies/{company}/environments/{environment}/github
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_github_connection_disconnect - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
expected_version | integer | Yes |
Name an email address, an email domain or a Slack channel as a partner or as your own team
PUT /v1/companies/{company}/environments/{environment}/partners/contacts
Summer then knows who vendor mail and Slack replies reach, so they can run on their own under the company policy instead of waiting as an unknown audience. Saving an existing entry changes its audience or label.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_partners_contacts_save - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
kind | email, email_domain, slack_channel | Yes | |
value | string | Yes | ops@example.com, example.com or a Slack channel ID such as C0123ABCD At most 254 characters. |
audience | partner, internal | Yes | |
label | string | No | At most 120 characters. |
Remove a partner contact
POST /v1/companies/{company}/environments/{environment}/partners/contacts/{id}/remove
Mail or Slack posts to it go back to an unknown audience. The entry and the reason stay in the history.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_partners_contacts_remove - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes | |
id | UUID | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
reason | string | Yes | Why you are making this change. Kept in the history. At most 500 characters. |
Read built-in tasks and company/environment-owned workflow templates
GET /v1/companies/{company}/environments/{environment}/workflows
Selecting one never runs work.
- Access:
cases.read - Applies to: one environment
- MCP:
summer_workflows_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Query:
| Field | Type | Required | Notes |
|---|---|---|---|
retired | boolean or true, false | No |
Read the original revisions and authenticated edits for a saved workflow
GET /v1/companies/{company}/environments/{environment}/workflows/{workflow}/history
- Access:
cases.read - Applies to: one environment
- MCP:
summer_workflows_history
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes | |
workflow | UUID | Yes |
Save, retire or restore a task template with its expected revision
PUT /v1/companies/{company}/environments/{environment}/workflows
Changes no case or effect authority.
- Access:
workspace.write - Applies to: one environment
- MCP:
summer_workflows_save - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
id | UUID | Yes | |
expected_revision | integer | Yes | |
name | string | Yes | At most 80 characters. |
description | string | Yes | At most 500 characters. |
instructions | string | Yes | At most 6000 characters. |
retired | boolean | Yes | |
reason | string | Yes | At most 500 characters. |
Prepare editable operator guidance from an exact active workflow revision and feedback
POST /v1/companies/{company}/environments/{environment}/workflows/request-text
Starts no investigation and executes no action.
- Access:
cases.read - Applies to: one environment
- MCP:
summer_workflows_request_text
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes | At most 100 characters. |
expected_revision | integer | Yes | |
feedback | string | No | At most 8000 characters. Default "". |
Open the Summer workspace for a human to choose a queued message and click Send now outside sending hours
GET /v1/companies/{company}/environments/{environment}/messages/queued/send-now
Returns a UI handoff only; API, CLI and MCP callers cannot override hours or send a message. The signed-in person must have current sending access. Consent, ordering, exact approvals and original receipt checks remain enforced.
- Access:
cases.read - Applies to: one environment
- MCP:
summer_messages_queued_send_now
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Read all waiting and sending Summer messages across email, Slack, texts and website chat for a company/environment
GET /v1/companies/{company}/environments/{environment}/messages/queued
Includes paced replies, office-hour queues and company-wide Slack setup messages, original recipients, saved text, next eligible send times and case links. Filter by channel and page with offset/limit. Counts cover the whole queue. Changes nothing and never sends or retries a message.
- Access:
cases.read - Applies to: one environment
- MCP:
summer_messages_queued_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Query:
| Field | Type | Required | Notes |
|---|---|---|---|
channel | email, slack, sms, chat | No | |
offset | integer | No | |
limit | integer | No |
Act on several rows from reports
POST /v1/companies/{company}/environments/{environment}/reports/delivery/bulk
delivery at once: request a new plan, approve each case's current saved plan and run it, or start an approved plan that is waiting. Returns done, skipped or failed with a reason for each row. Rows with no confirmed result are never run again. Approval binds to each case's exact saved plan and prepared changes; plans that changed or need a choice between options are skipped. request_plan needs investigations.request; the others need a person's delegated actions.approve.
- Access:
investigations.requestoractions.approve - Applies to: one environment
- MCP:
summer_delivery_bulk - Idempotency-Key: required
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
action | request_plan, approve_and_run, run_again | Yes | request_plan asks the agent for a new plan. approve_and_run approves each case's current saved plan, bound to its exact prepared changes, then runs it. run_again starts an approved plan that is waiting to start. |
attempts | array of string | Yes | Row ids from reports.delivery. |
authorization | string | No | The operator's instruction for this work, kept with each approval. Needed for approve_and_run and run_again. This is context, not an identity attestation. At most 2000 characters. |
Read work that Summer agents or blocked approvals asked a person to do, with owners, due times, recorded outcomes and change history for one selected task
GET /v1/companies/{company}/environments/{environment}/human-tasks
- Access:
cases.read - Applies to: one environment
- MCP:
summer_human_tasks_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Query:
| Field | Type | Required | Notes |
|---|---|---|---|
status | open, done, dismissed, all | No | |
mine | boolean or true, false | No | |
case | UUID | No | |
task | UUID | No |
Complete, dismiss, reopen or assign a human task with its expected version
POST /v1/companies/{company}/environments/{environment}/human-tasks
Records the person and outcome. Does not approve a plan or change customer records.
- Access:
workspace.writeorsetup - Applies to: one environment
- MCP:
summer_human_tasks_update - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
taskId | UUID | Yes | |
version | integer | Yes | |
operation | complete, dismiss, reopen, assign | Yes | |
outcome | string | No | At most 1000 characters. |
assigneeId | UUID or null | No |
Read Summer answering lines, Quo number and keypad mappings, recent calls, source digits, case links, received-event times and settings history
GET /v1/companies/{company}/environments/{environment}/phone-calls
Does not mark calls read or change Quo routing.
- Access:
cases.read - Applies to: one environment
- MCP:
summer_phone_calls_settings_read
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Save Summer answering and call-type mappings for an existing line with its expected version
POST /v1/companies/{company}/environments/{environment}/phone-calls
Requires current company and Ops admin access. Does not publish a Quo menu, change ringing users or forward a number. New Quo numbers also need webhook subscription in Quo.
- Access:
setuporworkspace.write(owner or admin) - Applies to: one environment
- MCP:
summer_phone_calls_settings_update - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
line_id | UUID | Yes | |
version | integer | Yes | |
enabled | boolean | Yes | |
numbers | array of object | Yes | |
menu | object | Yes | |
transfer_e164 | string or null | No |
Read company scheduled agent jobs, names, instructions, schedules, next runs and latest results
GET /v1/companies/{company}/environments/{environment}/scheduled-jobs
These independent jobs use company knowledge and connected tools; source collection precedes ordinary case routing.
- Access:
cases.read - Applies to: one environment
- MCP:
summer_scheduled_jobs_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | production, staging | Yes |
Create or update a scheduled native agent job at its expected revision
PUT /v1/companies/{company}/environments/{environment}/scheduled-jobs
Configure its name, instructions, interval or five-field cron, IANA timezone and enabled state. Pausing stops an active run. Requires company admin and automation.manage; grants source reads and evidence capture, never customer effects.
- Access:
automation.manage(owner or admin) - Applies to: one environment
- MCP:
summer_scheduled_jobs_save - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | production, staging | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
id | UUID | Yes | |
expected_revision | integer | Yes | |
name | string | Yes | At most 100 characters. |
instructions | string | Yes | At most 16000 characters. |
schedule | object or object | Yes | |
timezone | string | Yes | At most 100 characters. |
enabled | boolean | Yes | |
reason | string | Yes | At most 1000 characters. |
Request one run of an enabled scheduled job
POST /v1/companies/{company}/environments/{environment}/scheduled-jobs/{job}/run
Concurrent and repeated requests coalesce; reuse request_id on retry. The job's normal schedule remains in place.
- Access:
automation.manage(owner or admin) - Applies to: one environment
- MCP:
summer_scheduled_jobs_run - Idempotency-Key: required
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | production, staging | Yes | |
job | UUID | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
request_id | UUID | Yes | |
expected_revision | integer | Yes |
Read recent scheduled runs with original definition revisions, outcomes, coverage, saved source counts and failures
GET /v1/companies/{company}/environments/{environment}/scheduled-jobs/{job}/runs
- Access:
cases.read - Applies to: one environment
- MCP:
summer_scheduled_jobs_runs
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | production, staging | Yes | |
job | UUID | Yes |
Read saved scheduled-job definition revisions and authenticated edit reasons
GET /v1/companies/{company}/environments/{environment}/scheduled-jobs/{job}/history
- Access:
cases.read - Applies to: one environment
- MCP:
summer_scheduled_jobs_history
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | production, staging | Yes | |
job | UUID | Yes |
Read Intercom migration previews, saved progress, counts, errors and Summer inbox destinations
GET /v1/companies/{company}/environments/{environment}/imports/intercom
Does not start an import.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_imports_intercom_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Check the saved Intercom key against a workspace and preview contact/conversation counts
POST /v1/companies/{company}/environments/{environment}/imports/intercom/preview
Save the selected Summer inbox and explicit account-matching choice. Import nothing; send nothing.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_imports_intercom_preview - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
installation | UUID | Yes | |
workspace | string | Yes | At most 100 characters. |
region | us, eu, au | No | Default "us". |
match_accounts | boolean | No | Default false. |
Start, pause, resume or rescan an Intercom migration with its current version
POST /v1/companies/{company}/environments/{environment}/imports/intercom/{import}/control
Optional incremental sync reconciles the same original IDs; no replies, notifications or agent runs. Names/email never verify an account.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_imports_intercom_control - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes | |
import | UUID | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
expected_version | integer | Yes | |
action | start, pause, resume, rescan | Yes | |
keep_sync | boolean | No | Default false. |
Search imported Summer profiles and their original conversation references
GET /v1/companies/{company}/environments/{environment}/imports/intercom/profiles
Contact details do not establish account ownership.
- Access:
cases.read - Applies to: one environment
- MCP:
summer_imports_intercom_profiles
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
environment | staging, production | Yes |
Query:
| Field | Type | Required | Notes |
|---|---|---|---|
workspace | string | Yes | At most 100 characters. |
q | string | No | At most 200 characters. |
offset | integer | No |
List suggested female and gender-neutral teammate names whose gosummer
GET /v1/companies/{company}/teammates/names
ai address is still free. Each has a suggested photo_url to show; create with use_suggested_photo: true to add that name, address and photo together. Any typed first and last name also works.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_teammates_names_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes |
List the company's teammates with their address, photo, status, unread mail count and Slack connection
GET /v1/companies/{company}/teammates
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_teammates_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes |
Add a teammate
POST /v1/companies/{company}/teammates
A managed teammate gets first.last@gosummer.ai, unique across Summer. A company-managed teammate uses the company's own address. Invites no one, joins no Slack workspace and sends nothing.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_teammates_create - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes |
Body, form 1:
| Field | Type | Required | Notes |
|---|---|---|---|
kind | managed | Yes | |
first_name | string | Yes | At most 30 characters. |
last_name | string | Yes | At most 30 characters. |
avatar_url | string or null | No | |
use_suggested_photo | boolean | No | For a name from teammates.names.list: give the teammate that name's suggested photo. Summer stores it like an upload, so it also becomes the Slack photo when Slack is connected. Ignores avatar_url. |
reason | string | Yes | At most 1000 characters. |
Body, form 2:
| Field | Type | Required | Notes |
|---|---|---|---|
kind | company | Yes | |
first_name | string | Yes | At most 30 characters. |
last_name | string | Yes | At most 30 characters. |
email_address | string | Yes | The company's own address for this teammate. Summer never reads this mailbox. At most 254 characters. |
avatar_url | string or null | No | |
use_suggested_photo | boolean | No | For a name from teammates.names.list: give the teammate that name's suggested photo with the company's own address. Ignores avatar_url. |
reason | string | Yes | At most 1000 characters. |
Change a teammate's shown name, photo or status, with the expected revision and a reason
PUT /v1/companies/{company}/teammates/{teammate}
Retiring disconnects Slack and keeps the address reserved.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_teammates_update - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
teammate | UUID | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
revision | integer | Yes | Current revision from teammates.list. |
display_name | string | Yes | At most 80 characters. |
avatar_url | string or null | Yes | |
status | active, retired | Yes | Retired teammates keep their address forever and disconnect from Slack. |
reason | string | Yes | At most 1000 characters. |
Upload a PNG, JPEG or WebP photo of at most 2 MB as application/octet-stream and make it the teammate's photo
PUT /v1/companies/{company}/teammates/{teammate}/photo
Summer serves it at a public link for Slack and email. Never pass image bytes through MCP; set a photo link with teammates.update instead.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP: Not available over MCP
- Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
teammate | UUID | Yes |
Body: raw application/octet-stream, at most 2 MiB. The optional X-Content-SHA256 header must match those exact bytes. Use the local CLI; this body is not accepted through MCP.
Disconnect a teammate's Slack account from Summer and delete its saved token
POST /v1/companies/{company}/teammates/{teammate}/slack/disconnect
The Slack account itself stays in the workspace. Connecting needs the Slack sign-in in Summer settings.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_teammates_slack_disconnect - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
teammate | UUID | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
reason | string | Yes | At most 1000 characters. |
Live status of each step to get a teammate posting approved replies in vendor Slack channels: Slack connected, teammate added, Slack invitation received, teammate connected, chosen as sender, in each vendor channel, and agent replies allowed there
GET /v1/companies/{company}/teammates/setup
Unreadable sources are reported as unknown.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_teammates_setup_status
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes |
Join a public Slack channel as the connected teammate
POST /v1/companies/{company}/teammates/{teammate}/slack/channels/{channel}/join
Sends no message. A private or shared channel needs someone in it to /invite the teammate in Slack.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_teammates_slack_channels_join - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
teammate | UUID | Yes | |
channel | string | Yes | Public Slack channel ID from teammates.setup.status |
Make a one-time link that connects the teammate's Slack account
POST /v1/companies/{company}/teammates/{teammate}/slack/link
Open it in the browser signed in to Slack as the teammate and select Allow; no Summer sign-in is needed there. It works once, for 15 minutes, and the connection is recorded as yours. Treat the link like a password. Needs a company owner or administrator.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_teammates_slack_link_create - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
teammate | UUID | Yes |
List the people who can DM this AI employee in Slack, with the list revision, plus people: names and member IDs Summer has seen in the selected channels, to choose from
GET /v1/companies/{company}/teammates/{teammate}/slack/dms
Each DM from one of them opens an Ops case; a person approves the exact reply before the AI employee posts it. Needs a company owner or administrator.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_teammates_slack_dms_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
teammate | UUID | Yes |
Add or remove one person who can DM this AI employee, with the expected list revision and a reason
PUT /v1/companies/{company}/teammates/{teammate}/slack/dms
Summer reads only DMs from people on the list. Removing someone stops Summer reading and posting in that DM. Sends nothing.
- Access:
setup(owner or admin) - Applies to: the whole company, every environment
- MCP:
summer_teammates_slack_dms_update - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
teammate | UUID | Yes |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
revision | integer | Yes | Current list revision from teammates.slack.dms.list (0 for an empty list). |
slack_user_id | string | Yes | The person's Slack member ID in the company's workspace, such as U012AB3CD. |
allowed | boolean | Yes | true adds the person; false removes them. |
reason | string | Yes | At most 1000 characters. |
List mail received by a Summer-managed teammate, newest first, with sender, subject and a short preview
GET /v1/companies/{company}/teammates/{teammate}/mailbox
Company-managed teammates have no mailbox in Summer.
- Access:
cases.read - Applies to: the whole company, every environment
- MCP:
summer_teammates_mailbox_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
teammate | UUID | Yes |
Query:
| Field | Type | Required | Notes |
|---|---|---|---|
before | string | No | Messages received before this time |
limit | integer | No |
Read one message in a Summer-managed teammate's mailbox, including its text
GET /v1/companies/{company}/teammates/{teammate}/mailbox/{message}
Marks it read for the team.
- Access:
cases.read - Applies to: the whole company, every environment
- MCP:
summer_teammates_mailbox_get
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | |
teammate | UUID | Yes | |
message | UUID | Yes |
Preview the complete replacement execution policy
POST /v1/companies/{company}/environments/{environment}/autonomy/policy/preview
Conversation reply grants remain separate; explicit communication review exceptions apply to replies too. Optional partial (run the leading qualifying steps, leave the rest with a person) is off when omitted. Money limits (refund, credit and daily totals in cents) default to $200 per refund, $100 per credit and $500 in 24 hours when omitted. Returns an exact preview hash; changes nothing.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_autonomy_policy_preview
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
version | integer | Yes | |
settings | object | Yes | |
settings.default | object | Yes | |
settings.default.mode | review, automatic | Yes | |
settings.default.threshold | integer | Yes | |
settings.exceptions | array of object | Yes | |
settings.partial | boolean | No | When true, auto-run may run the leading steps of a plan that qualify and leave the remaining steps, and every case closure, waiting for a person. Off when omitted. |
settings.money | object | No | Money limits for auto-run, in whole cents. Omitted: a refund up to 20000 ($200), a credit up to 10000 ($100) and 50000 ($500) in any 24 hours. Set the limits to 0 to make all money wait for a person. Charges and promotions always wait for a person. |
settings.money.refundCentsMax | integer | No | Largest single refund that may run automatically. Omitted: refunds wait for a person. |
settings.money.creditCentsMax | integer | No | Largest single account credit that may run automatically. Omitted: credits wait for a person. |
settings.money.dailyCentsMax | integer | Yes | Most refunds and credits that auto-run may approve in any 24 hours, across the company and environment. |
Publish the complete previewed company execution policy under the authenticated administrator's authority
PUT /v1/companies/{company}/environments/{environment}/autonomy/policy
Requires a person's delegated messaging.activate grant, expected version and preview_hash. Replaces legacy inbound-channel plan permission. Does not run old held plans.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_autonomy_policy_update - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
version | integer | Yes | |
settings | object | Yes | |
settings.default | object | Yes | |
settings.default.mode | review, automatic | Yes | |
settings.default.threshold | integer | Yes | |
settings.exceptions | array of object | Yes | |
settings.partial | boolean | No | When true, auto-run may run the leading steps of a plan that qualify and leave the remaining steps, and every case closure, waiting for a person. Off when omitted. |
settings.money | object | No | Money limits for auto-run, in whole cents. Omitted: a refund up to 20000 ($200), a credit up to 10000 ($100) and 50000 ($500) in any 24 hours. Set the limits to 0 to make all money wait for a person. Charges and promotions always wait for a person. |
settings.money.refundCentsMax | integer | No | Largest single refund that may run automatically. Omitted: refunds wait for a person. |
settings.money.creditCentsMax | integer | No | Largest single account credit that may run automatically. Omitted: credits wait for a person. |
settings.money.dailyCentsMax | integer | Yes | Most refunds and credits that auto-run may approve in any 24 hours, across the company and environment. |
preview_hash | string | Yes |
Draft one action family's change to the saved company execution policy and preview it
POST /v1/companies/{company}/environments/{environment}/autonomy/policy/family/preview
widen adds an automatic rule for a family that reports.autonomy_calibration marks ready_to_widen: at least 30 decided plans and under 1% errors in 14 days. hold adds the family's kill switch: a review rule with threshold 100 that holds every action in the family whatever the other rules say. Returns the drafted settings, the expected version and the autonomy.policy.preview result with its preview_hash. Saves nothing; a person publishes the change with autonomy.policy.update. Money stays within the policy's money limits, and Slack posts still wait unless a rule names Slack.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_autonomy_policy_family_preview
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
family | reply, closure, record, vendor_contact, clinician_note, address_cancel, money | Yes | The action family to change. |
change | widen, hold | No | widen adds an automatic rule for a family the calibration report marks ready_to_widen. hold adds the family's kill switch: a review rule with threshold 100. Either way nothing is saved. Default "widen". |
threshold | integer | No | For widen: the confidence each action in the family needs. Default: the policy's default threshold. |
Count latest pending plans per open ticket across the connected operations company, including partner/system/operator origins
POST /v1/companies/{company}/environments/{environment}/autonomy/plans/preview
Other tenants cover only their Messenger tickets. Returns aggregate scores, holds, coverage and an exact refresh preview; starts nothing. auto_run:true previews only plans that could run on their own under current auto-run settings.
- Access:
setup(owner or admin) - Applies to: one environment
- MCP:
summer_autonomy_plans_preview
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
missing_only | boolean | No | Default true. |
auto_run | boolean | No | Default false. |
Queue fresh research for the exact pending-plan preview, up to 100 tickets
POST /v1/companies/{company}/environments/{environment}/autonomy/plans/refresh
Each fresh plan follows the ordinary auto-run eligibility rule. auto_run:true (matching the preview) picks only plans that could run on their own. Never replays old effects. Requires a new preview if work changed; successful repeats return the original receipt.
- Access:
investigations.request - Applies to: one environment
- MCP:
summer_autonomy_plans_refresh - Idempotency-Key: recommended
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
Body:
| Field | Type | Required | Notes |
|---|---|---|---|
missing_only | boolean | No | Default true. |
auto_run | boolean | No | Default false. |
preview_hash | string | Yes |
List published plans, newest first: who approved each (a person or an agent), whether it ran and was checked, the agent's self-review, its own call on running the plan without approval, and auto_run: what the channel's auto-run setting did or would do with it (outcome ran/would_run/would_wait, the deciding reason, channel, on/off, confidence bar and any saved auto-run decision), and runs_as: code when approved work runs, or ran, without an agent (a plan that only resolves the case, or sends one reply and then resolves it), otherwise agent
GET /v1/companies/{company}/environments/{environment}/plans
Includes totals comparing the agent's calls with people's decisions. Read-only.
- Access:
cases.read - Applies to: one environment
- MCP:
summer_plans_list
Path:
| Field | Type | Required | Notes |
|---|---|---|---|
company | UUID | Yes | Summer company ID |
environment | staging, production | Yes | Environment that owns the resource |
Query:
| Field | Type | Required | Notes |
|---|---|---|---|
show | executed, all | No | executed (default): plans whose approved work was sent to run; all: every published plan |
approver | any, person, agent, auto_run | No | agent: approved through a person's delegated API, CLI or MCP connection. auto_run: approved by a channel's auto-run setting |
call | any, would_run, would_not_run, no_call | No | The agent's own call on running the plan without approval, judged against the company's autonomy rubric |
cursor | string | No |