Start a paid analysis run
open_end_start_runStarts an AI analysis job that finds the themes in the responses. type='hierarchy' builds the L1-L3 category hierarchy and CHARGES CREDITS (1 per valid response, once per project); type='categorization' assigns every response to the hierarchy (no extra charge). Call only after the user agreed to the price and model from open_end_estimate_analysis; pass that model as expected_model and the agreed price as max_credits. Returns a run id immediately; poll it with open_end_get_run. Do not start a second run while one is active. Requires OAuth or an API key with analysis:run.
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": {
"project_id": "<project_id>",
"type": "<type>",
"expected_model": "<expected_model>"
},
"name": "open_end_start_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| project_id | Yes | ||
| max_credits | No | Upper price limit the user agreed to. | |
| hierarchy_id | No | For categorization; defaults to the newest hierarchy. | |
| expected_model | Yes | The model from open_end_estimate_analysis. | |
| idempotency_key | No | Optional retry key (e.g. a UUID). Repeating the call with the same key and arguments returns the original result instead of writing again. Without it, identical calls within about 10 minutes are deduplicated. | |
| confidence_threshold | No |