Partially updates an existing simulation test case by testCaseId. Only fields provided in the request body are updated — omitted fields remain unchanged. Returns the updated test case record.
Documentation Index
Fetch the complete documentation index at: https://docs.sigmamind.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authenticate every request by passing your API key in the X-API-Key header. To get your key, go to Dashboard → API Keys and create or copy your Production API key.
Unique identifier of the test case to update. Obtained from the testCaseId field in the Create Test Case or List Test Cases response.
The unique identifier of the Agent that will respond during the chat simulation.
"D5D0p7TUs66TTAEAx"
A human-readable name or label for the test case, used to identify it in reports and dashboards.
"Angry Customer - Cancellation Flow"
The LLM model used to generate Agent responses during the simulation. To use OpenAI priority tier models, append '-fast-tier' to the model name (e.g., 'gpt-4o-mini-fast-tier').
gpt-5.2, gpt-5.2-fast-tier, gpt-5.1, gpt-5.1-fast-tier, gpt-5, gpt-5-fast-tier, gpt-5-mini, gpt-5-mini-fast-tier, gpt-5-nano, gpt-4.1, gpt-4.1-fast-tier, gpt-4.1-mini, gpt-4.1-mini-fast-tier, gpt-4.1-nano, gpt-4.1-nano-fast-tier, gpt-4o, gpt-4o-fast-tier, gpt-4o-mini, gpt-4o-mini-fast-tier, claude-haiku-4-5-20251001, claude-sonnet-4-5-20250929, claude-sonnet-4-20250514, gemini-3.1-flash-lite-preview, gemini-3-flash-preview, gemini-2.5-flash-lite, gemini-2.5-flash "gpt-4o-mini"
A list of mock variables that substitute for real external data sources during the simulation. Each entry defines a variable name and its simulated value.
[
{
"variableName": "customer_name",
"value": "John Doe"
},
{
"variableName": "account_status",
"value": "active"
}
]A prompt that defines the persona and intent of the simulated user. This drives the user-side messages throughout the conversation.
"You are an angry customer who wants to cancel their subscription."
The number of times this test case should be executed. Each run is an independent simulation. Defaults to 1.
5
A plain-language description of what a successful agent response looks like. Used to evaluate the agent's performance after each simulation run.
"The agent should acknowledge the cancellation request, present retention alternatives, and confirm the cancellation if the customer insists."
OK
The unique identifier of the test case.
"tc_d17T6uReChpyfFeP"
A human-readable name or label for the test case, used to identify it in reports and dashboards.
"Angry Customer - Cancellation Flow"
Agent assigned to handle all calls in this campaign. Contains the agent's ID, name, and current status. All contacts in the campaign's contact list will be called using this agent.
The unique identifier of the workspace under which this test case was created.
"org_V6eZ2zg8ziDx5pft"
The LLM model used to generate Agent responses during the simulation.
"gpt-4o-mini"
The list of mock variables and their simulated values that were used to substitute for real external data sources during the simulation.
[
{
"variableName": "customer_name",
"value": "John Doe"
},
{
"variableName": "account_status",
"value": "active"
}
]The prompt that defined the persona and intent of the simulated user, driving the user-side messages throughout the conversation.
"You are an angry customer who wants to cancel your subscription."
The number of times this test case was configured to run as independent simulation attempts.
5
The plain-language description of what a successful agent response looks like, used to evaluate the agent's performance after each simulation run.
"The agent should acknowledge the cancellation request, present retention alternatives, and confirm the cancellation if the customer insists."