Getting started Community Training Tutorials Documentation APIs, AI & Tools
A2A Schema Validation Policy
Policy Name |
A2A Schema Validation |
Summary |
Validates Agent requests to ensure they conform to the A2A specification |
Category |
A2A |
First Omni Gateway version available |
v1.9.3 |
Release Notes |
|
Returned Status Codes |
| This policy supports Agent2Agent Protocol (A2A) version v0.3.0. To learn more about A2A versions, see A2A Releases. |
Summary
The A2A Schema Validation policy validates that every request to the A2A server complies with the A2A schema. If validation fails it will report a Policy Violation.
There are no configuration parameters for this policy.
Payload Handling
The A2A Schema Validation policy buffers the full body of JSON POST requests to validate them against the A2A schema.
The policy buffers a response only when it rejects the request. In that case, the policy buffers the response so that it can replace an error body that isn’t in JSON-RPC format. Otherwise, responses pass through unchanged.
Buffered payloads count toward the Omni Gateway payload limit, which is 1 MB by default. To change the limit on a self-managed Omni Gateway, set the FLEX_DOWNSTREAM_CONNECTION_BUFFER_LIMIT_BYTES environment variable. In Connected Mode, you can also set Global connection buffer limit in Runtime Manager. For more information, see Configure Global and Routing Settings in Runtime Manager. For more information about the limit, see Omni Gateway Limits and Performance Metrics.



