Skip to main content
PUT
/
v1
/
simulation
/
scenario-sets
/
{scenario_set_id}
Update Scenario Set
curl --request PUT \
  --url https://api.eqho.ai/v1/simulation/scenario-sets/{scenario_set_id} \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "name": "Flight Cancellation Tests",
  "description": "Collection of test scenarios for flight cancellation workflows"
}
'
{
  "_id": "<string>",
  "account_id": "<string>",
  "name": "<string>",
  "history": {
    "last_modified_at": "2023-11-07T05:31:56Z",
    "revision": 0,
    "created_at": "2023-11-07T05:31:56Z",
    "created_by": "unknown",
    "last_modified_by": "unknown"
  },
  "description": "<string>",
  "simulation_scenario_count": 0
}

Authorizations

X-API-KEY
string
header
required

Path Parameters

scenario_set_id
string
required
Required string length: 24

Body

application/json
name
string | null

Name of the scenario set

Example:

"Flight Cancellation Tests"

description
string | null

Description of the scenario set

Example:

"Collection of test scenarios for flight cancellation workflows"

Response

Successful Response

A scenario set that groups simulation scenarios together

_id
string
required
account_id
string
required

Account ID that owns this scenario set

name
string
required

Name of the scenario set

history
HistoryModel · object
required
description
string | null

Description of the scenario set

simulation_scenario_count
integer
default:0

Number of simulation scenarios in this set