Skip to content

BedrockAgentCoreClient.list_agent_insights

rboto-bedrock-agentcore==0.4.0 · Service index · Types

Model summary (excerpt): Lists Amazon Bedrock AgentCore Agent Insight summaries in your account and Region. Use this operation to review patterns across sessions before you investigate or archive an insight. The response paginates the results. Use the nextToken parameter to retrieve additional results.

Install and imports

python -m pip install "rboto[bedrock-agentcore]==0.4.0"
from rboto import BedrockAgentCoreClient
from rboto_bedrock_agentcore.types import (
    AgentInsightArchiveStatus,
    ListAgentInsightsOutput,
)

Signature

async def list_agent_insights(
    *,
    application_name: str | None = None,
    batch_evaluation_id: str | None = None,
    archive_status: AgentInsightArchiveStatus | None = None,
    max_results: int | None = None,
    next_token: str | None = None,
) -> ListAgentInsightsOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
application_name No Filters the results to Agent Insights for an application.
batch_evaluation_id No Filters the results to Agent Insights produced by a batch evaluation.
archive_status No Filters the results by archive status.
max_results No The maximum number of Agent Insight summaries to return in one response. If you don't specify a value, the operation returns up to 50 summaries.
next_token No A token to specify where to start paginating the results. This token is returned in a previous response.

Output

ListAgentInsightsOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
agent_insights list[AgentInsightSummaryOutput] Always present AgentInsightSummaryOutput
next_token str | None Always present —

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

AgentInsightArchiveStatus, ListAgentInsightsOutput

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

client.paginators.list_agent_insights(...) accepts the same arguments and returns AsyncIterator[ListAgentInsightsOutput]. Direct calls return one page. Pages preserve the Output representation above.

Input cursors: next_token. Page-size argument: max_results.

No output stream.

Errors

Import from rboto_bedrock_agentcore.exceptions:

AccessDeniedError, InternalServerError, ThrottlingError, ValidationError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model