Create a simulation case

Create a new simulation case for a workspace.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
namestringRequired
Name of the simulation case.
promptstringRequired
Prompt used during the simulation case.
typeenumRequired
Simulation case type.
Allowed values:
success_criterialist of stringsRequired
Success criteria evaluated for the case.
call_success_typeenumRequired
Success logic for the case.
Allowed values:
base_agent_idstring or nullOptional
Agent ID to base the generated case on.

Response

200
statusstring or null
Whether the request was successful.
responseobject or null

Errors