View a markdown version of this page

Quotas and limits for retrieval - AWS Context

Quotas and limits for retrieval

Operation Limits

SearchAgentContext

query up to 35,000 characters. maxResults 1 to 50. Up to 5 pages for SEMANTIC and AUTO. 30-second time limit.

TraverseAgentContext

maxDepth 1 to 3. maxResults 1 to 1,000. Up to 500 edge types. 10-second time limit.

AgenticRetrieve, AgenticRetrieveStream

Up to 100 messages of 35,000 characters each. maxIterations 2 to 50 (default 30). Up to 1,000 retrieved entities. Buffered: 100-second budget. Stream: closed after 300 seconds.

ExecuteSql

One statement up to 35,000 characters over 1 to 10 tables. 50,000 rows and 5 MiB. 30-second budget. 2 concurrent queries per account.

MCP requests

Request body up to 1 MiB, including conversation history.

When a request exceeds a rate quota, AWS Context returns ThrottlingException (HTTP 429); retry with exponential backoff. AgenticRetrieve and AgenticRetrieveStream share one rate quota per account. AWS Context quotas aren’t listed in Service Quotas yet; contact AWS Support for a limit increase.