Get Survey Test Config
getSurveyTestConfigGet one saved survey respondent by id (from listSurveyTestConfigs or a survey result's configId), in full: the fields listSurveyTestConfigs returns plus mission (who the respondent is and how they feel) and acceptance (what counts as a pass). Use when: you want to explain what a survey test checks. Name its persona with getProfile. Read-only. Needs testing:read. Returns 404 if the config is not in your workspace.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "getSurveyTestConfig"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Survey test config identifier. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| tags | No | ||
| sector | Yes | What the survey is about — customer satisfaction, meter read. You name it, not us. | |
| mission | Yes | Free text — what this person is doing and how they feel about it. | |
| voiceId | No | Voice surveys only; ignored on an SMS conversation. | |
| scenario | Yes | How the respondent behaves once the survey is under way. A closed set, deliberately. Each value maps to wording nopaque maintains, so the behaviour can be improved without you rewriting saved configs, and a scenario cannot be saved that has no behaviour behind it. Clients design for the happy path; the other four are where survey testing earns its keep. Answers are never scripted. A survey explains its own scale as it goes ("press 1 to 5, where 1 is least happy") and a real respondent does not know that until they are contacted — so the config says who the person is, and the respondent maps that onto whatever the survey presents. | |
| createdAt | Yes | ||
| profileId | No | A workspace-scoped Profile, used as the persona. | |
| updatedAt | Yes | ||
| acceptance | Yes | Free text — what counts as a pass. | |
| description | No | ||
| workspaceId | Yes | ||
| expectedTurns | No | How many questions this survey asks. **The only limit that is actually enforced.** After this many answers the conversation is disabled at the carrier, so the "thanks for your feedback" that ends most surveys reaches a respondent that cannot reply. Set it here rather than per test — a survey asks the same number of questions every time. A single run may override it. Optional. Without it nothing is enforced, because guessing would cut a survey short. |