soeru Resonance Engine API
The Resonance Engine API from soeru — 18 operation(s) for resonance engine.
The Resonance Engine API from soeru — 18 operation(s) for resonance engine.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/soeru-biz:soeru-biz-resonance-engine-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: soeru Resonance Engine API
description: AIパーソナライズ明細書メッセージ自動生成SaaS
version: 0.1.0
tags:
- name: Resonance Engine
paths:
/api/resonance/voice-samples:
get:
tags:
- Resonance Engine
summary: List Voice Samples
description: List all active voice samples for the current shop.
operationId: list_voice_samples_api_resonance_voice_samples_get
parameters:
- name: x-shop-id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional shop ID
title: X-Shop-Id
description: Optional shop ID
- name: authorization
in: header
required: true
schema:
type: string
description: Bearer <token>
title: Authorization
description: Bearer <token>
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
post:
tags:
- Resonance Engine
summary: Add Voice Sample
description: Add a single voice sample.
operationId: add_voice_sample_api_resonance_voice_samples_post
parameters:
- name: x-shop-id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional shop ID
title: X-Shop-Id
description: Optional shop ID
- name: authorization
in: header
required: true
schema:
type: string
description: Bearer <token>
title: Authorization
description: Bearer <token>
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/AddVoiceSampleRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/resonance/voice-samples/{sample_id}:
get:
tags:
- Resonance Engine
summary: Get Voice Sample
description: Fetch a single voice sample by id (for the detail page).
operationId: get_voice_sample_api_resonance_voice_samples__sample_id__get
parameters:
- name: sample_id
in: path
required: true
schema:
type: string
title: Sample Id
- name: x-shop-id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional shop ID
title: X-Shop-Id
description: Optional shop ID
- name: authorization
in: header
required: true
schema:
type: string
description: Bearer <token>
title: Authorization
description: Bearer <token>
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- Resonance Engine
summary: Delete Voice Sample
description: Soft-delete a voice sample (mark as inactive).
operationId: delete_voice_sample_api_resonance_voice_samples__sample_id__delete
parameters:
- name: sample_id
in: path
required: true
schema:
type: string
title: Sample Id
- name: x-shop-id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional shop ID
title: X-Shop-Id
description: Optional shop ID
- name: authorization
in: header
required: true
schema:
type: string
description: Bearer <token>
title: Authorization
description: Bearer <token>
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/resonance/voice-samples/batch:
post:
tags:
- Resonance Engine
summary: Add Voice Samples Batch
description: Add multiple voice samples at once.
operationId: add_voice_samples_batch_api_resonance_voice_samples_batch_post
parameters:
- name: x-shop-id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional shop ID
title: X-Shop-Id
description: Optional shop ID
- name: authorization
in: header
required: true
schema:
type: string
description: Bearer <token>
title: Authorization
description: Bearer <token>
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/AddVoiceSamplesRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/resonance/voice-samples/{sample_id}/authentic:
patch:
tags:
- Resonance Engine
summary: Set Voice Sample Authentic
description: '★本当の声フラグを on/off する.
Brand Memory Compiler Phase 4.5: voice_outline 生成は
is_authentic_voice=true のサンプルだけを素材にする (AI 生成 / 編集
サンプルが混じると「妥協」を学習してしまうため)。shop 主が能動的に
書いた文章だけ ★ を付けることで、Opus が読み解く声の輪郭の純度を
保つ。'
operationId: set_voice_sample_authentic_api_resonance_voice_samples__sample_id__authentic_patch
parameters:
- name: sample_id
in: path
required: true
schema:
type: string
title: Sample Id
- name: x-shop-id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional shop ID
title: X-Shop-Id
description: Optional shop ID
- name: authorization
in: header
required: true
schema:
type: string
description: Bearer <token>
title: Authorization
description: Bearer <token>
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/PatchAuthenticVoiceRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/resonance/learning-history:
get:
tags:
- Resonance Engine
summary: Get Learning History
description: 'Get feedback learning history for the current shop.
Returns voice samples filtered to feedback-related source_types,
ordered by newest first. Supports pagination and filtering.'
operationId: get_learning_history_api_resonance_learning_history_get
parameters:
- name: source_type
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Source Type
- name: limit
in: query
required: false
schema:
type: integer
default: 50
title: Limit
- name: offset
in: query
required: false
schema:
type: integer
default: 0
title: Offset
- name: x-shop-id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional shop ID
title: X-Shop-Id
description: Optional shop ID
- name: authorization
in: header
required: true
schema:
type: string
description: Bearer <token>
title: Authorization
description: Bearer <token>
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/resonance/learning-history/stats:
get:
tags:
- Resonance Engine
summary: Get Learning Stats
description: Get aggregated learning statistics for the current shop.
operationId: get_learning_stats_api_resonance_learning_history_stats_get
parameters:
- name: x-shop-id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional shop ID
title: X-Shop-Id
description: Optional shop ID
- name: authorization
in: header
required: true
schema:
type: string
description: Bearer <token>
title: Authorization
description: Bearer <token>
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/resonance/voice-dna:
get:
tags:
- Resonance Engine
summary: Get Voice Dna
description: Get the current Voice DNA for the shop (or synced source).
operationId: get_voice_dna_api_resonance_voice_dna_get
parameters:
- name: x-shop-id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional shop ID
title: X-Shop-Id
description: Optional shop ID
- name: authorization
in: header
required: true
schema:
type: string
description: Bearer <token>
title: Authorization
description: Bearer <token>
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/resonance/voice-dna/quota:
get:
tags:
- Resonance Engine
summary: Get Voice Dna Quota
description: Voice DNA 分析の当月 quota を返す (UI 表示用)。
operationId: get_voice_dna_quota_api_resonance_voice_dna_quota_get
parameters:
- name: x-shop-id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional shop ID
title: X-Shop-Id
description: Optional shop ID
- name: authorization
in: header
required: true
schema:
type: string
description: Bearer <token>
title: Authorization
description: Bearer <token>
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/resonance/voice-dna/preview:
post:
tags:
- Resonance Engine
summary: Preview Voice Dna
description: 'Preview: generate a sample message with and without Voice DNA.
Uses a fixed sample order so the owner can compare how Voice DNA
affects the generated message.
Returns both versions for side-by-side comparison.'
operationId: preview_voice_dna_api_resonance_voice_dna_preview_post
parameters:
- name: x-shop-id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional shop ID
title: X-Shop-Id
description: Optional shop ID
- name: authorization
in: header
required: true
schema:
type: string
description: Bearer <token>
title: Authorization
description: Bearer <token>
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/resonance/voice-sync/graph:
get:
tags:
- Resonance Engine
summary: Get Voice Link Graph
description: 'Return the Voice Link graph for all shops owned by the current user.
Returns nodes (shops) with metadata and edges (sync relationships).
Used by the Voice Link visualization page (`/dashboard/growth/voice-link`).'
operationId: get_voice_link_graph_api_resonance_voice_sync_graph_get
parameters:
- name: x-shop-id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional shop ID
title: X-Shop-Id
description: Optional shop ID
- name: authorization
in: header
required: true
schema:
type: string
description: Bearer <token>
title: Authorization
description: Bearer <token>
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/resonance/voice-sync/shops:
get:
tags:
- Resonance Engine
summary: List Syncable Shops
description: List other shops owned by the same user that have Voice DNA configured.
operationId: list_syncable_shops_api_resonance_voice_sync_shops_get
parameters:
- name: x-shop-id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional shop ID
title: X-Shop-Id
description: Optional shop ID
- name: authorization
in: header
required: true
schema:
type: string
description: Bearer <token>
title: Authorization
description: Bearer <token>
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/resonance/voice-sync:
post:
tags:
- Resonance Engine
summary: Enable Voice Sync
description: 'Enable voice sync: this shop will use another shop''s Voice DNA.'
operationId: enable_voice_sync_api_resonance_voice_sync_post
parameters:
- name: x-shop-id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional shop ID
title: X-Shop-Id
description: Optional shop ID
- name: authorization
in: header
required: true
schema:
type: string
description: Bearer <token>
title: Authorization
description: Bearer <token>
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/VoiceSyncRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- Resonance Engine
summary: Disable Voice Sync
description: 'Disable voice sync: this shop will use its own Voice DNA.'
operationId: disable_voice_sync_api_resonance_voice_sync_delete
parameters:
- name: x-shop-id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional shop ID
title: X-Shop-Id
description: Optional shop ID
- name: authorization
in: header
required: true
schema:
type: string
description: Bearer <token>
title: Authorization
description: Bearer <token>
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/resonance/learning-report:
get:
tags:
- Resonance Engine
summary: Get Learning Report
description: 'Get learning effect report showing monthly feedback accumulation.
Returns monthly breakdown of voice samples by type, programmatically
generated highlights based on feedback patterns, and current Voice DNA settings.'
operationId: get_learning_report_api_resonance_learning_report_get
parameters:
- name: x-shop-id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional shop ID
title: X-Shop-Id
description: Optional shop ID
- name: authorization
in: header
required: true
schema:
type: string
description: Bearer <token>
title: Authorization
description: Bearer <token>
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/resonance/voice-dna/auto-improve:
post:
tags:
- Resonance Engine
summary: Generate Auto Improve Suggestions
description: 'Generate auto-improvement suggestions using Claude.
Analyzes negative_feedback and bad_correction samples to suggest
specific tone, expression, and content improvements in Japanese.'
operationId: generate_auto_improve_suggestions_api_resonance_voice_dna_auto_improve_post
parameters:
- name: x-shop-id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional shop ID
title: X-Shop-Id
description: Optional shop ID
- name: authorization
in: header
required: true
schema:
type: string
description: Bearer <token>
title: Authorization
description: Bearer <token>
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/resonance/voice-dna/report:
get:
tags:
- Resonance Engine
summary: Get Voice Dna Growth Report
description: 'Get Voice DNA growth report showing evolution over time.
Returns sample accumulation, feedback trends, milestones,
and current Voice DNA dimensions.'
operationId: get_voice_dna_growth_report_api_resonance_voice_dna_report_get
parameters:
- name: x-shop-id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional shop ID
title: X-Shop-Id
description: Optional shop ID
- name: authorization
in: header
required: true
schema:
type: string
description: Bearer <token>
title: Authorization
description: Bearer <token>
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/resonance/voice-dna/learned-rules:
get:
tags:
- Resonance Engine
summary: Get Learned Rules
description: 'Get Voice DNA learned rules — structured view of what soeru has learned.
Returns rules derived from Voice DNA analysis and feedback, organized by
category so the shop owner can see, modify, or delete individual rules.
If the shop is synced from another shop''s Voice DNA (voice_sync_source_id),
pulls the Voice DNA from that source shop so rules stay consistent with the
/voice-dna endpoint used by the Voice DNA settings page.'
operationId: get_learned_rules_api_resonance_voice_dna_learned_rules_get
parameters:
- name: x-shop-id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional shop ID
title: X-Shop-Id
description: Optional shop ID
- name: authorization
in: header
required: true
schema:
type: string
description: Bearer <token>
title: Authorization
description: Bearer <token>
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/resonance/voice-dna/learned-rules/{rule_id}:
patch:
tags:
- Resonance Engine
summary: Update Learned Rule
description: 'Update or delete a specific learned rule.
This modifies the Voice DNA or shop settings directly
to remove or adjust a specific learned behavior.
**Master-write model**: If this shop is synced from another shop
(voice_sync_source_id set), edits write to the source (master) shop''s
voice_dna, so the change propagates to every shop in the sync group.'
operationId: update_learned_rule_api_resonance_voice_dna_learned_rules__rule_id__patch
parameters:
- name: rule_id
in: path
required: true
schema:
type: string
title: Rule Id
- name: x-shop-id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional shop ID
title: X-Shop-Id
description: Optional shop ID
- name: authorization
in: header
required: true
schema:
type: string
description: Bearer <token>
title: Authorization
description: Bearer <token>
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateLearnedRuleRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/resonance/voice-dna/learned-rules/add-avoid:
post:
tags:
- Resonance Engine
summary: Add Avoid Expression
description: 'Manually add an expression to the avoids list.
Master-write model: if the shop is synced from another, the avoid is
added to the master shop so it propagates to the whole Voice Link group.'
operationId: add_avoid_expression_api_resonance_voice_dna_learned_rules_add_avoid_post
parameters:
- name: x-shop-id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional shop ID
title: X-Shop-Id
description: Optional shop ID
- name: authorization
in: header
required: true
schema:
type: string
description: Bearer <token>
title: Authorization
description: Bearer <token>
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateLearnedRuleRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
PatchAuthenticVoiceRequest:
properties:
is_authentic:
type: boolean
title: Is Authentic
type: object
required:
- is_authentic
title: PatchAuthenticVoiceRequest
VoiceSyncRequest:
properties:
source_shop_id:
type: string
title: Source Shop Id
type: object
required:
- source_shop_id
title: VoiceSyncRequest
description: Enable voice sync from another shop.
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
AddVoiceSampleRequest:
properties:
sample_text:
type: string
title: Sample Text
source_type:
type: string
title: Source Type
default: manual
type: object
required:
- sample_text
title: AddVoiceSampleRequest
description: Add a voice sample for Voice DNA learning.
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
AddVoiceSamplesRequest:
properties:
samples:
items:
$ref: '#/components/schemas/AddVoiceSampleRequest'
type: array
title: Samples
type: object
required:
- samples
title: AddVoiceSamplesRequest
description: Add multiple voice samples at once.
UpdateLearnedRuleRequest:
properties:
action:
type: string
title: Action
instruction:
anyOf:
- type: string
- type: 'null'
title: Instruction
type: object
required:
- action
title: UpdateLearnedRuleRequest
description: Update or delete a specific learned rule.