Create a custom operator
Creates a custom operator owned by your account, at version 1. The name must be unique within your account and must not collide with a platform operator's name — either conflict returns 409.
Required scope: intelligence:write
Body for creating a custom operator.
- Type: string · Descriptiondescriptionrequired
Human-readable statement of what this operator assesses.
- Type: string · Model Tierenummodel
_tier requiredfastfor high-frequency, latency-sensitive analysis;standardfor quality over speed.values- fast
- standard
- Type: string · Namenamerequired
Operator name (kebab-case), unique within your account and not colliding with a platform operator's name.
- Type: string · Output Typeenumoutput
_type requiredThe shape of the result this operator emits — see the output type vocabulary.
values- classification
- boolean
- score
- multi
_tag - extraction
- text
- Type: string · Promptpromptrequired
Natural-language instructions for the model, describing what to look for and how to reason.
- Type: boolean · Include Reasoninginclude
_reasoning When true, the model is asked to justify its result and
reasoningis populated on events. - Type: object · Output Configoutput
_config Type-specific configuration: e.g.
{values: [...]}for classification,{min, max}for score,{tags: [...]}for multi_tag,{description}for extraction. Empty for boolean/text. - Type: array object[] · Parametersparameters
Parameters the prompt references, whose values are supplied where the operator is configured.
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 \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"name": "",
"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"
}