curl --request PATCH \ --url https://api.sigmamind.ai/v1/test-cases/{testCaseId} \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data '{ "agentId": "agent_D5D0p7TUs66TTAEAx", "label": "Angry Customer - Cancellation Flow", "mockData": [ { "variableName": "customer_name", "value": "John Doe" }, { "variableName": "account_status", "value": "active" } ], "mockToolData": [ "mock_dpKjqjKnY3z6gABF" ], "userPrompt": "You are an angry customer who wants to cancel their subscription.", "attempt": 5, "successCriteria": [ "Agent was able to successfully look up the order.", "Agent was able to successfully close the call." ]}'
import requests
url = "https://api.sigmamind.ai/v1/test-cases/{testCaseId}"
payload = {
"agentId": "agent_D5D0p7TUs66TTAEAx",
"label": "Angry Customer - Cancellation Flow",
"mockData": [
{
"variableName": "customer_name",
"value": "John Doe"
},
{
"variableName": "account_status",
"value": "active"
}
],
"mockToolData": ["mock_dpKjqjKnY3z6gABF"],
"userPrompt": "You are an angry customer who wants to cancel their subscription.",
"attempt": 5,
"successCriteria": ["Agent was able to successfully look up the order.", "Agent was able to successfully close the call."]
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)
const options = {
method: 'PATCH',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
agentId: 'agent_D5D0p7TUs66TTAEAx',
label: 'Angry Customer - Cancellation Flow',
mockData: [
{variableName: 'customer_name', value: 'John Doe'},
{variableName: 'account_status', value: 'active'}
],
mockToolData: ['mock_dpKjqjKnY3z6gABF'],
userPrompt: 'You are an angry customer who wants to cancel their subscription.',
attempt: 5,
successCriteria: [
'Agent was able to successfully look up the order.',
'Agent was able to successfully close the call.'
]
})
};
fetch('https://api.sigmamind.ai/v1/test-cases/{testCaseId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sigmamind.ai/v1/test-cases/{testCaseId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'agentId' => 'agent_D5D0p7TUs66TTAEAx',
'label' => 'Angry Customer - Cancellation Flow',
'mockData' => [
[
'variableName' => 'customer_name',
'value' => 'John Doe'
],
[
'variableName' => 'account_status',
'value' => 'active'
]
],
'mockToolData' => [
'mock_dpKjqjKnY3z6gABF'
],
'userPrompt' => 'You are an angry customer who wants to cancel their subscription.',
'attempt' => 5,
'successCriteria' => [
'Agent was able to successfully look up the order.',
'Agent was able to successfully close the call.'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.sigmamind.ai/v1/test-cases/{testCaseId}"
payload := strings.NewReader("{\n \"agentId\": \"agent_D5D0p7TUs66TTAEAx\",\n \"label\": \"Angry Customer - Cancellation Flow\",\n \"mockData\": [\n {\n \"variableName\": \"customer_name\",\n \"value\": \"John Doe\"\n },\n {\n \"variableName\": \"account_status\",\n \"value\": \"active\"\n }\n ],\n \"mockToolData\": [\n \"mock_dpKjqjKnY3z6gABF\"\n ],\n \"userPrompt\": \"You are an angry customer who wants to cancel their subscription.\",\n \"attempt\": 5,\n \"successCriteria\": [\n \"Agent was able to successfully look up the order.\",\n \"Agent was able to successfully close the call.\"\n ]\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}
HttpResponse<String> response = Unirest.patch("https://api.sigmamind.ai/v1/test-cases/{testCaseId}")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"agentId\": \"agent_D5D0p7TUs66TTAEAx\",\n \"label\": \"Angry Customer - Cancellation Flow\",\n \"mockData\": [\n {\n \"variableName\": \"customer_name\",\n \"value\": \"John Doe\"\n },\n {\n \"variableName\": \"account_status\",\n \"value\": \"active\"\n }\n ],\n \"mockToolData\": [\n \"mock_dpKjqjKnY3z6gABF\"\n ],\n \"userPrompt\": \"You are an angry customer who wants to cancel their subscription.\",\n \"attempt\": 5,\n \"successCriteria\": [\n \"Agent was able to successfully look up the order.\",\n \"Agent was able to successfully close the call.\"\n ]\n}")
.asString();
require 'uri'
require 'net/http'
url = URI("https://api.sigmamind.ai/v1/test-cases/{testCaseId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"agentId\": \"agent_D5D0p7TUs66TTAEAx\",\n \"label\": \"Angry Customer - Cancellation Flow\",\n \"mockData\": [\n {\n \"variableName\": \"customer_name\",\n \"value\": \"John Doe\"\n },\n {\n \"variableName\": \"account_status\",\n \"value\": \"active\"\n }\n ],\n \"mockToolData\": [\n \"mock_dpKjqjKnY3z6gABF\"\n ],\n \"userPrompt\": \"You are an angry customer who wants to cancel their subscription.\",\n \"attempt\": 5,\n \"successCriteria\": [\n \"Agent was able to successfully look up the order.\",\n \"Agent was able to successfully close the call.\"\n ]\n}"
response = http.request(request)
puts response.read_body
{ "testCaseId": "tc_d17T6uReChpyfFeP", "label": "Angry Customer - Cancellation Flow", "agent": { "name": "New AI Agent", "agentId": "agent_D5D0p7TUs66TTAEAx", "status": "Live" }, "workspaceId": "org_V6eZ2zg8ziDx5pft", "llmModel": "gpt-5.6-luna", "mockData": [ { "variableName": "customer_name", "value": "John Doe" }, { "variableName": "account_status", "value": "active" } ], "mockToolData": [ { "toolAlias": "get_order", "mockToolDataId": "mock_dpKjqjKnY3z6gABF", "name": "Success - Empty List", "statusCode": 200 } ], "userPrompt": "You are an angry customer who wants to cancel your subscription.", "attempt": 5, "successCriteria": [ "Agent was able to successfully look up the order.", "Agent was able to successfully close the call." ]}
{
"error": "Unauthorized",
"message": "X-API-Key is missing or invalid",
"path": "/v1/test-cases",
"status": 401,
"timestamp": "2026-11-06T02:42:44.844Z"
}
{
"error": "Forbidden",
"message": "Access denied for this resource",
"path": "/v1/test-cases",
"status": 403,
"timestamp": "2026-11-06T02:42:44.844Z"
}
{
"error": "Not Found",
"message": "The requested resource was not found",
"path": "/v1/test-cases",
"status": 404,
"timestamp": "2026-11-06T02:42:44.844Z"
}
{
"error": "Internal Server Error",
"message": "Unexpected server error",
"path": "/v1/test-cases",
"status": 500,
"timestamp": "2026-11-06T02:42:44.844Z"
}
Test Cases
Update Test Case
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.
PATCH
/
v1
/
test-cases
/
{testCaseId}
Update Test Case
curl --request PATCH \ --url https://api.sigmamind.ai/v1/test-cases/{testCaseId} \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data '{ "agentId": "agent_D5D0p7TUs66TTAEAx", "label": "Angry Customer - Cancellation Flow", "mockData": [ { "variableName": "customer_name", "value": "John Doe" }, { "variableName": "account_status", "value": "active" } ], "mockToolData": [ "mock_dpKjqjKnY3z6gABF" ], "userPrompt": "You are an angry customer who wants to cancel their subscription.", "attempt": 5, "successCriteria": [ "Agent was able to successfully look up the order.", "Agent was able to successfully close the call." ]}'
import requests
url = "https://api.sigmamind.ai/v1/test-cases/{testCaseId}"
payload = {
"agentId": "agent_D5D0p7TUs66TTAEAx",
"label": "Angry Customer - Cancellation Flow",
"mockData": [
{
"variableName": "customer_name",
"value": "John Doe"
},
{
"variableName": "account_status",
"value": "active"
}
],
"mockToolData": ["mock_dpKjqjKnY3z6gABF"],
"userPrompt": "You are an angry customer who wants to cancel their subscription.",
"attempt": 5,
"successCriteria": ["Agent was able to successfully look up the order.", "Agent was able to successfully close the call."]
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)
const options = {
method: 'PATCH',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
agentId: 'agent_D5D0p7TUs66TTAEAx',
label: 'Angry Customer - Cancellation Flow',
mockData: [
{variableName: 'customer_name', value: 'John Doe'},
{variableName: 'account_status', value: 'active'}
],
mockToolData: ['mock_dpKjqjKnY3z6gABF'],
userPrompt: 'You are an angry customer who wants to cancel their subscription.',
attempt: 5,
successCriteria: [
'Agent was able to successfully look up the order.',
'Agent was able to successfully close the call.'
]
})
};
fetch('https://api.sigmamind.ai/v1/test-cases/{testCaseId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sigmamind.ai/v1/test-cases/{testCaseId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'agentId' => 'agent_D5D0p7TUs66TTAEAx',
'label' => 'Angry Customer - Cancellation Flow',
'mockData' => [
[
'variableName' => 'customer_name',
'value' => 'John Doe'
],
[
'variableName' => 'account_status',
'value' => 'active'
]
],
'mockToolData' => [
'mock_dpKjqjKnY3z6gABF'
],
'userPrompt' => 'You are an angry customer who wants to cancel their subscription.',
'attempt' => 5,
'successCriteria' => [
'Agent was able to successfully look up the order.',
'Agent was able to successfully close the call.'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.sigmamind.ai/v1/test-cases/{testCaseId}"
payload := strings.NewReader("{\n \"agentId\": \"agent_D5D0p7TUs66TTAEAx\",\n \"label\": \"Angry Customer - Cancellation Flow\",\n \"mockData\": [\n {\n \"variableName\": \"customer_name\",\n \"value\": \"John Doe\"\n },\n {\n \"variableName\": \"account_status\",\n \"value\": \"active\"\n }\n ],\n \"mockToolData\": [\n \"mock_dpKjqjKnY3z6gABF\"\n ],\n \"userPrompt\": \"You are an angry customer who wants to cancel their subscription.\",\n \"attempt\": 5,\n \"successCriteria\": [\n \"Agent was able to successfully look up the order.\",\n \"Agent was able to successfully close the call.\"\n ]\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}
HttpResponse<String> response = Unirest.patch("https://api.sigmamind.ai/v1/test-cases/{testCaseId}")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"agentId\": \"agent_D5D0p7TUs66TTAEAx\",\n \"label\": \"Angry Customer - Cancellation Flow\",\n \"mockData\": [\n {\n \"variableName\": \"customer_name\",\n \"value\": \"John Doe\"\n },\n {\n \"variableName\": \"account_status\",\n \"value\": \"active\"\n }\n ],\n \"mockToolData\": [\n \"mock_dpKjqjKnY3z6gABF\"\n ],\n \"userPrompt\": \"You are an angry customer who wants to cancel their subscription.\",\n \"attempt\": 5,\n \"successCriteria\": [\n \"Agent was able to successfully look up the order.\",\n \"Agent was able to successfully close the call.\"\n ]\n}")
.asString();
require 'uri'
require 'net/http'
url = URI("https://api.sigmamind.ai/v1/test-cases/{testCaseId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"agentId\": \"agent_D5D0p7TUs66TTAEAx\",\n \"label\": \"Angry Customer - Cancellation Flow\",\n \"mockData\": [\n {\n \"variableName\": \"customer_name\",\n \"value\": \"John Doe\"\n },\n {\n \"variableName\": \"account_status\",\n \"value\": \"active\"\n }\n ],\n \"mockToolData\": [\n \"mock_dpKjqjKnY3z6gABF\"\n ],\n \"userPrompt\": \"You are an angry customer who wants to cancel their subscription.\",\n \"attempt\": 5,\n \"successCriteria\": [\n \"Agent was able to successfully look up the order.\",\n \"Agent was able to successfully close the call.\"\n ]\n}"
response = http.request(request)
puts response.read_body
{ "testCaseId": "tc_d17T6uReChpyfFeP", "label": "Angry Customer - Cancellation Flow", "agent": { "name": "New AI Agent", "agentId": "agent_D5D0p7TUs66TTAEAx", "status": "Live" }, "workspaceId": "org_V6eZ2zg8ziDx5pft", "llmModel": "gpt-5.6-luna", "mockData": [ { "variableName": "customer_name", "value": "John Doe" }, { "variableName": "account_status", "value": "active" } ], "mockToolData": [ { "toolAlias": "get_order", "mockToolDataId": "mock_dpKjqjKnY3z6gABF", "name": "Success - Empty List", "statusCode": 200 } ], "userPrompt": "You are an angry customer who wants to cancel your subscription.", "attempt": 5, "successCriteria": [ "Agent was able to successfully look up the order.", "Agent was able to successfully close the call." ]}
{
"error": "Unauthorized",
"message": "X-API-Key is missing or invalid",
"path": "/v1/test-cases",
"status": 401,
"timestamp": "2026-11-06T02:42:44.844Z"
}
{
"error": "Forbidden",
"message": "Access denied for this resource",
"path": "/v1/test-cases",
"status": 403,
"timestamp": "2026-11-06T02:42:44.844Z"
}
{
"error": "Not Found",
"message": "The requested resource was not found",
"path": "/v1/test-cases",
"status": 404,
"timestamp": "2026-11-06T02:42:44.844Z"
}
{
"error": "Internal Server Error",
"message": "Unexpected server error",
"path": "/v1/test-cases",
"status": 500,
"timestamp": "2026-11-06T02:42:44.844Z"
}
Authorizations
X-API-Key
string
header
required
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.
Path Parameters
testCaseId
string
required
Unique identifier of the test case to update. Obtained from the testCaseId field in the Create Test Case or List Test Cases response.
Body
application/json
agentId
string
required
The unique identifier of the Agent that will respond during the chat simulation.
Example:
"agent_D5D0p7TUs66TTAEAx"
label
string
A human-readable name or label for the test case, used to identify it in reports and dashboards.
Example:
"Angry Customer - Cancellation Flow"
mockData
object[]
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.
A list of identifiers of mock tool data to bind to this test case. Each entry is a mockToolDataId.
Example:
["mock_dpKjqjKnY3z6gABF"]
userPrompt
string
A prompt that defines the persona and intent of the simulated user. This drives the user-side messages throughout the conversation.
Example:
"You are an angry customer who wants to cancel their subscription."
attempt
integer<int64>
The number of times this test case should be executed. Each run is an independent simulation. Defaults to 1.
Example:
5
successCriteria
string[]
Ordered goals for this simulation. Each item is evaluated on its own. A single string is accepted and stored as a one-item list. Omit to leave the current goals unchanged.
Example:
[ "Agent was able to successfully look up the order.", "Agent was able to successfully close the call." ]
Response
OK
testCaseId
string
The unique identifier of the test case.
Example:
"tc_d17T6uReChpyfFeP"
label
string
A human-readable name or label for the test case, used to identify it in reports and dashboards.
Example:
"Angry Customer - Cancellation Flow"
agent
object
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.
Show child attributes
workspaceId
string
The unique identifier of the workspace under which this test case was created.
Example:
"org_V6eZ2zg8ziDx5pft"
llmModel
string
The LLM model used to generate Agent responses during the simulation.
Example:
"gpt-5.6-luna"
mockData
object[]
The list of mock variables and their simulated values that were used to substitute for real external data sources during the simulation.
The prompt that defined the persona and intent of the simulated user, driving the user-side messages throughout the conversation.
Example:
"You are an angry customer who wants to cancel your subscription."
attempt
integer<int64>
The number of times this test case was configured to run as independent simulation attempts.
Example:
5
successCriteria
string[]
Ordered goals used to evaluate the agent after each simulation run.
Example:
[ "Agent was able to successfully look up the order.", "Agent was able to successfully close the call." ]
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"SigmaMind AI","description":"Developer docs for SigmaMind AI. Build, test, and deploy AI agents that handle voice, chat, and email conversations for your contact center.","colors":{"primary":"#0F172A","light":"#F8FAFC","dark":"#1E293B"},"logo":{"light":"https://mintcdn.com/sigmamindai/vxjJeTe45csRRZLq/logo/light.svg?fit=max\u0026auto=format\u0026n=vxjJeTe45csRRZLq\u0026q=85\u0026s=bc51a1190d0d56521defbdc28b2a0798","dark":"https://mintcdn.com/sigmamindai/vxjJeTe45csRRZLq/logo/dark.svg?fit=max\u0026auto=format\u0026n=vxjJeTe45csRRZLq\u0026q=85\u0026s=37e6d9d7f667ee3761cc76b9ed758f6a","href":"https://www.sigmamind.ai"},"favicon":"https://mintcdn.com/sigmamindai/x8_xeWMetIJrwgEQ/favicon.svg?fit=max\u0026auto=format\u0026n=x8_xeWMetIJrwgEQ\u0026q=85\u0026s=dce3fc7f05848ac97179954ea0aac7a7","navbar":{"links":[{"href":"mailto:help@sigmamind.ai","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.sigmamind.ai/auth/login"}},"footer":{"socials":{"x":"https://x.com/sigmamind_ai","linkedin":"https://www.linkedin.com/company/sigmamind-ai","website":"https://www.sigmamind.ai","youtube":"https://www.youtube.com/@SigmaMindAI"}},"seo":{"indexing":"all"},"integrations":{"ga4":{"measurementId":"G-FS7QYGTFP5"},"gtm":{"tagId":"GTM-NN56PC2H"}},"errors":{"404":{"redirect":true}},"contextual":{"options":["copy","view","assistant","chatgpt","claude","mcp","cursor","vscode"],"display":"header"},"variables":{"BASE_URL":"https://api.sigmamind.ai"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Documentation","icon":"book-open-cover","href":"https://docs.sigmamind.ai"},{"anchor":"Discord Community","icon":"discord","href":"https://www.discord.com/invite/jSWGcw5Wyx"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"sigmamindai","hasAudioNarration":false,"actualSubdomain":"sigmamindai","customDomains":["docs.sigmamind.ai"],"gitSource":{"type":"github","owner":"sigmamind-ai","repo":"docs","deployBranch":"dev-master","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6af44020e61bbc4648b97b1d","clientVersion":"0.0.4347","searchFilterCounts":[{"language":"default","tag":"Documentation","count":94},{"language":"default","tag":"API Reference","count":77},{"language":"default","tag":"Build","count":37},{"language":"default","tag":"Deploy","count":14},{"language":"default","tag":"How to build conversational flow agents","count":12},{"language":"default","tag":"Tool Integrations","count":11},{"language":"default","tag":"How to build single prompt agents","count":8},{"language":"default","tag":"Add Basic Nodes","count":7},{"language":"default","tag":"How to Add tool","count":6},{"language":"default","tag":"CCAAS Integrations","count":6}]},"assistantConfig":{"enableStarterQuestions":true,"deflection":{"enabled":true,"email":"support@sigmamind.ai","showHelpButton":true}},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[{"_id":"695fb83bba37df35a996e0a8","deploymentId":"682c3c0be2b0b5676d6f71d1","questionText":"How do I connect my app with a voice AI agent?","status":"active","generatedBy":"manual","createdAt":"2026-01-08T13:59:23.075Z","updatedAt":"2026-01-08T13:59:23.075Z","__v":0},{"_id":"695fb809ba37df35a996deb4","deploymentId":"682c3c0be2b0b5676d6f71d1","questionText":"How can I add a voice agent to my app or website?","status":"active","generatedBy":"manual","createdAt":"2026-01-08T13:58:33.153Z","updatedAt":"2026-01-08T13:58:33.153Z","__v":0},{"_id":"695fb7adba37df35a996da58","deploymentId":"682c3c0be2b0b5676d6f71d1","questionText":"How do I set up a voice AI agent?","status":"active","generatedBy":"manual","createdAt":"2026-01-08T13:57:01.201Z","updatedAt":"2026-01-08T13:57:01.201Z","__v":0}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/test-cases/update-test-case","slug":"/api-reference/test-cases/update-test-case","pageMetadata":{"openapi":"patch /v1/test-cases/{testCaseId}","title":"Update Test Case","description":"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.","href":"/api-reference/test-cases/update-test-case"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"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.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"patch /v1/test-cases/{testCaseId}","title":"Update Test Case","description":"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.","href":"/api-reference/test-cases/update-test-case"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Test Cases"],"summary":"Update Test Case","description":"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.","operationId":"patchUpdateTestCase","parameters":["fdbea7a7-d2fc-4b7a-891f-83392c4632f4"],"requestBody":"14547129-f59a-4b3a-aa21-e7083cefbbe0","responses":{"200":"a50585dc-06dd-4eb3-9985-ab66136d148b","400":"6abfaf64-196e-4dad-a04d-dd2d4bd9afcd","401":"3f6ca74d-bfc3-47ac-84ac-8f0c53a99450","403":"be9ff198-5e16-4b66-8114-faeda1043b9e","404":"6169e49d-f29d-492d-8d76-02659c4f56bb","500":"ead57030-ea23-4f59-a998-c900d484c057"},"method":"patch","type":"path","servers":["8e559e02-781a-40b4-9c1f-0150c00e3590"],"security":["942fdac5-677d-45bf-9a32-66b9441b7597"],"path":"/v1/test-cases/{testCaseId}","baseUrlOptions":["https://api.sigmamind.ai"],"title":"Update Test Case","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"fdbea7a7-d2fc-4b7a-891f-83392c4632f4":{"name":"testCaseId","in":"path","description":"Unique identifier of the test case to update. Obtained from the testCaseId field in the Create Test Case or List Test Cases response.","required":true,"schema":{"type":"string","isRequired":true,"description":"Unique identifier of the test case to update. Obtained from the testCaseId field in the Create Test Case or List Test Cases response.","uniqueKey":"","typeLabel":"string"},"example":"tc_HaDxmGfwb8MZLlKM"}},"requestBody":{"content":{"application/json":{"schema":{"required":["agentId"],"type":"object","properties":{"agentId":{"type":"string","description":"The unique identifier of the Agent that will respond during the chat simulation.","example":"agent_D5D0p7TUs66TTAEAx","isRequired":true,"uniqueKey":"agentId","typeLabel":"string"},"label":{"type":"string","description":"A human-readable name or label for the test case, used to identify it in reports and dashboards.","example":"Angry Customer - Cancellation Flow","uniqueKey":"label","typeLabel":"string"},"mockData":{"type":"array","description":"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.","example":[{"variableName":"customer_name","value":"John Doe"},{"variableName":"account_status","value":"active"}],"items":{"type":"object","properties":{"variableName":{"type":"string","description":"The name of the variable to be substituted with mock data during the simulation. Must match the variable name defined in the Agent's configuration.","example":"user_name","uniqueKey":"mockData.items.[INDEX].variableName","typeLabel":"string"},"value":{"type":"string","description":"The simulated value assigned to the variable for the duration of the test run.","example":"John Doe","uniqueKey":"mockData.items.[INDEX].value","typeLabel":"string"}},"description":"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.","example":[{"variableName":"customer_name","value":"John Doe"},{"variableName":"account_status","value":"active"}],"uniqueKey":"mockData.items.[INDEX]","typeLabel":"object"},"uniqueKey":"mockData","typeLabel":"object[]"},"mockToolData":{"type":"array","description":"A list of identifiers of mock tool data to bind to this test case. Each entry is a mockToolDataId.","example":["mock_dpKjqjKnY3z6gABF"],"items":{"type":"string","example":"[\"mock_dpKjqjKnY3z6gABF\"]","uniqueKey":"mockToolData.items.[INDEX]","typeLabel":"string"},"uniqueKey":"mockToolData","typeLabel":"string[]"},"userPrompt":{"type":"string","description":"A prompt that defines the persona and intent of the simulated user. This drives the user-side messages throughout the conversation.","example":"You are an angry customer who wants to cancel their subscription.","uniqueKey":"userPrompt","typeLabel":"string"},"attempt":{"type":"integer","description":"The number of times this test case should be executed. Each run is an independent simulation. Defaults to 1.","format":"int64","example":5,"uniqueKey":"attempt","typeLabel":"integer\u003cint64>"},"successCriteria":{"type":"array","description":"Ordered goals for this simulation. Each item is evaluated on its own. A single string is accepted and stored as a one-item list. Omit to leave the current goals unchanged.","example":["Agent was able to successfully look up the order.","Agent was able to successfully close the call."],"items":{"type":"string","example":"[\"Agent was able to successfully look up the order.\",\"Agent was able to successfully close the call.\"]","uniqueKey":"successCriteria.items.[INDEX]","typeLabel":"string"},"uniqueKey":"successCriteria","typeLabel":"string[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"agentId":"agent_D5D0p7TUs66TTAEAx","label":"Angry Customer - Cancellation Flow","mockData":[{"variableName":"customer_name","value":"John Doe"},{"variableName":"account_status","value":"active"}],"mockToolData":["mock_dpKjqjKnY3z6gABF"],"userPrompt":"You are an angry customer who wants to cancel their subscription.","attempt":5,"successCriteria":["Agent was able to successfully look up the order.","Agent was able to successfully close the call."]}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"a50585dc-06dd-4eb3-9985-ab66136d148b":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"testCaseId":{"type":"string","description":"The unique identifier of the test case.","example":"tc_d17T6uReChpyfFeP","uniqueKey":"testCaseId","typeLabel":"string"},"label":{"type":"string","description":"A human-readable name or label for the test case, used to identify it in reports and dashboards.","example":"Angry Customer - Cancellation Flow","uniqueKey":"label","typeLabel":"string"},"agent":{"type":"object","properties":{"name":{"type":"string","description":"The display name of the assigned agent.","example":"New AI Agent","uniqueKey":"agent.name","typeLabel":"string"},"agentId":{"type":"string","description":"The unique identifier of the agent within the system.","example":"agent_D5D0p7TUs66TTAEAx","uniqueKey":"agent.agentId","typeLabel":"string"},"status":{"type":"string","description":"The current operational status of the agent.","example":"Live","enum":["Live","Testing","Disabled"],"uniqueKey":"agent.status","typeLabel":"enum\u003cstring>"}},"description":"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.","uniqueKey":"agent","typeLabel":"object"},"workspaceId":{"type":"string","description":"The unique identifier of the workspace under which this test case was created.","example":"org_V6eZ2zg8ziDx5pft","uniqueKey":"workspaceId","typeLabel":"string"},"llmModel":{"type":"string","description":"The LLM model used to generate Agent responses during the simulation.","example":"gpt-5.6-luna","uniqueKey":"llmModel","typeLabel":"string"},"mockData":{"type":"array","description":"The list of mock variables and their simulated values that were used to substitute for real external data sources during the simulation.","example":[{"variableName":"customer_name","value":"John Doe"},{"variableName":"account_status","value":"active"}],"items":{"type":"object","properties":{"variableName":{"type":"string","description":"The name of the variable that was substituted with mock data during the simulation.","example":"user_name","uniqueKey":"mockData.items.[INDEX].variableName","typeLabel":"string"},"value":{"type":"string","description":"The simulated value that was assigned to the variable for the duration of the test run.","example":"John Doe","uniqueKey":"mockData.items.[INDEX].value","typeLabel":"string"}},"description":"The list of mock variables and their simulated values that were used to substitute for real external data sources during the simulation.","example":[{"variableName":"customer_name","value":"John Doe"},{"variableName":"account_status","value":"active"}],"uniqueKey":"mockData.items.[INDEX]","typeLabel":"object"},"uniqueKey":"mockData","typeLabel":"object[]"},"mockToolData":{"type":"array","description":"Bindings from agent tool aliases to mock tool responses. May include resolved mock name and statusCode for the UI.","example":[{"toolAlias":"get_order","mockToolDataId":"mock_dpKjqjKnY3z6gABF","name":"Success - Empty List","statusCode":200}],"items":{"required":["mockToolDataId","toolAlias"],"type":"object","properties":{"toolAlias":{"type":"string","description":"Tool alias on the agent that this mock should satisfy during simulation.","example":"get_order","isRequired":true,"uniqueKey":"mockToolData.items.[INDEX].toolAlias","typeLabel":"string"},"mockToolDataId":{"type":"string","description":"Public identifier of the mock tool data library record.","example":"mock_dpKjqjKnY3z6gABF","isRequired":true,"uniqueKey":"mockToolData.items.[INDEX].mockToolDataId","typeLabel":"string"},"name":{"type":"string","description":"Display name of the linked mock (resolved on read for the UI).","example":"Success - Empty List","uniqueKey":"mockToolData.items.[INDEX].name","typeLabel":"string"},"statusCode":{"type":"integer","description":"HTTP status code of the linked mock (resolved on read for the UI).","format":"int32","example":200,"uniqueKey":"mockToolData.items.[INDEX].statusCode","typeLabel":"integer\u003cint32>"}},"description":"Bindings from agent tool aliases to mock tool responses. May include resolved mock name and statusCode for the UI.","example":[{"toolAlias":"get_order","mockToolDataId":"mock_dpKjqjKnY3z6gABF","name":"Success - Empty List","statusCode":200}],"uniqueKey":"mockToolData.items.[INDEX]","typeLabel":"object"},"uniqueKey":"mockToolData","typeLabel":"object[]"},"userPrompt":{"type":"string","description":"The prompt that defined the persona and intent of the simulated user, driving the user-side messages throughout the conversation.","example":"You are an angry customer who wants to cancel your subscription.","uniqueKey":"userPrompt","typeLabel":"string"},"attempt":{"type":"integer","description":"The number of times this test case was configured to run as independent simulation attempts.","format":"int64","example":5,"uniqueKey":"attempt","typeLabel":"integer\u003cint64>"},"successCriteria":{"type":"array","description":"Ordered goals used to evaluate the agent after each simulation run.","example":["Agent was able to successfully look up the order.","Agent was able to successfully close the call."],"items":{"type":"string","example":"[\"Agent was able to successfully look up the order.\",\"Agent was able to successfully close the call.\"]","uniqueKey":"successCriteria.items.[INDEX]","typeLabel":"string"},"uniqueKey":"successCriteria","typeLabel":"string[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"testCaseId":"tc_d17T6uReChpyfFeP","label":"Angry Customer - Cancellation Flow","agent":{"name":"New AI Agent","agentId":"agent_D5D0p7TUs66TTAEAx","status":"Live"},"workspaceId":"org_V6eZ2zg8ziDx5pft","llmModel":"gpt-5.6-luna","mockData":[{"variableName":"customer_name","value":"John Doe"},{"variableName":"account_status","value":"active"}],"mockToolData":[{"toolAlias":"get_order","mockToolDataId":"mock_dpKjqjKnY3z6gABF","name":"Success - Empty List","statusCode":200}],"userPrompt":"You are an angry customer who wants to cancel your subscription.","attempt":5,"successCriteria":["Agent was able to successfully look up the order.","Agent was able to successfully close the call."]}}},"exampleType":"generated"}},"exampleType":"generated"},"6abfaf64-196e-4dad-a04d-dd2d4bd9afcd":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"timestamp":{"type":"string","description":"Error timestamp in ISO format","format":"date-time","uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"},"status":{"type":"integer","description":"HTTP status code","example":400,"uniqueKey":"status","typeLabel":"integer"},"error":{"type":"string","description":"Error type or HTTP status message","example":"Bad Request","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","description":"Detailed error message","example":"Email is required","uniqueKey":"message","typeLabel":"string"},"path":{"type":"string","description":"Request path where error occurred","example":"/v1/users","uniqueKey":"path","typeLabel":"string"},"validationErrors":{"type":"object","description":"Field validation errors (if any)","example":"{\n \"email\": \"Email is required\",\n \"name\": \"Name is too short\"\n}","uniqueKey":"validationErrors","typeLabel":"object"}},"description":"Standard error response","uniqueKey":"","typeLabel":"object"},"examples":{"default":{"title":"default","value":{"error":"Bad Request","message":"Invalid request parameters","path":"/v1/test-cases","status":400,"timestamp":"2026-11-06T02:42:44.844Z"}}},"exampleType":"examples"}},"exampleType":"examples"},"3f6ca74d-bfc3-47ac-84ac-8f0c53a99450":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"timestamp":{"type":"string","description":"Error timestamp in ISO format","format":"date-time","uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"},"status":{"type":"integer","description":"HTTP status code","example":400,"uniqueKey":"status","typeLabel":"integer"},"error":{"type":"string","description":"Error type or HTTP status message","example":"Bad Request","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","description":"Detailed error message","example":"Email is required","uniqueKey":"message","typeLabel":"string"},"path":{"type":"string","description":"Request path where error occurred","example":"/v1/users","uniqueKey":"path","typeLabel":"string"},"validationErrors":{"type":"object","description":"Field validation errors (if any)","example":"{\n \"email\": \"Email is required\",\n \"name\": \"Name is too short\"\n}","uniqueKey":"validationErrors","typeLabel":"object"}},"description":"Standard error response","uniqueKey":"","typeLabel":"object"},"examples":{"default":{"title":"default","value":{"error":"Unauthorized","message":"X-API-Key is missing or invalid","path":"/v1/test-cases","status":401,"timestamp":"2026-11-06T02:42:44.844Z"}}},"exampleType":"examples"}},"exampleType":"examples"},"be9ff198-5e16-4b66-8114-faeda1043b9e":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"timestamp":{"type":"string","description":"Error timestamp in ISO format","format":"date-time","uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"},"status":{"type":"integer","description":"HTTP status code","example":400,"uniqueKey":"status","typeLabel":"integer"},"error":{"type":"string","description":"Error type or HTTP status message","example":"Bad Request","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","description":"Detailed error message","example":"Email is required","uniqueKey":"message","typeLabel":"string"},"path":{"type":"string","description":"Request path where error occurred","example":"/v1/users","uniqueKey":"path","typeLabel":"string"},"validationErrors":{"type":"object","description":"Field validation errors (if any)","example":"{\n \"email\": \"Email is required\",\n \"name\": \"Name is too short\"\n}","uniqueKey":"validationErrors","typeLabel":"object"}},"description":"Standard error response","uniqueKey":"","typeLabel":"object"},"examples":{"default":{"title":"default","value":{"error":"Forbidden","message":"Access denied for this resource","path":"/v1/test-cases","status":403,"timestamp":"2026-11-06T02:42:44.844Z"}}},"exampleType":"examples"}},"exampleType":"examples"},"6169e49d-f29d-492d-8d76-02659c4f56bb":{"description":"Not Found","content":{"application/json":{"schema":{"type":"object","properties":{"timestamp":{"type":"string","description":"Error timestamp in ISO format","format":"date-time","uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"},"status":{"type":"integer","description":"HTTP status code","example":400,"uniqueKey":"status","typeLabel":"integer"},"error":{"type":"string","description":"Error type or HTTP status message","example":"Bad Request","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","description":"Detailed error message","example":"Email is required","uniqueKey":"message","typeLabel":"string"},"path":{"type":"string","description":"Request path where error occurred","example":"/v1/users","uniqueKey":"path","typeLabel":"string"},"validationErrors":{"type":"object","description":"Field validation errors (if any)","example":"{\n \"email\": \"Email is required\",\n \"name\": \"Name is too short\"\n}","uniqueKey":"validationErrors","typeLabel":"object"}},"description":"Standard error response","uniqueKey":"","typeLabel":"object"},"examples":{"default":{"title":"default","value":{"error":"Not Found","message":"The requested resource was not found","path":"/v1/test-cases","status":404,"timestamp":"2026-11-06T02:42:44.844Z"}}},"exampleType":"examples"}},"exampleType":"examples"},"ead57030-ea23-4f59-a998-c900d484c057":{"description":"Internal Server Error","content":{"application/json":{"schema":{"type":"object","properties":{"timestamp":{"type":"string","description":"Error timestamp in ISO format","format":"date-time","uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"},"status":{"type":"integer","description":"HTTP status code","example":400,"uniqueKey":"status","typeLabel":"integer"},"error":{"type":"string","description":"Error type or HTTP status message","example":"Bad Request","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","description":"Detailed error message","example":"Email is required","uniqueKey":"message","typeLabel":"string"},"path":{"type":"string","description":"Request path where error occurred","example":"/v1/users","uniqueKey":"path","typeLabel":"string"},"validationErrors":{"type":"object","description":"Field validation errors (if any)","example":"{\n \"email\": \"Email is required\",\n \"name\": \"Name is too short\"\n}","uniqueKey":"validationErrors","typeLabel":"object"}},"description":"Standard error response","uniqueKey":"","typeLabel":"object"},"examples":{"default":{"title":"default","value":{"error":"Internal Server Error","message":"Unexpected server error","path":"/v1/test-cases","status":500,"timestamp":"2026-11-06T02:42:44.844Z"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"942fdac5-677d-45bf-9a32-66b9441b7597":{"apiKeyAuth":{"type":"apiKey","description":"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.","name":"X-API-Key","in":"header","scopes":[],"schemeName":"apiKeyAuth"}}},"servers":{"8e559e02-781a-40b4-9c1f-0150c00e3590":{"url":"https://api.sigmamind.ai","description":"SigmaMind AI Agent Builder APIs"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","description":"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.","name":"X-API-Key","in":"header","scopes":[],"schemeName":"apiKeyAuth"},"schema":{"title":"X-API-Key","type":"string","description":"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.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKeyAuth","name":"X-API-Key"}],"title":"apiKeyAuth"}]},"originalFileLocation":"api-docs.yaml"},"subdomain":"sigmamindai","siteName":"SigmaMind AI","title":"Update Test Case - SigmaMind AI","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-05-06T15:50:10.787Z","originalFileLocation":"api-reference/test-cases/update-test-case.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"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.\">\u003cmeta data-mint-head name=\"application-name\" content=\"SigmaMind AI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sigmamindai/QkCWUi6da-GSENjq/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/sigmamindai/QkCWUi6da-GSENjq/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sigmamindai/QkCWUi6da-GSENjq/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/sigmamindai/QkCWUi6da-GSENjq/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/sigmamindai/QkCWUi6da-GSENjq/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sigmamindai/QkCWUi6da-GSENjq/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sigmamindai/QkCWUi6da-GSENjq/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/sigmamindai/QkCWUi6da-GSENjq/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/sigmamindai/QkCWUi6da-GSENjq/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update Test Case - SigmaMind AI\">\u003cmeta data-mint-head property=\"og:description\" content=\"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.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"SigmaMind AI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.sigmamind.ai/api-reference/test-cases/update-test-case\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://sigmamindai.mintlify.site/_mintlify/api/og/v2?division=Test+Cases\u0026amp;title=Update+Test+Case\u0026amp;description=Partially+updates+an+existing+simulation+test+case+by+testCaseId.+Only+fields+provided+in+the+request+body+are+updated+%E2%80%94+omitted+fields+remain+unchanged.+Return\u0026amp;theme=fef818be99f9332d6af1a382\u0026amp;signature=6c6b9b0526f3673511ebbadcd2c40079d198d222d62bcd822d330def70ec47b8\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Update Test Case - SigmaMind AI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"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.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sigmamindai.mintlify.site/_mintlify/api/og/v2?division=Test+Cases\u0026amp;title=Update+Test+Case\u0026amp;description=Partially+updates+an+existing+simulation+test+case+by+testCaseId.+Only+fields+provided+in+the+request+body+are+updated+%E2%80%94+omitted+fields+remain+unchanged.+Return\u0026amp;theme=fef818be99f9332d6af1a382\u0026amp;signature=6c6b9b0526f3673511ebbadcd2c40079d198d222d62bcd822d330def70ec47b8\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/sigmamindai/QkCWUi6da-GSENjq/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"SigmaMind AI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0F172A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.sigmamind.ai/api-reference/test-cases/update-test-case\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/test-cases/update-test-case.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.sigmamind.ai/#organization\",\"name\":\"SigmaMind AI\",\"url\":\"https://docs.sigmamind.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/sigmamindai/vxjJeTe45csRRZLq/logo/light.svg?fit=max\u0026auto=format\u0026n=vxjJeTe45csRRZLq\u0026q=85\u0026s=bc51a1190d0d56521defbdc28b2a0798\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.sigmamind.ai#website\",\"name\":\"SigmaMind AI\",\"url\":\"https://docs.sigmamind.ai\",\"publisher\":{\"@id\":\"https://docs.sigmamind.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.sigmamind.ai/api-reference/test-cases/update-test-case#webpage\",\"url\":\"https://docs.sigmamind.ai/api-reference/test-cases/update-test-case\",\"name\":\"Update Test Case\",\"description\":\"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.\",\"dateModified\":\"2026-05-06T15:50:10.787Z\",\"isPartOf\":{\"@id\":\"https://docs.sigmamind.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.sigmamind.ai/api-reference/test-cases/update-test-case#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.sigmamind.ai/api-reference/test-cases/update-test-case#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Test Cases\",\"item\":\"https://docs.sigmamind.ai/api-reference/test-cases/create-test-case\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update Test Case\",\"item\":\"https://docs.sigmamind.ai/api-reference/test-cases/update-test-case\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.sigmamind.ai/api-reference/test-cases/update-test-case#apireference\",\"headline\":\"Update Test Case\",\"name\":\"Update Test Case\",\"description\":\"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.\",\"url\":\"https://docs.sigmamind.ai/api-reference/test-cases/update-test-case\",\"mainEntityOfPage\":{\"@id\":\"https://docs.sigmamind.ai/api-reference/test-cases/update-test-case#webpage\"},\"dateModified\":\"2026-05-06T15:50:10.787Z\",\"publisher\":{\"@id\":\"https://docs.sigmamind.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.sigmamind.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"SigmaMind AI\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"SigmaMind AI\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/test-cases/update-test-case.md","siteName":"SigmaMind AI","nav":{"global":{"anchors":[{"anchor":"Documentation","icon":"book-open-cover","href":"https://docs.sigmamind.ai"},{"anchor":"Discord Community","icon":"discord","href":"https://www.discord.com/invite/jSWGcw5Wyx"}]},"tabs":[{"tab":"Documentation","icon":"book","pages":[{"title":"Documentation","href":"/documentation/getting-started/introduction"}]},{"tab":"API Reference","icon":"code","groups":[{"group":"Calls","pages":[{"openapi":"post /v1/calls","title":"Create Phone Call","href":"/api-reference/calls/create-phone-call"},{"openapi":"get /v1/calls/{callId}","title":"Get Phone Call","href":"/api-reference/calls/get-phone-call"},{"openapi":"get /v1/calls","title":"List Phone Calls","href":"/api-reference/calls/list-phone-calls"},{"openapi":"delete /v1/calls/{callId}","title":"Delete Phone Call","href":"/api-reference/calls/delete-phone-call"}]},{"group":"Chats","pages":[{"openapi":"post /v1/chats","title":"Create Chat","href":"/api-reference/chats/create-a-chat"},{"openapi":"post /v1/chats/response","title":"Chat Completion","href":"/api-reference/chats/chat-completion"},{"openapi":"get /v1/chats/{chatId}","title":"Get Chat","href":"/api-reference/chats/get-chat"},{"openapi":"get /v1/chats","title":"List Chats","href":"/api-reference/chats/list-chats"},{"openapi":"patch /v1/chats/{chatId}","title":"Update Chat","href":"/api-reference/chats/update-chat"},{"openapi":"patch /v1/chats/{chatId}/end-session","title":"End Chat","href":"/api-reference/chats/end-chat"}]},{"group":"Phone Numbers","pages":[{"openapi":"post /v1/phone-numbers","title":"Create Phone Number","href":"/api-reference/phone-numbers/create-phone-number"},{"openapi":"post /v1/phone-numbers/import","title":"Import Phone Number","href":"/api-reference/phone-numbers/import-phone-number"},{"openapi":"get /v1/phone-numbers/{phoneNumber}","title":"Get Phone Number","href":"/api-reference/phone-numbers/get-phone-number"},{"openapi":"get /v1/phone-numbers","title":"List Phone Numbers","href":"/api-reference/phone-numbers/list-phone-numbers"},{"openapi":"patch /v1/phone-numbers/{phoneNumber}","title":"Update Phone Number","href":"/api-reference/phone-numbers/update-phone-number"},{"openapi":"delete /v1/phone-numbers/{phoneNumber}","title":"Delete Phone Number","href":"/api-reference/phone-numbers/delete-phone-number"}]},{"group":"Single Prompt Agents","pages":[{"openapi":"post /v1/agents","title":"Create Agent","href":"/api-reference/single-prompt-agents/create-agent"},{"openapi":"get /v1/agents/{agentId}","title":"Get Agent","href":"/api-reference/single-prompt-agents/get-agent"},{"openapi":"get /v1/agents","title":"List Agents","href":"/api-reference/single-prompt-agents/list-single-prompt-agents"},{"openapi":"patch /v1/agents/{agentId}","title":"Update Agent","href":"/api-reference/single-prompt-agents/update-agent"},{"openapi":"delete /v1/agents/{agentId}","title":"Delete Agent","href":"/api-reference/single-prompt-agents/delete-agent"}]},{"group":"Conversational Agents","pages":[{"openapi":"post /v1/conversational-agents","title":"Create conversational Agent","href":"/api-reference/conversational-agents/create-conversational-agent"},{"openapi":"get /v1/conversational-agents/{agentId}","title":"Get conversational Agent","href":"/api-reference/conversational-agents/get-conversational-agent"},{"openapi":"patch /v1/conversational-agents/{agentId}","title":"Update conversational Agent","href":"/api-reference/conversational-agents/update-conversational-agent"}]},{"group":"Campaigns","pages":[{"openapi":"post /v1/campaigns","title":"Create Campaign","href":"/api-reference/campaigns/create-campaign"},{"openapi":"get /v1/campaigns/{campaignId}","title":"Get Campaign","href":"/api-reference/campaigns/get-campaign"},{"openapi":"get /v1/campaigns","title":"List Campaigns","href":"/api-reference/campaigns/list-campaigns"},{"openapi":"patch /v1/campaigns/{campaignId}","title":"Update Campaign","href":"/api-reference/campaigns/update-campaign"},{"openapi":"delete /v1/campaigns/{campaignId}","title":"Delete Campaign","href":"/api-reference/campaigns/delete-campaign"}]},{"group":"Integrations","pages":[{"openapi":"post /v1/integrations","title":"Create Integration","href":"/api-reference/integrations/create-integration"},{"openapi":"get /v1/integrations/{integrationId}","title":"Get Integration","href":"/api-reference/integrations/get-integration"},{"openapi":"get /v1/integrations","title":"List Integrations","href":"/api-reference/integrations/list-integrations"},{"openapi":"patch /v1/integrations/{integrationId}","title":"Update Integration","href":"/api-reference/integrations/update-integration"},{"openapi":"delete /v1/integrations/{integrationId}","title":"Delete Integration","href":"/api-reference/integrations/delete-integration"}]},{"group":"Integration Auth","pages":[{"openapi":"post /v1/integrations/{integrationId}/auth","title":"Create Integration Auth","href":"/api-reference/integration-auth/create-integration-auth"},{"openapi":"get /v1/integrations/{integrationId}/auth/{authId}","title":"Get Integration Auth","href":"/api-reference/integration-auth/get-integration-auth"},{"openapi":"get /v1/integrations/{integrationId}/auth","title":"List Integration Auth","href":"/api-reference/integration-auth/list-integration-auth"},{"openapi":"patch /v1/integrations/{integrationId}/auth/{authId}","title":"Update Integration Auth","href":"/api-reference/integration-auth/update-integration-auth"},{"openapi":"delete /v1/integrations/{integrationId}/auth/{authId}","title":"Delete Integration Auth","href":"/api-reference/integration-auth/delete-integration-auth"}]},{"group":"Integration Tools","pages":[{"openapi":"post /v1/integrations/{integrationId}/tools","title":"Create Tool","href":"/api-reference/integration-tools/create-tool"},{"openapi":"post /v1/integrations/{integrationId}/tools/{toolId}/execute","title":"Execute Tool","href":"/api-reference/integration-tools/execute-tool"},{"openapi":"get /v1/integrations/{integrationId}/tools/{toolId}","title":"Get Tool","href":"/api-reference/integration-tools/get-tool"},{"openapi":"get /v1/integrations/{integrationId}/tools","title":"List Tools","href":"/api-reference/integration-tools/list-tools"},{"openapi":"patch /v1/integrations/{integrationId}/tools/{toolId}","title":"Update Tool","href":"/api-reference/integration-tools/update-tool"},{"openapi":"delete /v1/integrations/{integrationId}/tools/{toolId}","title":"Delete Tool","href":"/api-reference/integration-tools/delete-tool"}]},{"group":"Mock Tool Data","pages":[{"openapi":"post /v1/mock-tool-data","title":"Create Mock Tool Data","href":"/api-reference/mock-tool-data/create-mock-tool-data"},{"openapi":"get /v1/mock-tool-data/{mockToolDataId}","title":"Get Mock Tool Data","href":"/api-reference/mock-tool-data/get-mock-tool-data"},{"openapi":"get /v1/mock-tool-data","title":"List Mock Tool Data","href":"/api-reference/mock-tool-data/list-mock-tool-data"},{"openapi":"patch /v1/mock-tool-data/{mockToolDataId}","title":"Update Mock Tool Data","href":"/api-reference/mock-tool-data/update-mock-tool-data"},{"openapi":"delete /v1/mock-tool-data/{mockToolDataId}","title":"Delete Mock Tool Data","href":"/api-reference/mock-tool-data/delete-mock-tool-data"}]},{"group":"Test Cases","pages":[{"openapi":"post /v1/test-cases","title":"Create Test Case","href":"/api-reference/test-cases/create-test-case"},{"openapi":"get /v1/test-cases/{testCaseId}","title":"Get Test Case","href":"/api-reference/test-cases/get-test-case"},{"openapi":"get /v1/test-cases","title":"List Test Cases","description":"Returns a paginated list of simulation test cases for the specified agent, sorted by most recently created first. Use page and size to navigate through results.","href":"/api-reference/test-cases/list-test-cases"},{"openapi":"patch /v1/test-cases/{testCaseId}","title":"Update Test Case","href":"/api-reference/test-cases/update-test-case"},{"openapi":"delete /v1/test-cases/{testCaseId}","title":"Delete Test Case","description":"Permanently deletes a simulation test case by testCaseId. Cannot be undone — the test case will no longer be available for future batch runs. Returns 204 No Content on success.","href":"/api-reference/test-cases/delete-test-case"}]},{"group":"Batch","pages":[{"openapi":"post /v1/batch-runs","title":"Create Batch Run","href":"/api-reference/batch/create-batch-run"},{"openapi":"get /v1/batch-runs/{batchId}","title":"Get Batch Run","href":"/api-reference/batch/get-batch-run"},{"openapi":"get /v1/batch-runs","title":"List Batch Runs","href":"/api-reference/batch/list-batch-runs"}]},{"group":"Test Runs","pages":[{"openapi":"get /v1/test-runs/{jobId}","title":"Get Test Run","href":"/api-reference/test-runs/get-test-run"},{"openapi":"get /v1/test-runs","title":"List Test Runs","href":"/api-reference/test-runs/list-test-runs"}]},{"group":"Webhooks","pages":[{"openapi":"post /v1/webhooks","title":"Create Webhook","href":"/api-reference/webhooks/create-webhook"},{"openapi":"get /v1/webhooks/{webhookId}","title":"Get Webhook","href":"/api-reference/webhooks/get-webhook"},{"openapi":"get /v1/webhooks","title":"List Webhooks","href":"/api-reference/webhooks/list-webhooks"},{"openapi":"delete /v1/webhooks/{webhookId}","title":"Delete Webhook","href":"/api-reference/webhooks/delete-webhook"}]},{"group":"QA Rules","pages":[{"openapi":"post /v1/qa-rules","title":"Create QA Rule","href":"/api-reference/qa-rules/create-qa-rule"},{"openapi":"get /v1/qa-rules/{qaRuleId}","title":"Get QA Rule","href":"/api-reference/qa-rules/get-qa-rule"},{"openapi":"get /v1/qa-rules","title":"List QA Rules","href":"/api-reference/qa-rules/list-qa-rules"},{"openapi":"patch /v1/qa-rules/{qaRuleId}","title":"Update QA Rule","href":"/api-reference/qa-rules/update-qa-rule"},{"openapi":"delete /v1/qa-rules/{qaRuleId}","title":"Delete QA Rule","href":"/api-reference/qa-rules/delete-qa-rule"}]},{"group":"QA Issues","pages":[{"openapi":"get /v1/qa-issues/{qaIssueId}","title":"Get QA Issue","href":"/api-reference/qa-issues/get-qa-issue"},{"openapi":"get /v1/qa-issues","title":"List QA Issues","href":"/api-reference/qa-issues/list-qa-issues"}]},{"group":"Knowledge bases","pages":[{"openapi":"post /v1/knowledge-bases","title":"Create knowledge base","href":"/api-reference/knowledge-bases/create-knowledge-base"},{"openapi":"get /v1/knowledge-bases/{kbId}","title":"Get knowledge base","href":"/api-reference/knowledge-bases/get-knowledge-base-by-kbid"},{"openapi":"get /v1/knowledge-bases","title":"List knowledge bases","href":"/api-reference/knowledge-bases/list-knowledge-bases"},{"openapi":"patch /v1/knowledge-bases/{kbId}","title":"Update knowledge base","href":"/api-reference/knowledge-bases/update-knowledge-base"},{"openapi":"delete /v1/knowledge-bases/{kbId}","title":"Delete knowledge base","href":"/api-reference/knowledge-bases/delete-knowledge-base"},{"openapi":"delete /v1/knowledge-bases/{kbId}/documents/{documentId}","title":"Delete document","href":"/api-reference/knowledge-bases/delete-one-document-from-a-knowledge-base"}]}]},{"tab":"MCP","icon":"code-branch","pages":[{"title":"MCP","href":"/mcp/server"}]},{"tab":"Tutorials","icon":"video","hidden":true,"pages":[{"title":"Tutorials","href":"/tutorials/agents/overview"}]}]},"basePath":"","title":"Update Test Case - SigmaMind AI","deploymentId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","buildId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BMn8tSe3.js","snippetPresets-Dl5ZrD9W.js","utils-CddEzDcs.js","style-to-object-BY3JEAdk.js","utils-Dym31Pnf.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-ZiqR8hPK.js","conditional-requirements-CFM0id0Q.js","cloneDeep-D3fPbylz.js","_Uint8Array-BcNtDki0.js","isObject-FP1Yky1u.js","ApiExamples-4Sf3CFhl.js","usePlaygroundInputsStore-Ck91l6q0.js","shallow-DapBSR9G.js","isEqual-Clu_sGzx.js","CodeSnippets-DAVHdSX2.js","CodeSnippet-Be6AcO_D.js","use-playground-group-access-CteWws2O.js","Page-_aL_PM_2.js","api-description-markdown-BPoPkVJQ.js","DynamicMarkdown-QJ7LkRm3.js","SectionHeading-DyxPTJti.js","MethodPill-CGjK-dNY.js","getPastedJson-C4YIGTOJ.js","Check2Icon-B7COpIZE.js","axios-CsQoIw0U.js","Markdown-Bquzb4Gw.js","AssistantPageLink-wSgGy_i5.js","dist-Bg48sGSz.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}