Count responses by status and choice
get_response_facetsOver every response of the form, unfiltered: how many there are, how many completed and partial, and for each choice question how many picked each option. The values here are what the answers filter of export_responses_csv, get_form_summary and search_answers takes.
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": {
"form_id": "<form_id>"
},
"name": "get_response_facets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| form_id | Yes | The form id, from list_forms or get_form. | |
| workspace_id | No | The workspace this call acts in: an id from list_my_workspaces. Required for a person signed in with several workspaces and for staff of this deployment; optional with an API key or with only one workspace. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | ||
| choices | Yes | Per choice question key: every option in the form order, then any stored value no option carries any more. | |
| form_id | Yes | ||
| partial | Yes | ||
| completed | Yes | ||
| workspace | Yes | The workspace this call acted in, to compare with the one the user means. |