Create an environment
Changed onCreates an environment for the project: a noise bed and the level it plays at. Reference it by id when setting a customer flow variant's environment. Roark's curated presets always play at the default level, so this is how a project gets the same bed louder or quieter.
Request
- Base URLhttps://api.roark.ai
- URLhttps://api.roark.ai/v1/simulation/environment
- AuthHTTP bearer
Request body
Example request
{
"name": "Busy call centre",
"description": "Open-plan office at peak hours",
"backgroundNoise": "OFFICE",
"backgroundNoiseVolume": 0.3
}Response
The created environment
Changes
- warning
added the new
CONSTRUCTIONenum value to the/response property for the response status - warning
added the new
CRYING_BABYenum value to the/response property for the response status - warning
added the new
LIBRARYenum value to the/response property for the response status - warning
added the new
TRAINenum value to the/response property for the response status - info
added the new
CONSTRUCTIONenum value to the request property - info
added the new
CRYING_BABYenum value to the request property - info
added the new
LIBRARYenum value to the request property - info
added the new
TRAINenum value to the request property
- warning
- info
endpoint added
- info