Getting started Community Training Tutorials Documentation APIs, AI & Tools
Consumer URL
A2A Agent Card
You're viewing an older version of the documentation. You can switch to the latest version or use the version selector in the left navigation.
Policy Name |
A2A Agent Card |
Summary |
Rewrites the Agent Card URL to match the public URL of the gateway |
Category |
A2A |
First Flex Gateway version available |
v1.9.3 |
Returned Status Codes |
| This policy supports Agent2Agent Protocol (A2A) version v0.3.0. To learn more about A2A versions, see A2A Releases. |
The A2A Agent Card Policy rewrites the URL in the A2A Agent Card responses so that the exposed URL points to the public endpoint of the Flex Gateway A2A server instance rather than directly to backend services. This ensures that all client requests are routed through Flex Gateway, enabling it to enforce security and access controls, while preventing direct access to backend resources.
When you apply the policy to your API instance from the UI, the following parameters are displayed:
| Element | Description |
|---|---|
Consumer URL |
The consumer URL of the agent’s A2A service where JSON-RPC requests are sent. |
Card Path |
The path where the agent presents the card. |