Skip to content

OneShotInteractionUpdateRequest

A new version of a one-shot interaction.

Kind: an object, used in requests.

FieldTypeRequiredDescription
agentInteractionAgentBindingInputyesThe agent that takes the task. Constraints: required (empty or whitespace-only strings are rejected).
namestringyesThe interaction’s name, unique within its namespace. Constraints: maxLength: 150, required (empty or whitespace-only strings are rejected).
promptstringyesWhat the agents are asked to do. A run’s inputs are filled in wherever it says %%name%%. Constraints: minLength: 3, required (empty or whitespace-only strings are rejected).
solutionSchemastring | nullThe JSON Schema the answer must match, as JSON text: the run’s output is then JSON of that shape. Null: the output is free text.
systemPromptModeInteractionSystemPromptModeyesHow systemPrompts combine with the instructions Maitento gives every agent. Constraints: required (empty or whitespace-only strings are rejected).
systemPromptsstring[]yesExtra system instructions for every agent in the interaction. Constraints: required (empty or whitespace-only strings are rejected).
durationWarningToAitimespan | nullHow long into a run the agents are told that time is running short. Null: they are not told.
durationAutoTerminationtimespan | nullThe longest a run may take. The run stops with an error when it is reached; time spent waiting for a person does not count. Null: no limit.
contextSettingsInteractionContextSettingsInput| nullHow the conversation is kept within the model’s context window, and how many rounds of tool calls an agent may make in one turn. Null: the defaults.
swarmInteractionSwarmSettingsInput| nullThe sub-interactions its participants may start. Null: none.
credentialStackstring | nullThe credential stack its runs use, by id or name, when their start doesn’t name one. Null: the namespace’s default stack, then your tenant’s. A stack that doesn’t exist when a run starts refuses the run.
externalOperationsOpenApiOpenApiExternalOperationBindingInput[]yesTools from OpenAPI connectors that every agent in the interaction can call, as well as its own tools. Constraints: required (empty or whitespace-only strings are rejected).
externalOperationsMcpMcpExternalOperationBindingInput[]yesTools from MCP connectors that every agent in the interaction can call, as well as its own tools. Constraints: required (empty or whitespace-only strings are rejected).
inputsConnectorAuthenticationSecretConnectorAuthenticationSecretInputInput[]yesRun inputs that choose the secret a tool sends with its calls. Constraints: required (empty or whitespace-only strings are rejected).
inputsConnectorBindingConnectorBindingInputInput[]yesRun inputs whose values go straight into a tool’s calls, so the model never sees or chooses them. Constraints: required (empty or whitespace-only strings are rejected).
inputsPromptPromptInputInput[]yesThe inputs a run is started with, which the prompt uses as %%name%%. Constraints: required (empty or whitespace-only strings are rejected).
loomLoomConfigurationInput| nullLong-term memory for the interaction’s agents. Null: no memory.
{
"agent": {
"name": "...",
"agent": {
"id": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"version": 0
},
"externalOperationsMcp": [
{}
],
"externalOperationsOpenApi": [
{}
],
"loomId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"webAccess": {
"search": false,
"fetch": false
}
},
"name": "...",
"prompt": "...",
"solutionSchema": "...",
"systemPromptMode": "AppendToDefault",
"systemPrompts": [
"..."
],
"durationWarningToAi": "00:05:00",
"durationAutoTermination": "00:05:00",
"contextSettings": {
"mode": "None",
"targetUtilization": 0,
"toolResultTrimmingMode": "Never",
"toolResultTrimmingMaxCycles": 0,
"toolResultTrimmingStyle": "Placeholder",
"toolResultTrimmingReplacement": "...",
"compactionType": "SameAgent",
"lowWaterUtilization": 0,
"compactAtUtilization": 0,
"compactKeepRecentTokens": 0,
"compactTargetTokens": 0,
"maxToolCallLoops": 0,
"responseMaxTokens": 0,
"compactMaxTokens": 0
},
"swarm": {
"interactions": [
"3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f"
],
"participants": [
"..."
],
"maxDepth": 0,
"maxConcurrent": 0,
"maxTotal": 0
},
"credentialStack": "...",
"externalOperationsOpenApi": [
{
"pathBindings": [],
"queryBindings": [],
"name": "...",
"externalOperationId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"externalOperationVersion": 0,
"requestBindings": [],
"authenticationHeader": {},
"promptGuidance": "...",
"isTerminal": false
}
],
"externalOperationsMcp": [
{
"name": "...",
"externalOperationId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"externalOperationVersion": 0,
"requestBindings": [],
"authenticationHeader": {},
"promptGuidance": "...",
"isTerminal": false
}
],
"inputsConnectorAuthenticationSecret": [
{
"externalOperationId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"agentId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"defaultSecretId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"headerName": "...",
"name": "...",
"description": "...",
"isRequired": false
}
],
"inputsConnectorBinding": [
{
"externalOperationId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"agentId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"target": "...",
"defaultValue": "...",
"type": "Request",
"name": "...",
"description": "...",
"isRequired": false
}
],
"inputsPrompt": [
{
"dataType": "String",
"name": "...",
"description": "...",
"isRequired": false
}
],
"loom": {
"enabled": false,
"scope": "Process",
"scopeInput": "...",
"shared": false,
"recall": "Off",
"weave": "Manual",
"tapestryTokens": 0,
"subjectInputs": [
"..."
],
"nightWeaving": false,
"quietMinutes": 0,
"weaverModel": "...",
"vetModel": "...",
"vetRecall": false,
"seedFromLoomId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"readFromLoomIds": [
"3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f"
]
}
}