Replace the speech strategy of an agent
PATCH/v1/brains/:brain_id/speech-strategy
Permissions - speech_strategy.write. API keys - manage. Replaces the whole strategy. A step with speech_model_id must name a speech model of the account (404) for the same provider (400 speech-strategy-provider-mismatch). A step without one uses Moveo's key and needs a provider the region hosts for that kind (400 speech-strategy-not-hosted). Only the draft changes; a version returns 400 brain_version_cannot_be_modified. Export, versions, revert and copy carry the strategy. An import drops the steps whose speech model is not in the account or is for another provider.
Request
Responses
- 200
- 400
- 401
- 404
- 500
The stored speech strategy
BadRequest
Response Headers
Unique identifier for the API request, useful for debugging and tracking.
abc123xyz789Unauthorized
Response Headers
Unique identifier for the API request, useful for debugging and tracking.
abc123xyz789The specified resource was not found
Response Headers
Unique identifier for the API request, useful for debugging and tracking.
abc123xyz789Internal Server Error
Response Headers
Unique identifier for the API request, useful for debugging and tracking.
abc123xyz789