Continue Agent Call

Continue an incomplete Agent call.

This endpoint allows continuing an existing incomplete Agent call, by passing the tool call requested by the Agent. The Agent will resume processing from where it left off.

The messages in the request will be appended to the original messages in the Log. You do not have to provide the previous conversation history.

The original log must be in an incomplete state to be continued.

Headers

X-API-KEYstringRequired

Request

This endpoint expects an object.
log_idstringRequired

This identifies the Agent Log to continue.

messageslist of objectsRequired

The additional messages with which to continue the Agent Log. Often, these should start with the Tool messages with results for the previous Assistant message’s tool calls.

streamtrueRequired

If true, packets will be sent as data-only server-sent events.

provider_api_keysobjectOptional

API keys required by each provider to make API calls. The API keys provided here are not stored by Humanloop. If not specified here, Humanloop will fall back to the key saved to your organization.

include_trace_childrenbooleanOptionalDefaults to false

If true, populate trace_children for the returned Agent Log. Defaults to false.

Response

log_idstring
messagestring
typeenum

An enumeration.

created_atdatetime
payloadobjectOptional

Errors