Skip to content

OneShotInteraction

A one-shot interaction: one agent takes the task and gives its answer.

Kind: an object, used in responses.

Every field is present in a response; empty ones are null.

FieldTypeDescription
versionsOneShotInteractionVersion[]Every version of the interaction. New runs use the highest-numbered version that is not disabled.
namestringThe interaction’s name, unique within its namespace.
userCreatedByIduuidThe id of the user who created it. A call made with an API key is recorded as the key’s user.
namespaceIduuidThe id of the namespace it belongs to.
tenantIduuidThe id of the tenant it belongs to.
iduuidThe unique id. Use it in by-id routes and wherever another object refers to this one.
dateCreateddatetimeWhen it was created, in UTC.
dateUpdateddatetimeWhen it was last changed, in UTC.
{
"versions": [
{
"agent": {},
"externalOperationsMcp": [],
"externalOperationsOpenApi": [],
"inputsConnectorAuthenticationSecret": [],
"inputsConnectorBinding": [],
"inputsPrompt": [],
"prompt": "...",
"solutionSchema": "...",
"systemPromptMode": "AppendToDefault",
"systemPrompts": [],
"durationWarningToAi": "00:05:00",
"durationAutoTermination": "00:05:00",
"contextSettings": {},
"loom": {},
"swarm": {},
"credentialStack": "...",
"version": 0,
"date": "2026-10-26T12:00:00.0000000Z",
"isDisabled": false
}
],
"name": "...",
"userCreatedById": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"namespaceId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"tenantId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"id": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"dateCreated": "2026-10-26T12:00:00.0000000Z",
"dateUpdated": "2026-10-26T12:00:00.0000000Z"
}