Update a Scenario.
Update a Scenario, a repeatable AI coding evaluation test that defines the starting environment as well as evaluation success criteria.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The Scenario ID.
Body
Name of the scenario.
The input context for the Scenario.
The scoring contract for the Scenario.
Whether this scenario is public.
The Environment in which the Scenario will run.
User defined metadata to attach to the scenario for organization.
A string representation of the reference output to solve the scenario. Commonly can be the result of a git diff or a sequence of command actions to apply to the environment.
Response
A ScenarioView represents a repeatable AI coding evaluation test, complete with initial environment and scoring contract.
The ID of the Scenario.
The name of the Scenario.
The input context for the Scenario.
The scoring contract for the Scenario.
User defined metadata to attach to the scenario for organization.
The Environment in which the Scenario is run.
A string representation of the reference output to solve the scenario. Commonly can be the result of a git diff or a sequence of command actions to apply to the environment.
Whether this scenario is public.
Was this page helpful?