Skip to content

InvokeAgentResponse

Source code in docs_src/capo_bedrock_agent_runtime/types/invoke_agent_response.py
class InvokeAgentResponse(TypedDict, closed=True):
    completion: "capo_bedrock_agent_runtime.types.response_stream.ResponseStream"
    """<p>The agent's response to the user prompt.</p>"""
    content_type: "capo_bedrock_agent_runtime.types.mime_type.MimeType"
    """<p>The MIME type of the input data in the request. The default value is <code>application/json</code>.</p>"""
    session_id: "capo_bedrock_agent_runtime.types.session_id.SessionId"
    """<p>The unique identifier of the session with the agent.</p>"""
    memory_id: NotRequired["capo_bedrock_agent_runtime.types.memory_id.MemoryId"]
    """<p>The unique identifier of the agent memory.</p>"""

completion instance-attribute

completion: ResponseStream

The agent's response to the user prompt.

content_type instance-attribute

content_type: MimeType

The MIME type of the input data in the request. The default value is application/json.

memory_id instance-attribute

memory_id: NotRequired[MemoryId]

The unique identifier of the agent memory.

session_id instance-attribute

session_id: SessionId

The unique identifier of the session with the agent.