Continue the exchange with a running agent instance
Swagger UIyaml/agent-api/ agent-runtime/ agent-instances/ {agentInstanceId}/ exchangesPath parameters
Request body application/json · AgentInstanceExchangeRequest
operationKeystringThe operation key to execute from the agent
payloadEngineRestVariable[]Payload variables passed to the agent when starting a new instance
Responses
Indicates the request was successful. · AgentInstanceResponse
idstringrequiredThe unique identifier of an agent instance
agentDefinitionIdstringrequiredThe id of the agent definition that was used to start the agent instance.
agentDefinitionKeystringrequiredThe key of the agent definition that was used to start the agent instance.
agentDefinitionNamestringrequiredThe name of the agent definition that was used to start the agent instance.
startTimeinteger (int64)requiredThe time the instance was started.
referenceIdstringThe id of the CMMN or BPMN model backing the agent instance behavior.
referenceTypestringThe type of the model that backs the agent instance behavior (e.g. CMMN or BPMN).
callbackIdstringThe id of the CMMN or BPMN instance that should be called back when the agent is done.
callbackTypestringThe type of the callback (e.g. CMMN or BPMN).
callbackScopeIdstringThe callback scope id for this agent instance.
startUserIdstringThe user that started the agent instance.
tenantIdstringThe tenant id of the instance
jsonInvocationResultJsonNodedurationMsinteger (int64)Wall-clock duration of the invocation in milliseconds.
promptTokenCountinteger (int64)Aggregated prompt tokens used by the invocation.
outputTokenCountinteger (int64)Aggregated output tokens produced by the invocation.
executionTraceAgentInstanceTimelineResponseComplete timeline view of an agent instance with all its invocations, exchanges and parts
requiredGrey names have no description in the spec