Update a custom operator
Saves a new version of a custom operator; the previous version is retained and the new one becomes current. Configurations referencing this operator stay pinned to the version they used until upgraded with the configuration's upgrade-operators endpoint. The name is taken from the path and cannot be changed. Platform operators are read-only (403).
Required scope: intelligence:write
- Type: string · Namenamerequired
The operator's name (kebab-case).
Update body — name is taken from the path and may not change. Saving creates a new version.
- Type: string · Descriptiondescriptionrequired
Human-readable statement of what this operator assesses.
- Type: string · Model Tierenummodel
_tier requiredfastorstandard.values- fast
- standard
- Type: string · Output Typeenumoutput
_type requiredThe shape of the result this operator emits.
values- classification
- boolean
- score
- multi
_tag - extraction
- text
- Type: string · Promptpromptrequired
Natural-language instructions for the model.
- Type: boolean · Include Reasoninginclude
_reasoning When true, the model is asked to justify its result.
- Type: object · Output Configoutput
_config Type-specific output configuration.
- Type: array object[] · Parametersparameters
Parameters the prompt references.
A value an operator's prompt references, supplied per configuration rather than baked into the prompt.
- application/json
- application/json
- application/json
- application/json
curl 'https://api.simwood.com/intelligence/v1/operators/{name}' \
--request PUT \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"description": "",
"prompt": "",
"output_type": "classification",
"output_config": {
"additionalProperty": "anything"
},
"model_tier": "fast",
"include_reasoning": false,
"parameters": [
{
"name": "",
"type": "kb_document",
"description": ""
}
]
}'
{
"name": "string",
"description": "string",
"prompt": "string",
"output_type": "classification",
"output_config": {
"additionalProperty": "anything"
},
"model_tier": "fast",
"include_reasoning": true,
"parameters": [
{
"name": "string",
"type": "kb_document",
"description": "string"
}
],
"account": "string",
"version": 1,
"is_current": true,
"created_at": "string",
"updated_at": "string"
}